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: translateModel(Buildings.Utilities.Plotters.Examples.Scatter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sca.y.1.|sca1.y.1.|sca1.y.2.",fileNamePrefix="Buildings_9_Buildings.Utilities.Plotters.Examples.Scatter") translateModel(Buildings.Utilities.Plotters.Examples.Scatter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sca.y.1.|sca1.y.1.|sca1.y.2.",fileNamePrefix="Buildings_9_Buildings.Utilities.Plotters.Examples.Scatter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001578/0.001577, 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.00212/0.00212, allocations: 190.8 kB / 16.14 MB, free: 6.652 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.433/1.433, allocations: 222.9 MB / 239.8 MB, free: 4.574 MB / 190.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.544/2.544, allocations: 390.2 MB / 0.6642 GB, free: 0.6016 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 63.89 kB / 0.8118 GB, free: 14.87 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8148/0.816, allocations: 140.3 MB / 0.9489 GB, free: 9.102 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.003624/0.8198, allocations: 1.925 MB / 0.9508 GB, free: 7.582 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001166/0.8209, allocations: 0.6574 MB / 0.9514 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.993e-05/0.8211, allocations: 1.156 kB / 0.9514 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002735/0.8214, allocations: 23.77 kB / 0.9514 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003191/0.8217, allocations: 97.03 kB / 0.9515 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003146/0.822, allocations: 136 kB / 0.9517 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002943/0.8223, allocations: 211.4 kB / 0.9519 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000161/0.8225, allocations: 41.88 kB / 0.9519 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001356/0.8226, allocations: 100.6 kB / 0.952 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009203/0.8318, allocations: 0.7374 MB / 0.9527 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.127e-05/0.8319, allocations: 8.938 kB / 0.9527 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001493/0.8321, allocations: 28.55 kB / 0.9528 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.171e-05/0.8322, allocations: 31.53 kB / 0.9528 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001484/0.8323, allocations: 81.31 kB / 0.9529 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002932/0.8326, allocations: 203.8 kB / 0.9531 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.8327, allocations: 0 / 0.9531 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.062e-06/0.8327, allocations: 1.156 kB / 0.9531 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.154e-06/0.8327, allocations: 0 / 0.9531 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.0008305/0.8335, allocations: 0.5397 MB / 0.9536 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5e-05/0.8336, allocations: 10.16 kB / 0.9536 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001077/0.8337, allocations: 23.09 kB / 0.9536 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002908/0.834, allocations: 235 kB / 0.9539 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.234e-05/0.834, allocations: 9.312 kB / 0.9539 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.037e-05/0.8341, allocations: 18.83 kB / 0.9539 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002162/0.8343, allocations: 100.3 kB / 0.954 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.8343, allocations: 0 / 0.954 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.931e-05/0.8343, allocations: 9.297 kB / 0.954 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.759e-06/0.8343, allocations: 10.56 kB / 0.954 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001216/0.8345, allocations: 53.47 kB / 0.954 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008645/0.8353, allocations: 477.6 kB / 0.9545 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001729/0.8355, allocations: 74.3 kB / 0.9546 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.114e-05/0.8356, allocations: 35.53 kB / 0.9546 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.065e-05/0.8356, allocations: 2.312 kB / 0.9546 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001878/0.8358, allocations: 93.72 kB / 0.9547 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=14): time 1.863e-06/0.8358, allocations: 0 / 0.9547 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14): time 0.0003977/0.8362, allocations: 152.5 kB / 0.9548 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.187e-05/0.8363, allocations: 53.62 kB / 0.9549 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002232/0.8365, allocations: 192.9 kB / 0.9551 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.782e-05/0.8366, allocations: 33.08 kB / 0.9551 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 9.849e-05/0.8367, allocations: 121.5 kB / 0.9552 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.367e-05/0.8367, allocations: 33.17 kB / 0.9553 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001139/0.8368, allocations: 58.7 kB / 0.9553 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.613e-05/0.8369, allocations: 327.3 kB / 0.9556 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.576e-05/0.837, allocations: 29.14 kB / 0.9556 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000255/0.8373, allocations: 128.8 kB / 0.9558 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001561/0.8374, allocations: 105.7 kB / 0.9559 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.8374, allocations: 0 / 0.9559 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002906/0.8377, allocations: 146.2 kB / 0.956 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.509e-05/0.8378, allocations: 6.281 kB / 0.956 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/0.8378, allocations: 1.406 kB / 0.956 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.331e-05/0.8378, allocations: 6.438 kB / 0.956 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001112/0.8379, allocations: 25.11 kB / 0.9561 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.929e-06/0.838, allocations: 2.906 kB / 0.9561 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001991/0.8382, allocations: 24.89 kB / 0.9561 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.474e-05/0.8382, allocations: 15.25 kB / 0.9561 GB, free: 3.492 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 0.0001398/0.8383, allocations: 138.9 kB / 0.9562 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.216e-05/0.8384, allocations: 14.88 kB / 0.9562 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002305/0.8386, allocations: 130 kB / 0.9564 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.888e-06/0.8386, allocations: 1.781 kB / 0.9564 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.8386, allocations: 0 / 0.9564 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.808e-06/0.8386, allocations: 0 / 0.9564 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005196/0.8392, allocations: 464.1 kB / 0.9568 GB, free: 2.852 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.8392, allocations: 5.156 kB / 0.9568 GB, free: 2.848 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.438e-05/0.8392, allocations: 8.312 kB / 0.9568 GB, free: 2.844 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.8392, allocations: 1.188 kB / 0.9568 GB, free: 2.844 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.257e-05/0.8393, allocations: 9.047 kB / 0.9568 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.8393, allocations: 5.25 kB / 0.9568 GB, free: 2.832 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.8393, allocations: 0 / 0.9568 GB, free: 2.832 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002127/0.8395, allocations: 214.9 kB / 0.957 GB, free: 2.66 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.99e-05/0.8396, allocations: 96.34 kB / 0.9571 GB, free: 2.555 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.809e-05/0.8396, allocations: 9.797 kB / 0.9571 GB, free: 2.547 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.844e-05/0.8397, allocations: 7.672 kB / 0.9571 GB, free: 2.543 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.79e-05/0.8398, allocations: 19.17 kB / 0.9572 GB, free: 2.531 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.456e-05/0.8398, allocations: 5.312 kB / 0.9572 GB, free: 2.531 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001164/0.8399, allocations: 141.4 kB / 0.9573 GB, free: 2.426 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.11e-07/0.8399, allocations: 0 / 0.9573 GB, free: 2.426 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003342/0.8403, allocations: 48.22 kB / 0.9574 GB, free: 2.41 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.0003571/0.8406, allocations: 171.4 kB / 0.9575 GB, free: 2.289 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.00022/0.8409, allocations: 86.91 kB / 0.9576 GB, free: 2.258 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.8409, allocations: 1.375 kB / 0.9576 GB, free: 2.258 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.28e-05/0.841, allocations: 59.34 kB / 0.9577 GB, free: 2.227 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003866/0.8413, allocations: 44.09 kB / 0.9577 GB, free: 2.203 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006605/0.842, allocations: 334.4 kB / 0.958 GB, free: 1.945 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001944/0.8422, allocations: 0.7231 MB / 0.9587 GB, free: 1.227 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0001287/0.8424, allocations: 23.53 kB / 0.9587 GB, free: 1.219 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.83e-05/0.8424, allocations: 27.42 kB / 0.9588 GB, free: 1.203 MB / 0.7169 GB Notification: Performance of SimCode: time 2.31e-07/0.8424, allocations: 0 / 0.9588 GB, free: 1.203 MB / 0.7169 GB Notification: Performance of Templates: time 0.00844/0.8509, allocations: 3.13 MB / 0.9618 GB, free: 15.63 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Utilities.Plotters.Examples.Scatter.makefile (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 & ./Buildings_9_Buildings.Utilities.Plotters.Examples.Scatter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Plotters.Examples.Scatter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches