Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Plotters.Examples.Scatter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001587/0.001587, allocations: 96.42 kB / 19.7 MB, free: 2.129 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001912/0.001912, allocations: 214.9 kB / 22.99 MB, free: 4.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.631/1.631, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.241/3.241, allocations: 0.49 GB / 0.7959 GB, free: 35.55 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Plotters.Examples.Scatter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sca.y.1.|sca1.y.1.|sca1.y.2.",fileNamePrefix="Buildings_12_Buildings.Utilities.Plotters.Examples.Scatter") translateModel(Buildings.Utilities.Plotters.Examples.Scatter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sca.y.1.|sca1.y.1.|sca1.y.2.",fileNamePrefix="Buildings_12_Buildings.Utilities.Plotters.Examples.Scatter") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002117/0.002117, allocations: 69.62 kB / 1.155 GB, free: 25.2 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3543/0.3564, allocations: 176.1 MB / 1.327 GB, free: 1.008 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.Scatter): time 0.003302/0.3597, allocations: 1.764 MB / 1.329 GB, free: 15.23 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001193/0.3609, allocations: 0.5928 MB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.42e-05/0.361, allocations: 0 / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001981/0.3612, allocations: 35.67 kB / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0003897/0.3616, allocations: 123.4 kB / 1.33 GB, free: 14.48 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.000367/0.3619, allocations: 152.6 kB / 1.33 GB, free: 14.33 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003214/0.3623, allocations: 223.5 kB / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000122/0.3624, allocations: 29.66 kB / 1.33 GB, free: 14.08 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001355/0.3625, allocations: 107.7 kB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006133/0.3687, allocations: 0.809 MB / 1.331 GB, free: 13.35 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 6.074e-05/0.3687, allocations: 20 kB / 1.331 GB, free: 13.33 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001181/0.3688, allocations: 28 kB / 1.331 GB, free: 13.3 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.621e-05/0.3689, allocations: 39.83 kB / 1.331 GB, free: 13.27 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001111/0.369, allocations: 71.7 kB / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004213/0.3694, allocations: 223.1 kB / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.3694, allocations: 0 / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.833e-06/0.3695, allocations: 0 / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.679e-05/0.3695, allocations: 4 kB / 1.331 GB, free: 12.97 MB / 1.029 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.0008889/0.3704, allocations: 472.9 kB / 1.332 GB, free: 12.47 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.3704, allocations: 12.03 kB / 1.332 GB, free: 12.46 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.869e-05/0.3705, allocations: 20.83 kB / 1.332 GB, free: 12.44 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003068/0.3708, allocations: 186.7 kB / 1.332 GB, free: 12.23 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.079e-05/0.3708, allocations: 16 kB / 1.332 GB, free: 12.21 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.481e-05/0.3708, allocations: 12 kB / 1.332 GB, free: 12.2 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002118/0.3711, allocations: 98.95 kB / 1.332 GB, free: 12.1 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.3711, allocations: 0 / 1.332 GB, free: 12.1 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.711e-05/0.3711, allocations: 7.984 kB / 1.332 GB, free: 12.09 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/0.3711, allocations: 7.938 kB / 1.332 GB, free: 12.08 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001201/0.3712, allocations: 51.97 kB / 1.332 GB, free: 12.03 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008386/0.3721, allocations: 388 kB / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001652/0.3722, allocations: 70.5 kB / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.518e-05/0.3723, allocations: 28.84 kB / 1.332 GB, free: 11.51 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.301e-05/0.3723, allocations: 0 / 1.332 GB, free: 11.51 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001981/0.3725, allocations: 95.36 kB / 1.333 GB, free: 11.41 MB / 1.029 GB Notification: Performance of pre-optimization done (n=14): time 1.513e-06/0.3725, allocations: 0 / 1.333 GB, free: 11.41 MB / 1.029 GB Notification: Performance of matching and sorting (n=14): time 0.0003473/0.3728, allocations: 147.6 kB / 1.333 GB, free: 11.26 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.799e-05/0.3729, allocations: 59.34 kB / 1.333 GB, free: 11.19 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002043/0.3731, allocations: 194.3 kB / 1.333 GB, free: 10.99 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.955e-05/0.3731, allocations: 37.7 kB / 1.333 GB, free: 10.95 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001059/0.3732, allocations: 124.5 kB / 1.333 GB, free: 10.82 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.498e-05/0.3733, allocations: 31.73 kB / 1.333 GB, free: 10.79 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.652e-05/0.3734, allocations: 57.67 kB / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001629/0.3735, allocations: 326.8 kB / 1.333 GB, free: 10.4 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.457e-05/0.3736, allocations: 27.98 kB / 1.334 GB, free: 10.37 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003349/0.3739, allocations: 239.3 kB / 1.334 GB, free: 10.08 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001546/0.3741, allocations: 116 kB / 1.334 GB, free: 9.953 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.3741, allocations: 0 / 1.334 GB, free: 9.953 MB / 1.029 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002552/0.3744, allocations: 145.5 kB / 1.334 GB, free: 9.805 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.3744, allocations: 8 kB / 1.334 GB, free: 9.797 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.3744, allocations: 0 / 1.334 GB, free: 9.797 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/0.3744, allocations: 4 kB / 1.334 GB, free: 9.793 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001093/0.3745, allocations: 23.92 kB / 1.334 GB, free: 9.77 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.216e-06/0.3745, allocations: 3.984 kB / 1.334 GB, free: 9.766 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000198/0.3747, allocations: 31.97 kB / 1.334 GB, free: 9.734 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.521e-05/0.3747, allocations: 8.219 kB / 1.334 GB, free: 9.727 MB / 1.029 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.0001423/0.3749, allocations: 133.6 kB / 1.334 GB, free: 9.586 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.008e-05/0.3749, allocations: 19.84 kB / 1.334 GB, free: 9.566 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002353/0.3751, allocations: 131 kB / 1.334 GB, free: 9.426 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.3751, allocations: 3.938 kB / 1.334 GB, free: 9.422 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.3751, allocations: 0 / 1.334 GB, free: 9.422 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.3751, allocations: 0 / 1.334 GB, free: 9.422 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005454/0.3757, allocations: 390 kB / 1.335 GB, free: 9.004 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.3757, allocations: 7.938 kB / 1.335 GB, free: 8.996 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.838e-05/0.3757, allocations: 8 kB / 1.335 GB, free: 8.988 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.3757, allocations: 0 / 1.335 GB, free: 8.988 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.229e-05/0.3757, allocations: 4 kB / 1.335 GB, free: 8.984 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.22e-06/0.3758, allocations: 7.984 kB / 1.335 GB, free: 8.977 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.113e-06/0.3758, allocations: 0 / 1.335 GB, free: 8.977 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002354/0.376, allocations: 216.7 kB / 1.335 GB, free: 8.75 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.701e-05/0.376, allocations: 23.89 kB / 1.335 GB, free: 8.727 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.338e-05/0.3761, allocations: 0 / 1.335 GB, free: 8.727 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001079/0.3762, allocations: 11.98 kB / 1.335 GB, free: 8.715 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.262e-05/0.3763, allocations: 20 kB / 1.335 GB, free: 8.695 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.665e-05/0.3763, allocations: 12 kB / 1.335 GB, free: 8.684 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001257/0.3764, allocations: 140.3 kB / 1.335 GB, free: 8.547 MB / 1.029 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3764, allocations: 0 / 1.335 GB, free: 8.547 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003069/0.3767, allocations: 43.89 kB / 1.335 GB, free: 8.504 MB / 1.029 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.0004122/0.3771, allocations: 169 kB / 1.335 GB, free: 8.355 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002384/0.3774, allocations: 94.72 kB / 1.335 GB, free: 8.266 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.3774, allocations: 0 / 1.335 GB, free: 8.266 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 8.721e-05/0.3775, allocations: 40.28 kB / 1.335 GB, free: 8.227 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004282/0.3779, allocations: 57.81 kB / 1.336 GB, free: 8.176 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006806/0.3786, allocations: 298.8 kB / 1.336 GB, free: 7.859 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001218/0.3787, allocations: 111.4 kB / 1.336 GB, free: 7.727 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 8.226e-05/0.3788, allocations: 33.39 kB / 1.336 GB, free: 7.695 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.924e-05/0.3788, allocations: 23.42 kB / 1.336 GB, free: 7.676 MB / 1.029 GB Notification: Performance of SimCode: time 4.41e-07/0.3788, allocations: 0 / 1.336 GB, free: 7.676 MB / 1.029 GB Notification: Performance of Templates: time 0.008674/0.3875, allocations: 3.646 MB / 1.34 GB, free: 4.09 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Plotters.Examples.Scatter.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Plotters.Examples.Scatter.pipe ; mkfifo Buildings_12_Buildings.Utilities.Plotters.Examples.Scatter.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Plotters.Examples.Scatter.pipe >> ../files/Buildings_12_Buildings.Utilities.Plotters.Examples.Scatter.sim & ./Buildings_12_Buildings.Utilities.Plotters.Examples.Scatter -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Plotters.Examples.Scatter.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Plotters.Examples.Scatter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Plotters_Examples_Scatter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Plotters.Examples.Scatter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.307377816992812]