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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001329/0.001329, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001292/0.001292, allocations: 190.5 kB / 16.13 MB, free: 6.645 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.334/1.334, allocations: 222.9 MB / 239.8 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.256/2.256, allocations: 390.2 MB / 0.6643 GB, free: 0.5664 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001436/0.001436, allocations: 67.89 kB / 0.812 GB, free: 14.77 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7527/0.7542, allocations: 140.4 MB / 0.949 GB, free: 9.098 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.003869/0.7581, allocations: 1.925 MB / 0.9509 GB, free: 7.578 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001303/0.7595, allocations: 0.6502 MB / 0.9516 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.247e-05/0.7596, allocations: 1.125 kB / 0.9516 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002051/0.7598, allocations: 24.03 kB / 0.9516 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003484/0.7602, allocations: 88.67 kB / 0.9517 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000336/0.7605, allocations: 141.9 kB / 0.9518 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002322/0.7607, allocations: 216.2 kB / 0.952 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000135/0.7609, allocations: 39.88 kB / 0.952 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001065/0.761, allocations: 96.8 kB / 0.9521 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009207/0.7702, allocations: 0.7306 MB / 0.9528 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.877e-05/0.7703, allocations: 18 kB / 0.9529 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001261/0.7704, allocations: 31.92 kB / 0.9529 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.84e-05/0.7705, allocations: 41.08 kB / 0.9529 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001014/0.7706, allocations: 83.38 kB / 0.953 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002295/0.7709, allocations: 193 kB / 0.9532 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.7709, allocations: 0 / 0.9532 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of FrontEnd: time 8.31e-07/0.7709, allocations: 0 / 0.9532 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.7709, allocations: 1.469 kB / 0.9532 GB, free: 6.168 MB / 0.7169 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.0006648/0.7715, allocations: 0.5357 MB / 0.9537 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/0.7716, allocations: 9.219 kB / 0.9537 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.896e-05/0.7716, allocations: 42.27 kB / 0.9538 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.546e-05/0.7717, allocations: 23.38 kB / 0.9538 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002284/0.7719, allocations: 246.2 kB / 0.954 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.732e-05/0.772, allocations: 10.19 kB / 0.954 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.239e-05/0.772, allocations: 10.66 kB / 0.954 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001784/0.7722, allocations: 95.94 kB / 0.9541 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.7722, allocations: 7.938 kB / 0.9541 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.405e-05/0.7722, allocations: 10.17 kB / 0.9542 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.844e-06/0.7722, allocations: 5.656 kB / 0.9542 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001069/0.7724, allocations: 61.14 kB / 0.9542 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006874/0.773, allocations: 478.9 kB / 0.9547 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001358/0.7732, allocations: 70.81 kB / 0.9547 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.062e-05/0.7733, allocations: 31.16 kB / 0.9548 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.051e-05/0.7733, allocations: 1.344 kB / 0.9548 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001438/0.7734, allocations: 95.11 kB / 0.9549 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=14): time 1.282e-06/0.7734, allocations: 4 kB / 0.9549 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14): time 0.0003044/0.7737, allocations: 152.8 kB / 0.955 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.86e-05/0.7738, allocations: 58.69 kB / 0.9551 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000148/0.7739, allocations: 183.9 kB / 0.9552 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.64e-05/0.774, allocations: 36.72 kB / 0.9553 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.799e-05/0.774, allocations: 117.9 kB / 0.9554 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.668e-05/0.7741, allocations: 37.55 kB / 0.9554 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.334e-05/0.7742, allocations: 54.77 kB / 0.9555 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.608e-05/0.7742, allocations: 331 kB / 0.9558 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.049e-05/0.7743, allocations: 28.61 kB / 0.9558 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002219/0.7745, allocations: 131.1 kB / 0.9559 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001254/0.7747, allocations: 99.64 kB / 0.956 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.7747, allocations: 0.7188 kB / 0.956 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002345/0.7749, allocations: 145.7 kB / 0.9562 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.7749, allocations: 9.844 kB / 0.9562 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.7749, allocations: 10.53 kB / 0.9562 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.97e-05/0.775, allocations: 6.453 kB / 0.9562 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.517e-05/0.7751, allocations: 20.28 kB / 0.9562 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.665e-06/0.7751, allocations: 3.375 kB / 0.9562 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001717/0.7753, allocations: 24.58 kB / 0.9563 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.088e-05/0.7753, allocations: 5.125 kB / 0.9563 GB, free: 3.445 MB / 0.7169 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 9.871e-05/0.7754, allocations: 138.2 kB / 0.9564 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.782e-05/0.7754, allocations: 15.78 kB / 0.9564 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002087/0.7756, allocations: 136.3 kB / 0.9565 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.7756, allocations: 2.375 kB / 0.9565 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.7756, allocations: 0 / 0.9565 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.7757, allocations: 3.984 kB / 0.9565 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004431/0.7761, allocations: 463.3 kB / 0.957 GB, free: 2.801 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.7761, allocations: 3.984 kB / 0.957 GB, free: 2.797 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.461e-05/0.7762, allocations: 6.125 kB / 0.957 GB, free: 2.797 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.7762, allocations: 4 kB / 0.957 GB, free: 2.793 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.011e-05/0.7762, allocations: 1.469 kB / 0.957 GB, free: 2.793 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.7762, allocations: 1.562 kB / 0.957 GB, free: 2.793 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.7762, allocations: 0 / 0.957 GB, free: 2.793 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001824/0.7764, allocations: 230 kB / 0.9572 GB, free: 2.605 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.141e-05/0.7764, allocations: 92.22 kB / 0.9573 GB, free: 2.504 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.436e-05/0.7765, allocations: 4 kB / 0.9573 GB, free: 2.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.803e-05/0.7766, allocations: 12.48 kB / 0.9573 GB, free: 2.492 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.582e-05/0.7766, allocations: 15.36 kB / 0.9573 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.154e-05/0.7767, allocations: 8.766 kB / 0.9573 GB, free: 2.48 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001042/0.7768, allocations: 133.5 kB / 0.9575 GB, free: 2.383 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7768, allocations: 0 / 0.9575 GB, free: 2.383 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002901/0.7771, allocations: 56.33 kB / 0.9575 GB, free: 2.359 MB / 0.7169 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.0005702/0.7777, allocations: 0.8223 MB / 0.9583 GB, free: 1.621 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001905/0.7779, allocations: 86.89 kB / 0.9584 GB, free: 1.59 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.7779, allocations: 5.375 kB / 0.9584 GB, free: 1.586 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.497e-05/0.7779, allocations: 43.42 kB / 0.9585 GB, free: 1.57 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003632/0.7783, allocations: 39.12 kB / 0.9585 GB, free: 1.555 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001812/0.7801, allocations: 1.879 MB / 0.9603 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003434/0.7805, allocations: 0.7243 MB / 0.961 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 8.313e-05/0.7806, allocations: 18.98 kB / 0.9611 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.122e-05/0.7807, allocations: 50.62 kB / 0.9611 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of SimCode: time 2.3e-07/0.7807, allocations: 1.25 kB / 0.9611 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01648/0.7972, allocations: 4.767 MB / 0.9658 GB, free: 12.77 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001751/0.7974, allocations: 245 kB / 0.966 GB, free: 12.52 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.878/2.675, allocations: 0 / 0.966 GB, free: 12.52 MB / 0.7325 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