Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Utilities_Plotters_Examples_Scatter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.Scatter,fileNamePrefix="Buildings_9_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.009409/0.009409, allocations: 100.3 kB / 15.73 MB, free: 5.996 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.001863/0.001863, allocations: 193.1 kB / 16.67 MB, free: 5.918 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.405/1.405, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.187/2.187, allocations: 390.3 MB / 0.6648 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001354/0.001355, allocations: 67.88 kB / 0.9504 GB, free: 8.188 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8339/0.8353, allocations: 140.4 MB / 1.087 GB, free: 5.27 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.00345/0.8388, allocations: 1.78 MB / 1.089 GB, free: 4.035 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001214/0.84, allocations: 0.6001 MB / 1.09 GB, free: 3.641 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.184e-05/0.8401, allocations: 1.094 kB / 1.09 GB, free: 3.641 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002052/0.8403, allocations: 31.09 kB / 1.09 GB, free: 3.617 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003765/0.8407, allocations: 117.4 kB / 1.09 GB, free: 3.555 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003849/0.8411, allocations: 147.6 kB / 1.09 GB, free: 3.484 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000342/0.8414, allocations: 235.4 kB / 1.09 GB, free: 3.383 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001363/0.8416, allocations: 37.72 kB / 1.09 GB, free: 3.363 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001302/0.8417, allocations: 109.7 kB / 1.09 GB, free: 3.32 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004554/0.8463, allocations: 0.7984 MB / 1.091 GB, free: 3.09 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.875e-05/0.8463, allocations: 16.31 kB / 1.091 GB, free: 3.09 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000114/0.8465, allocations: 36.83 kB / 1.091 GB, free: 3.082 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 6.832e-05/0.8465, allocations: 41.03 kB / 1.091 GB, free: 3.059 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001067/0.8467, allocations: 93.75 kB / 1.091 GB, free: 3 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003469/0.847, allocations: 212.5 kB / 1.092 GB, free: 2.91 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.847, allocations: 0.9375 kB / 1.092 GB, free: 2.91 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.653e-06/0.847, allocations: 0 / 1.092 GB, free: 2.91 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.753e-06/0.847, allocations: 0 / 1.092 GB, free: 2.91 MB / 0.8575 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.0007243/0.8478, allocations: 0.5367 MB / 1.092 GB, free: 2.414 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/0.8478, allocations: 8.875 kB / 1.092 GB, free: 2.414 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.078e-05/0.8479, allocations: 41.77 kB / 1.092 GB, free: 2.371 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.883e-05/0.8479, allocations: 23.56 kB / 1.092 GB, free: 2.359 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002644/0.8482, allocations: 240.3 kB / 1.092 GB, free: 2.121 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.976e-05/0.8482, allocations: 10.84 kB / 1.092 GB, free: 2.117 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.477e-05/0.8483, allocations: 19.45 kB / 1.092 GB, free: 2.109 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001965/0.8485, allocations: 98.91 kB / 1.093 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.275e-06/0.8485, allocations: 0 / 1.093 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.443e-05/0.8485, allocations: 6.109 kB / 1.093 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.8485, allocations: 6.344 kB / 1.093 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001166/0.8486, allocations: 53.62 kB / 1.093 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000811/0.8495, allocations: 469.8 kB / 1.093 GB, free: 1.688 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001455/0.8496, allocations: 81.45 kB / 1.093 GB, free: 1.641 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.096e-05/0.8497, allocations: 30.22 kB / 1.093 GB, free: 1.625 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.188e-05/0.8497, allocations: 2.328 kB / 1.093 GB, free: 1.625 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001757/0.8499, allocations: 107.1 kB / 1.093 GB, free: 1.547 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=14): time 1.443e-06/0.8499, allocations: 0 / 1.093 GB, free: 1.547 MB / 0.8575 GB Notification: Performance of matching and sorting (n=14): time 0.0003152/0.8502, allocations: 149.3 kB / 1.093 GB, free: 1.477 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.043e-05/0.8503, allocations: 54.8 kB / 1.093 GB, free: 1.414 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001861/0.8504, allocations: 186.6 kB / 1.094 GB, free: 1.289 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.551e-05/0.8505, allocations: 33.5 kB / 1.094 GB, free: 1.254 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.816e-05/0.8506, allocations: 122.7 kB / 1.094 GB, free: 1.145 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.484e-05/0.8506, allocations: 30.72 kB / 1.094 GB, free: 1.121 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.425e-05/0.8507, allocations: 54.12 kB / 1.094 GB, free: 1.094 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.326e-05/0.8507, allocations: 328.6 kB / 1.094 GB, free: 0.7734 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.406e-05/0.8508, allocations: 36.75 kB / 1.094 GB, free: 0.7578 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002175/0.851, allocations: 123.2 kB / 1.094 GB, free: 0.6602 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001312/0.8512, allocations: 111.2 kB / 1.094 GB, free: 0.5781 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.8512, allocations: 3.938 kB / 1.094 GB, free: 0.5742 MB / 0.8575 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002488/0.8514, allocations: 142.6 kB / 1.095 GB, free: 0.5039 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.8515, allocations: 9.125 kB / 1.095 GB, free: 0.5039 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.243e-06/0.8515, allocations: 5.594 kB / 1.095 GB, free: 0.5 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.8515, allocations: 5.781 kB / 1.095 GB, free: 0.4961 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001019/0.8516, allocations: 23.95 kB / 1.095 GB, free: 500 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.8516, allocations: 2.344 kB / 1.095 GB, free: 500 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001951/0.8518, allocations: 20.11 kB / 1.095 GB, free: 492 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.632e-05/0.8518, allocations: 10.3 kB / 1.095 GB, free: 488 kB / 0.8575 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.0001093/0.852, allocations: 132.1 kB / 1.095 GB, free: 360 kB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.91e-05/0.852, allocations: 20.39 kB / 1.095 GB, free: 348 kB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002272/0.8522, allocations: 134.8 kB / 1.095 GB, free: 272 kB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.8522, allocations: 1.906 kB / 1.095 GB, free: 272 kB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.8523, allocations: 0 / 1.095 GB, free: 272 kB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.8523, allocations: 1.859 kB / 1.095 GB, free: 272 kB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000572/0.8528, allocations: 458 kB / 1.095 GB, free: 15.9 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.8529, allocations: 3.984 kB / 1.095 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.399e-05/0.8529, allocations: 10.84 kB / 1.095 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.8529, allocations: 1.344 kB / 1.095 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.353e-05/0.8529, allocations: 6.047 kB / 1.095 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.8529, allocations: 5.422 kB / 1.095 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.8529, allocations: 0.6562 kB / 1.095 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002286/0.8532, allocations: 216.5 kB / 1.096 GB, free: 15.72 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 8.192e-05/0.8533, allocations: 100.3 kB / 1.096 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.37e-05/0.8533, allocations: 1.391 kB / 1.096 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001093/0.8534, allocations: 14.78 kB / 1.096 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.29e-05/0.8535, allocations: 16.48 kB / 1.096 GB, free: 15.6 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.491e-05/0.8535, allocations: 10.55 kB / 1.096 GB, free: 15.6 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001258/0.8537, allocations: 136.8 kB / 1.096 GB, free: 15.51 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8537, allocations: 0.8438 kB / 1.096 GB, free: 15.51 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003289/0.854, allocations: 45.08 kB / 1.096 GB, free: 15.5 MB / 0.8731 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.00071/0.8547, allocations: 0.8087 MB / 1.097 GB, free: 14.79 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002552/0.855, allocations: 97.03 kB / 1.097 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.855, allocations: 0.6875 kB / 1.097 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 9.985e-05/0.8551, allocations: 40.2 kB / 1.097 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004129/0.8555, allocations: 58.77 kB / 1.097 GB, free: 14.72 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002113/0.8576, allocations: 1.858 MB / 1.099 GB, free: 13.22 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002593/0.8579, allocations: 0.7218 MB / 1.099 GB, free: 12.52 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 9.987e-05/0.858, allocations: 21.89 kB / 1.099 GB, free: 12.52 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.377e-05/0.8581, allocations: 49.14 kB / 1.099 GB, free: 12.49 MB / 0.8731 GB Notification: Performance of SimCode: time 2.81e-07/0.8581, allocations: 0 / 1.099 GB, free: 12.49 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02197/0.8801, allocations: 5.19 MB / 1.105 GB, free: 11.73 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.763/8.643, allocations: 8.938 kB / 1.105 GB, free: 11.73 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Utilities.Plotters.Examples.Scatter.pipe ; mkfifo Buildings_9_Buildings.Utilities.Plotters.Examples.Scatter.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Plotters.Examples.Scatter.pipe >> ../files/Buildings_9_Buildings.Utilities.Plotters.Examples.Scatter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Plotters.Examples.Scatter_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Plotters_Examples_Scatter_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Plotters_Examples_Scatter.fmu > Buildings_9_Buildings.Utilities.Plotters.Examples.Scatter.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Plotters.Examples.Scatter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Plotters_Examples_Scatter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Plotters.Examples.Scatter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches