Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Plotters.Examples.Scatter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.Scatter,fileNamePrefix="Buildings_10_Buildings_Utilities_Plotters_Examples_Scatter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.Scatter,fileNamePrefix="Buildings_10_Buildings_Utilities_Plotters_Examples_Scatter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001026/0.001029, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009708/0.0009708, allocations: 192.7 kB / 16.25 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.421/1.421, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.588/2.588, allocations: 437 MB / 0.7101 GB, free: 5.246 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00146/0.00146, allocations: 63.91 kB / 0.8688 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7695/0.7709, allocations: 151.6 MB / 1.017 GB, free: 2.688 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.003438/0.7744, allocations: 1.934 MB / 1.019 GB, free: 0.7383 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001217/0.7757, allocations: 0.6357 MB / 1.019 GB, free: 104 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001362/0.7758, allocations: 0 / 1.019 GB, free: 104 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0002215/0.7761, allocations: 23.84 kB / 1.019 GB, free: 80 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0004152/0.7765, allocations: 99.66 kB / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003777/0.7769, allocations: 139.8 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002857/0.7772, allocations: 231.4 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001504/0.7774, allocations: 33.56 kB / 1.02 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001621/0.7775, allocations: 107.7 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009312/0.7868, allocations: 0.79 MB / 1.021 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 5.53e-05/0.7869, allocations: 16 kB / 1.021 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001061/0.787, allocations: 43.98 kB / 1.021 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 6.552e-05/0.7871, allocations: 39.83 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001051/0.7872, allocations: 91.5 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002758/0.7875, allocations: 203.3 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.7875, allocations: 0 / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.292e-06/0.7875, allocations: 0 / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.599e-05/0.7875, allocations: 4 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0007509/0.7883, allocations: 0.545 MB / 1.022 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.7883, allocations: 8.031 kB / 1.022 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.302e-05/0.7884, allocations: 42.73 kB / 1.022 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.239e-05/0.7885, allocations: 20.75 kB / 1.022 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002586/0.7887, allocations: 236.4 kB / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.54e-05/0.7887, allocations: 12 kB / 1.022 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.29e-05/0.7888, allocations: 23.98 kB / 1.022 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001849/0.789, allocations: 92.84 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.789, allocations: 0 / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.372e-05/0.789, allocations: 4 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.696e-06/0.789, allocations: 7.938 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001086/0.7891, allocations: 55.91 kB / 1.022 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007832/0.7899, allocations: 472.3 kB / 1.023 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001416/0.7901, allocations: 78.48 kB / 1.023 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.202e-05/0.7901, allocations: 36.83 kB / 1.023 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.067e-05/0.7902, allocations: 4 kB / 1.023 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000149/0.7903, allocations: 87.38 kB / 1.023 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=14): time 1.532e-06/0.7903, allocations: 4 kB / 1.023 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of matching and sorting (n=14): time 0.0002992/0.7906, allocations: 153.5 kB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.7e-05/0.7907, allocations: 55.41 kB / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001669/0.7909, allocations: 195.4 kB / 1.023 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.425e-05/0.7909, allocations: 33.7 kB / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.147e-05/0.791, allocations: 120.5 kB / 1.023 GB, free: 12 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.006e-05/0.791, allocations: 39.77 kB / 1.023 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.619e-05/0.7911, allocations: 53.67 kB / 1.023 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.198e-05/0.7912, allocations: 330.8 kB / 1.024 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.869e-05/0.7913, allocations: 27.98 kB / 1.024 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002195/0.7915, allocations: 130.1 kB / 1.024 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001293/0.7916, allocations: 110 kB / 1.024 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.7916, allocations: 0 / 1.024 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002319/0.7919, allocations: 153.3 kB / 1.024 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.7919, allocations: 6.344 kB / 1.024 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/0.7919, allocations: 7.938 kB / 1.024 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.11e-05/0.7919, allocations: 0 / 1.024 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.405e-05/0.792, allocations: 27.92 kB / 1.024 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.7921, allocations: 3.938 kB / 1.024 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001773/0.7922, allocations: 19.92 kB / 1.024 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.321e-05/0.7923, allocations: 8 kB / 1.024 GB, free: 11.04 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 15 (sca1.sampleTrigger,sca1.tActivateLast,$PRE.sca1.tActivateLast,sca1.active,sca.sampleTrigger,sca.tActivateLast,$PRE.sca.tActivateLast,sca.active,plotConfiguration.tActivateLast,$PRE.plotConfiguration.tActivateLast,plotConfiguration.active,$whenCondition1,$whenCondition2,$whenCondition3,plotConfiguration.activate_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001119/0.7924, allocations: 130.5 kB / 1.024 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.962e-05/0.7924, allocations: 19.72 kB / 1.024 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002052/0.7926, allocations: 131 kB / 1.025 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.7926, allocations: 4 kB / 1.025 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.7926, allocations: 4 kB / 1.025 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.7926, allocations: 0 / 1.025 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004922/0.7931, allocations: 466.2 kB / 1.025 GB, free: 10.24 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.7932, allocations: 0 / 1.025 GB, free: 10.24 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.717e-05/0.7932, allocations: 8 kB / 1.025 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.7932, allocations: 3.984 kB / 1.025 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.177e-05/0.7932, allocations: 4 kB / 1.025 GB, free: 10.22 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.7932, allocations: 0 / 1.025 GB, free: 10.22 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.7932, allocations: 0 / 1.025 GB, free: 10.22 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001939/0.7934, allocations: 219.2 kB / 1.025 GB, free: 9.992 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.819e-05/0.7935, allocations: 108.9 kB / 1.025 GB, free: 9.867 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.302e-05/0.7935, allocations: 0 / 1.025 GB, free: 9.867 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.825e-05/0.7937, allocations: 11.94 kB / 1.025 GB, free: 9.855 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.334e-05/0.7937, allocations: 15.97 kB / 1.025 GB, free: 9.84 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.925e-05/0.7937, allocations: 8 kB / 1.025 GB, free: 9.832 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001038/0.7938, allocations: 135.2 kB / 1.025 GB, free: 9.699 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7939, allocations: 0 / 1.025 GB, free: 9.699 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002867/0.7941, allocations: 39.94 kB / 1.025 GB, free: 9.66 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 (sca1.sampleTrigger,sca.sampleTrigger,plotConfiguration.active,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,sca.active,sca.tActivateLast,sca1.active,sca1.tActivateLast) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006089/0.7948, allocations: 0.8314 MB / 1.026 GB, free: 8.824 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002053/0.795, allocations: 95.84 kB / 1.026 GB, free: 8.73 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.654e-06/0.795, allocations: 0 / 1.026 GB, free: 8.73 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 7.273e-05/0.7951, allocations: 46.11 kB / 1.026 GB, free: 8.688 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003683/0.7954, allocations: 50.14 kB / 1.026 GB, free: 8.641 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001783/0.7972, allocations: 1.887 MB / 1.028 GB, free: 6.645 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002282/0.7975, allocations: 0.7201 MB / 1.029 GB, free: 5.898 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 8.372e-05/0.7976, allocations: 25.53 kB / 1.029 GB, free: 5.871 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.197e-05/0.7977, allocations: 59.41 kB / 1.029 GB, free: 5.812 MB / 0.7794 GB Notification: Performance of SimCode: time 3.6e-07/0.7977, allocations: 0 / 1.029 GB, free: 5.812 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.272/3.07, allocations: 4.868 MB / 1.034 GB, free: 1.082 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000221/3.07, allocations: 246.7 kB / 1.034 GB, free: 0.8242 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.534/5.604, allocations: 4 kB / 1.034 GB, free: 0.8203 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Utilities.Plotters.Examples.Scatter.pipe ; mkfifo Buildings_10_Buildings.Utilities.Plotters.Examples.Scatter.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Plotters.Examples.Scatter.pipe >> ../files/Buildings_10_Buildings.Utilities.Plotters.Examples.Scatter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Plotters.Examples.Scatter_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Plotters_Examples_Scatter_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Plotters_Examples_Scatter.fmu > Buildings_10_Buildings.Utilities.Plotters.Examples.Scatter.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Plotters.Examples.Scatter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Plotters_Examples_Scatter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Plotters.Examples.Scatter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches