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.004892/0.004892, allocations: 101.5 kB / 15.73 MB, free: 6.492 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.001131/0.001131, allocations: 195.7 kB / 16.68 MB, free: 6.375 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.415/1.415, allocations: 222.9 MB / 240.4 MB, free: 4.316 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.672/2.672, allocations: 437 MB / 0.7105 GB, free: 5.074 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00137/0.00137, allocations: 63.84 kB / 1.018 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3402/0.3416, allocations: 151.6 MB / 1.166 GB, free: 7.359 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.004073/0.3457, allocations: 1.781 MB / 1.168 GB, free: 5.559 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001361/0.3471, allocations: 0.5928 MB / 1.168 GB, free: 4.965 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001171/0.3473, allocations: 0 / 1.168 GB, free: 4.965 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0002148/0.3475, allocations: 31.73 kB / 1.168 GB, free: 4.934 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0004535/0.348, allocations: 119.4 kB / 1.169 GB, free: 4.816 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004119/0.3484, allocations: 147.6 kB / 1.169 GB, free: 4.672 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0003516/0.3488, allocations: 235.4 kB / 1.169 GB, free: 4.441 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001348/0.3489, allocations: 33.55 kB / 1.169 GB, free: 4.41 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001663/0.3491, allocations: 107.7 kB / 1.169 GB, free: 4.305 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004886/0.354, allocations: 0.7967 MB / 1.17 GB, free: 3.691 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 6.839e-05/0.3541, allocations: 20 kB / 1.17 GB, free: 3.672 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001154/0.3542, allocations: 31.98 kB / 1.17 GB, free: 3.641 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 7.696e-05/0.3543, allocations: 51.77 kB / 1.17 GB, free: 3.59 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001255/0.3544, allocations: 83.56 kB / 1.17 GB, free: 3.508 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003963/0.3548, allocations: 216.1 kB / 1.17 GB, free: 3.297 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.3548, allocations: 0 / 1.17 GB, free: 3.297 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.603e-06/0.3548, allocations: 0 / 1.17 GB, free: 3.297 MB / 0.92 GB Notification: Performance of Transformations before backend: time 9.608e-06/0.3548, allocations: 0 / 1.17 GB, free: 3.297 MB / 0.92 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.000835/0.3557, allocations: 0.5373 MB / 1.171 GB, free: 2.699 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/0.3557, allocations: 11.97 kB / 1.171 GB, free: 2.688 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.137e-05/0.3558, allocations: 42.73 kB / 1.171 GB, free: 2.637 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.44e-05/0.3559, allocations: 24.75 kB / 1.171 GB, free: 2.613 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000298/0.3562, allocations: 244.3 kB / 1.171 GB, free: 2.332 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.009e-05/0.3562, allocations: 12 kB / 1.171 GB, free: 2.32 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.54e-05/0.3563, allocations: 16 kB / 1.171 GB, free: 2.305 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001943/0.3565, allocations: 91.91 kB / 1.171 GB, free: 2.211 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.445e-06/0.3565, allocations: 0 / 1.171 GB, free: 2.211 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.723e-05/0.3565, allocations: 7.984 kB / 1.171 GB, free: 2.203 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/0.3565, allocations: 11.88 kB / 1.171 GB, free: 2.191 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001229/0.3566, allocations: 47.97 kB / 1.171 GB, free: 2.145 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008623/0.3575, allocations: 480.2 kB / 1.172 GB, free: 1.625 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001446/0.3577, allocations: 70.56 kB / 1.172 GB, free: 1.547 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.042e-05/0.3577, allocations: 28.84 kB / 1.172 GB, free: 1.516 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.72e-05/0.3578, allocations: 8 kB / 1.172 GB, free: 1.508 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001885/0.358, allocations: 99.28 kB / 1.172 GB, free: 1.398 MB / 0.92 GB Notification: Performance of pre-optimization done (n=14): time 1.864e-06/0.358, allocations: 0 / 1.172 GB, free: 1.398 MB / 0.92 GB Notification: Performance of matching and sorting (n=14): time 0.0003182/0.3583, allocations: 152.6 kB / 1.172 GB, free: 1.246 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.284e-05/0.3583, allocations: 51.41 kB / 1.172 GB, free: 1.184 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001986/0.3585, allocations: 199.3 kB / 1.172 GB, free: 0.9805 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.92e-05/0.3586, allocations: 29.7 kB / 1.172 GB, free: 0.9453 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 9.804e-05/0.3587, allocations: 124.5 kB / 1.172 GB, free: 0.8203 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.192e-05/0.3587, allocations: 35.55 kB / 1.172 GB, free: 0.7852 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001032/0.3588, allocations: 57.67 kB / 1.173 GB, free: 0.7227 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001122/0.3589, allocations: 330.8 kB / 1.173 GB, free: 400 kB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.729e-05/0.359, allocations: 31.98 kB / 1.173 GB, free: 368 kB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000242/0.3593, allocations: 134.8 kB / 1.173 GB, free: 204 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001398/0.3594, allocations: 101.1 kB / 1.173 GB, free: 84 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/0.3594, allocations: 0 / 1.173 GB, free: 84 kB / 0.92 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002701/0.3597, allocations: 145.4 kB / 1.173 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.271e-05/0.3597, allocations: 5.406 kB / 1.173 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/0.3598, allocations: 3.938 kB / 1.173 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.975e-05/0.3598, allocations: 4 kB / 1.173 GB, free: 15.92 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001062/0.3599, allocations: 20.14 kB / 1.173 GB, free: 15.9 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.208e-06/0.3599, allocations: 4 kB / 1.173 GB, free: 15.9 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001915/0.3601, allocations: 27.77 kB / 1.173 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.534e-05/0.3601, allocations: 8.156 kB / 1.173 GB, free: 15.86 MB / 0.9356 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.0001419/0.3603, allocations: 143.8 kB / 1.173 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.042e-05/0.3603, allocations: 19.8 kB / 1.173 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002301/0.3606, allocations: 134.6 kB / 1.174 GB, free: 15.56 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.3606, allocations: 0 / 1.174 GB, free: 15.56 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.3606, allocations: 0 / 1.174 GB, free: 15.56 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.3606, allocations: 7.984 kB / 1.174 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005536/0.3612, allocations: 458.2 kB / 1.174 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.3612, allocations: 0 / 1.174 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.363e-05/0.3612, allocations: 11.92 kB / 1.174 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.3612, allocations: 0 / 1.174 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.46e-05/0.3612, allocations: 8 kB / 1.174 GB, free: 15.03 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.3613, allocations: 0 / 1.174 GB, free: 15.03 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.3613, allocations: 0 / 1.174 GB, free: 15.03 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002285/0.3615, allocations: 219.3 kB / 1.174 GB, free: 14.8 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 8.304e-05/0.3616, allocations: 96.91 kB / 1.174 GB, free: 14.68 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.573e-05/0.3616, allocations: 8 kB / 1.174 GB, free: 14.68 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001047/0.3617, allocations: 7.984 kB / 1.174 GB, free: 14.67 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.528e-05/0.3618, allocations: 11.98 kB / 1.174 GB, free: 14.66 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.247e-05/0.3618, allocations: 8 kB / 1.174 GB, free: 14.65 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001218/0.362, allocations: 143.1 kB / 1.175 GB, free: 14.51 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.51e-07/0.362, allocations: 3.938 kB / 1.175 GB, free: 14.5 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000323/0.3623, allocations: 39.91 kB / 1.175 GB, free: 14.46 MB / 0.9356 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.0008078/0.3631, allocations: 0.8217 MB / 1.175 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002306/0.3633, allocations: 99.47 kB / 1.175 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 5.6e-06/0.3634, allocations: 0 / 1.175 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 7.99e-05/0.3634, allocations: 43.92 kB / 1.176 GB, free: 13.5 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004224/0.3639, allocations: 56.12 kB / 1.176 GB, free: 13.45 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002108/0.366, allocations: 1.832 MB / 1.177 GB, free: 11.51 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002725/0.3663, allocations: 0.7202 MB / 1.178 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 8.42e-05/0.3664, allocations: 21.53 kB / 1.178 GB, free: 10.74 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.93e-05/0.3665, allocations: 55.42 kB / 1.178 GB, free: 10.69 MB / 0.9356 GB Notification: Performance of SimCode: time 3.11e-07/0.3665, allocations: 0 / 1.178 GB, free: 10.69 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.023/0.3895, allocations: 5.091 MB / 1.183 GB, free: 5.707 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.77/8.159, allocations: 11.8 kB / 1.183 GB, free: 5.699 MB / 0.9356 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