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.0007921/0.0007922, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005054/0.005054, allocations: 170 kB / 16.26 MB, free: 6.613 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.435/1.435, allocations: 223.3 MB / 240.3 MB, free: 5.348 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.569/2.569, allocations: 390.9 MB / 0.6663 GB, free: 2.34 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003553/0.0003555, allocations: 8 kB / 0.816 GB, free: 13.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9077/0.9081, allocations: 142.4 MB / 0.955 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.002533/0.9107, allocations: 1.584 MB / 0.9566 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001441/0.9122, allocations: 0.6392 MB / 0.9572 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001874/0.9124, allocations: 5 kB / 0.9572 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002433/0.9126, allocations: 20.64 kB / 0.9572 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0004478/0.9131, allocations: 92.03 kB / 0.9573 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004449/0.9136, allocations: 137.3 kB / 0.9574 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003721/0.9139, allocations: 210.8 kB / 0.9576 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001723/0.9141, allocations: 40.12 kB / 0.9577 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001936/0.9143, allocations: 92.73 kB / 0.9578 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03537/0.9497, allocations: 2.423 MB / 0.9601 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001158/0.9498, allocations: 7.031 kB / 0.9601 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001752/0.95, allocations: 22.22 kB / 0.9602 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.403e-05/0.9501, allocations: 35.89 kB / 0.9602 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001503/0.9503, allocations: 105.5 kB / 0.9603 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004229/0.9507, allocations: 192.2 kB / 0.9605 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.975e-06/0.9507, allocations: 8.953 kB / 0.9605 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.835e-06/0.9507, allocations: 0 / 0.9605 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.319e-05/0.9508, allocations: 4 kB / 0.9605 GB, free: 4.484 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.0009726/0.9517, allocations: 0.4974 MB / 0.961 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 6.485e-05/0.9518, allocations: 8.344 kB / 0.961 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001334/0.952, allocations: 20.22 kB / 0.961 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003984/0.9524, allocations: 254.1 kB / 0.9612 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.333e-05/0.9524, allocations: 10.91 kB / 0.9613 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.626e-05/0.9525, allocations: 13.94 kB / 0.9613 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000318/0.9528, allocations: 99.73 kB / 0.9614 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.771e-05/0.9529, allocations: 1.25 kB / 0.9614 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.43e-05/0.9529, allocations: 0 / 0.9614 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.254e-05/0.9529, allocations: 6.594 kB / 0.9614 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001818/0.9531, allocations: 53.25 kB / 0.9614 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00107/0.9542, allocations: 483.8 kB / 0.9619 GB, free: 3.168 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001719/0.9544, allocations: 82.33 kB / 0.962 GB, free: 3.113 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.172e-05/0.9544, allocations: 27.33 kB / 0.962 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.325e-05/0.9545, allocations: 5.844 kB / 0.962 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001749/0.9546, allocations: 93.48 kB / 0.9621 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=14): time 1.864e-06/0.9547, allocations: 1.094 kB / 0.9621 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14): time 0.0003599/0.955, allocations: 143 kB / 0.9622 GB, free: 2.938 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.387e-05/0.9551, allocations: 61.94 kB / 0.9623 GB, free: 2.867 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002408/0.9553, allocations: 191.9 kB / 0.9625 GB, free: 2.715 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.297e-05/0.9554, allocations: 33.83 kB / 0.9625 GB, free: 2.68 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001109/0.9555, allocations: 117.6 kB / 0.9626 GB, free: 2.57 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.135e-05/0.9555, allocations: 36.7 kB / 0.9626 GB, free: 2.539 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.091e-05/0.9556, allocations: 28.67 kB / 0.9627 GB, free: 2.512 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001021/0.9557, allocations: 335.8 kB / 0.963 GB, free: 2.18 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.505e-05/0.9558, allocations: 28.61 kB / 0.963 GB, free: 2.168 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000221/0.956, allocations: 130.9 kB / 0.9631 GB, free: 2.051 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001417/0.9562, allocations: 106 kB / 0.9632 GB, free: 1.969 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.9562, allocations: 5 kB / 0.9633 GB, free: 1.965 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002569/0.9564, allocations: 144.5 kB / 0.9634 GB, free: 1.883 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.197e-05/0.9565, allocations: 6.344 kB / 0.9634 GB, free: 1.883 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.9565, allocations: 1.469 kB / 0.9634 GB, free: 1.883 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.84e-05/0.9565, allocations: 6.094 kB / 0.9634 GB, free: 1.879 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001012/0.9566, allocations: 20.66 kB / 0.9634 GB, free: 1.871 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.231e-05/0.9566, allocations: 7.297 kB / 0.9634 GB, free: 1.867 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002129/0.9568, allocations: 23.66 kB / 0.9635 GB, free: 1.855 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.741e-05/0.9569, allocations: 5.688 kB / 0.9635 GB, free: 1.855 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.0001385/0.957, allocations: 146.4 kB / 0.9636 GB, free: 1.715 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.017e-05/0.957, allocations: 14.69 kB / 0.9636 GB, free: 1.707 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002268/0.9573, allocations: 132.6 kB / 0.9637 GB, free: 1.625 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.9573, allocations: 5.406 kB / 0.9637 GB, free: 1.621 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.9573, allocations: 5.188 kB / 0.9637 GB, free: 1.617 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.9573, allocations: 0 / 0.9637 GB, free: 1.617 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005443/0.9579, allocations: 460.2 kB / 0.9642 GB, free: 1.207 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.9579, allocations: 1.156 kB / 0.9642 GB, free: 1.207 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.83e-05/0.9579, allocations: 9.062 kB / 0.9642 GB, free: 1.203 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.958e-06/0.9579, allocations: 5.062 kB / 0.9642 GB, free: 1.199 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.125e-05/0.9579, allocations: 5.375 kB / 0.9642 GB, free: 1.195 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.958, allocations: 0 / 0.9642 GB, free: 1.195 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.958, allocations: 5.422 kB / 0.9642 GB, free: 1.191 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001938/0.9582, allocations: 213.1 kB / 0.9644 GB, free: 1.023 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 6.526e-05/0.9582, allocations: 100 kB / 0.9645 GB, free: 0.9141 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.725e-05/0.9583, allocations: 9.141 kB / 0.9645 GB, free: 0.9062 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001078/0.9584, allocations: 18.66 kB / 0.9645 GB, free: 0.8945 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.033e-05/0.9585, allocations: 15.5 kB / 0.9646 GB, free: 0.8867 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.575e-05/0.9585, allocations: 10.19 kB / 0.9646 GB, free: 0.8828 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001024/0.9586, allocations: 140.6 kB / 0.9647 GB, free: 0.7773 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9586, allocations: 0 / 0.9647 GB, free: 0.7773 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000332/0.9589, allocations: 48.5 kB / 0.9647 GB, free: 0.7617 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.000366/0.9593, allocations: 163 kB / 0.9649 GB, free: 0.6445 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002377/0.9596, allocations: 87.28 kB / 0.965 GB, free: 0.6133 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.9596, allocations: 1 kB / 0.965 GB, free: 0.6133 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.424e-05/0.9597, allocations: 55.56 kB / 0.965 GB, free: 0.5859 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004273/0.9601, allocations: 41.7 kB / 0.9651 GB, free: 0.5664 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006914/0.9608, allocations: 341.6 kB / 0.9654 GB, free: 308 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002829/0.9611, allocations: 0.7235 MB / 0.9661 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 9.675e-05/0.9612, allocations: 23.88 kB / 0.9661 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.428e-05/0.9613, allocations: 22.05 kB / 0.9662 GB, free: 15.56 MB / 0.7325 GB Notification: Performance of SimCode: time 5.01e-07/0.9613, allocations: 0 / 0.9662 GB, free: 15.56 MB / 0.7325 GB Notification: Performance of Templates: time 0.008624/0.9699, allocations: 3.114 MB / 0.9692 GB, free: 13.99 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