Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.005587/0.005587, allocations: 100.7 kB / 15.73 MB, free: 6.039 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.001231/0.001231, allocations: 188.9 kB / 16.67 MB, free: 5.973 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.457/1.457, allocations: 222.9 MB / 240.4 MB, free: 4.164 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.832/2.832, allocations: 461.8 MB / 0.7347 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001432/0.001432, allocations: 67.89 kB / 1.054 GB, free: 7.191 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3485/0.3499, allocations: 157.4 MB / 1.208 GB, free: 9.688 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.003737/0.3537, allocations: 1.777 MB / 1.209 GB, free: 7.891 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001362/0.3551, allocations: 0.601 MB / 1.21 GB, free: 7.289 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001185/0.3552, allocations: 4 kB / 1.21 GB, free: 7.285 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0002129/0.3554, allocations: 27.72 kB / 1.21 GB, free: 7.258 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0004297/0.3559, allocations: 119.4 kB / 1.21 GB, free: 7.141 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004121/0.3563, allocations: 154.3 kB / 1.21 GB, free: 6.992 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.000325/0.3567, allocations: 227.5 kB / 1.211 GB, free: 6.77 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001335/0.3568, allocations: 37.48 kB / 1.211 GB, free: 6.734 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001642/0.357, allocations: 107.7 kB / 1.211 GB, free: 6.629 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004868/0.3618, allocations: 0.7984 MB / 1.211 GB, free: 6.016 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 5.247e-05/0.3619, allocations: 16 kB / 1.211 GB, free: 6 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001086/0.362, allocations: 39.98 kB / 1.211 GB, free: 5.961 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 8.515e-05/0.3621, allocations: 43.78 kB / 1.212 GB, free: 5.918 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001135/0.3622, allocations: 91.55 kB / 1.212 GB, free: 5.828 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003692/0.3626, allocations: 211.3 kB / 1.212 GB, free: 5.621 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.3626, allocations: 4 kB / 1.212 GB, free: 5.617 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.312e-06/0.3626, allocations: 0 / 1.212 GB, free: 5.617 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.085e-06/0.3627, allocations: 0 / 1.212 GB, free: 5.617 MB / 0.9669 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.0008235/0.3635, allocations: 0.5334 MB / 1.212 GB, free: 5.023 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.692e-05/0.3635, allocations: 16.62 kB / 1.212 GB, free: 5.008 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.991e-05/0.3636, allocations: 16.75 kB / 1.212 GB, free: 4.992 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003101/0.3639, allocations: 248.5 kB / 1.213 GB, free: 4.707 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.897e-05/0.364, allocations: 12 kB / 1.213 GB, free: 4.695 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.574e-05/0.364, allocations: 8 kB / 1.213 GB, free: 4.688 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001983/0.3642, allocations: 93.66 kB / 1.213 GB, free: 4.59 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.238e-06/0.3642, allocations: 0 / 1.213 GB, free: 4.59 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.297e-05/0.3643, allocations: 4 kB / 1.213 GB, free: 4.586 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.122e-06/0.3643, allocations: 3.938 kB / 1.213 GB, free: 4.582 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001213/0.3644, allocations: 55.97 kB / 1.213 GB, free: 4.527 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008826/0.3653, allocations: 480.2 kB / 1.213 GB, free: 4.008 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001622/0.3655, allocations: 74.55 kB / 1.213 GB, free: 3.926 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.534e-05/0.3655, allocations: 40.78 kB / 1.213 GB, free: 3.883 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.145e-05/0.3655, allocations: 0 / 1.213 GB, free: 3.883 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001844/0.3657, allocations: 95.38 kB / 1.213 GB, free: 3.777 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=14): time 1.482e-06/0.3657, allocations: 0 / 1.213 GB, free: 3.777 MB / 0.9669 GB Notification: Performance of matching and sorting (n=14): time 0.0003332/0.3661, allocations: 141.6 kB / 1.214 GB, free: 3.633 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.878e-05/0.3661, allocations: 63.39 kB / 1.214 GB, free: 3.559 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001958/0.3663, allocations: 186.8 kB / 1.214 GB, free: 3.363 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.223e-05/0.3664, allocations: 37.64 kB / 1.214 GB, free: 3.32 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 9.923e-05/0.3665, allocations: 136.6 kB / 1.214 GB, free: 3.184 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 7.779e-05/0.3666, allocations: 31.56 kB / 1.214 GB, free: 3.152 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.328e-05/0.3667, allocations: 57.61 kB / 1.214 GB, free: 3.09 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001299/0.3668, allocations: 326.8 kB / 1.214 GB, free: 2.762 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.081e-05/0.3669, allocations: 31.98 kB / 1.214 GB, free: 2.73 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002552/0.3672, allocations: 126.2 kB / 1.215 GB, free: 2.578 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001463/0.3673, allocations: 102.5 kB / 1.215 GB, free: 2.461 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.3673, allocations: 4 kB / 1.215 GB, free: 2.457 MB / 0.9669 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002708/0.3676, allocations: 145.4 kB / 1.215 GB, free: 2.309 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/0.3676, allocations: 8 kB / 1.215 GB, free: 2.301 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.3676, allocations: 0 / 1.215 GB, free: 2.301 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.02e-05/0.3677, allocations: 11.88 kB / 1.215 GB, free: 2.289 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001003/0.3678, allocations: 15.98 kB / 1.215 GB, free: 2.273 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.275e-06/0.3678, allocations: 0 / 1.215 GB, free: 2.273 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001869/0.368, allocations: 31.92 kB / 1.215 GB, free: 2.242 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.232e-05/0.368, allocations: 8 kB / 1.215 GB, free: 2.234 MB / 0.9669 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.0001343/0.3681, allocations: 133.8 kB / 1.215 GB, free: 2.094 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.021e-05/0.3682, allocations: 15.81 kB / 1.215 GB, free: 2.078 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002371/0.3684, allocations: 137.9 kB / 1.215 GB, free: 1.941 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.3685, allocations: 4 kB / 1.215 GB, free: 1.938 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.3685, allocations: 0 / 1.215 GB, free: 1.938 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.3685, allocations: 0 / 1.215 GB, free: 1.938 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005363/0.369, allocations: 454.3 kB / 1.216 GB, free: 1.438 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.369, allocations: 0 / 1.216 GB, free: 1.438 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.303e-05/0.3691, allocations: 15.92 kB / 1.216 GB, free: 1.422 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-06/0.3691, allocations: 0 / 1.216 GB, free: 1.422 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.254e-05/0.3691, allocations: 0 / 1.216 GB, free: 1.422 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.3691, allocations: 0 / 1.216 GB, free: 1.422 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.3691, allocations: 4 kB / 1.216 GB, free: 1.418 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002422/0.3694, allocations: 223.3 kB / 1.216 GB, free: 1.184 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 7.65e-05/0.3695, allocations: 108.8 kB / 1.216 GB, free: 1.059 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.819e-05/0.3695, allocations: 0 / 1.216 GB, free: 1.059 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001046/0.3696, allocations: 15.92 kB / 1.216 GB, free: 1.043 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.607e-05/0.3697, allocations: 19.92 kB / 1.216 GB, free: 1.023 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.209e-05/0.3697, allocations: 4 kB / 1.216 GB, free: 1.02 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001151/0.3698, allocations: 144.3 kB / 1.216 GB, free: 0.8789 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.21e-07/0.3698, allocations: 0 / 1.216 GB, free: 0.8789 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003262/0.3702, allocations: 43.91 kB / 1.216 GB, free: 0.8359 MB / 0.9669 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.0003832/0.3705, allocations: 165.5 kB / 1.216 GB, free: 0.6875 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002385/0.3708, allocations: 91.83 kB / 1.216 GB, free: 0.5977 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.3708, allocations: 0 / 1.216 GB, free: 0.5977 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 9.681e-05/0.3709, allocations: 43.92 kB / 1.216 GB, free: 0.5547 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003999/0.3713, allocations: 41.84 kB / 1.216 GB, free: 0.5156 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006889/0.372, allocations: 288.4 kB / 1.217 GB, free: 216 kB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003366/0.3724, allocations: 0.7241 MB / 1.217 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 8.886e-05/0.3725, allocations: 21.53 kB / 1.217 GB, free: 15.44 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.929e-05/0.3725, allocations: 27.42 kB / 1.217 GB, free: 15.41 MB / 0.9825 GB Notification: Performance of SimCode: time 1.563e-06/0.3725, allocations: 0 / 1.217 GB, free: 15.41 MB / 0.9825 GB Notification: Performance of Templates: time 0.008099/0.3807, allocations: 3.333 MB / 1.221 GB, free: 12.11 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter.makefile (rm -f Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter.sim & ./Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Examples_Scatter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches