Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.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.001322/0.001322, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.001501/0.001501, allocations: 207.8 kB / 22.99 MB, free: 4.957 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.525/1.525, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.287/3.287, allocations: 0.49 GB / 0.7959 GB, free: 35.49 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.Validation.PlotterActivationAlwaysOn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn") [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.002017/0.002017, allocations: 63 kB / 1.155 GB, free: 25.25 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4135/0.4155, allocations: 176.1 MB / 1.327 GB, free: 1.008 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn): time 0.003975/0.4195, allocations: 1.622 MB / 1.329 GB, free: 15.38 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001582/0.4211, allocations: 0.5539 MB / 1.329 GB, free: 14.82 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.14e-05/0.4212, allocations: 3.938 kB / 1.329 GB, free: 14.82 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.000216/0.4214, allocations: 39.7 kB / 1.329 GB, free: 14.78 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004586/0.4218, allocations: 107.5 kB / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004864/0.4223, allocations: 150.6 kB / 1.329 GB, free: 14.53 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003914/0.4227, allocations: 223.4 kB / 1.33 GB, free: 14.31 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001388/0.4229, allocations: 13.75 kB / 1.33 GB, free: 14.29 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002612/0.4231, allocations: 107.7 kB / 1.33 GB, free: 14.19 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01424/0.4373, allocations: 1.588 MB / 1.331 GB, free: 13.01 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 7.256e-05/0.4374, allocations: 16 kB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001363/0.4376, allocations: 40 kB / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.941e-05/0.4376, allocations: 31.91 kB / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001293/0.4378, allocations: 71.69 kB / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000395/0.4382, allocations: 199.2 kB / 1.332 GB, free: 12.66 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.4382, allocations: 0 / 1.332 GB, free: 12.66 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.653e-06/0.4382, allocations: 4 kB / 1.332 GB, free: 12.66 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.614e-06/0.4382, allocations: 0 / 1.332 GB, free: 12.66 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0009496/0.4391, allocations: 460.8 kB / 1.332 GB, free: 12.16 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.4392, allocations: 12.03 kB / 1.332 GB, free: 12.15 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.626e-05/0.4392, allocations: 20.84 kB / 1.332 GB, free: 12.13 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003314/0.4396, allocations: 182.7 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.865e-05/0.4396, allocations: 15.94 kB / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.695e-05/0.4396, allocations: 8 kB / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001873/0.4398, allocations: 81.66 kB / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.4398, allocations: 0 / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.797e-05/0.4398, allocations: 4 kB / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.4398, allocations: 0 / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001/0.4399, allocations: 43.97 kB / 1.332 GB, free: 11.77 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008145/0.4408, allocations: 360.2 kB / 1.333 GB, free: 11.39 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000154/0.4409, allocations: 58.56 kB / 1.333 GB, free: 11.32 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.306e-05/0.441, allocations: 24.84 kB / 1.333 GB, free: 11.3 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.972e-05/0.441, allocations: 4 kB / 1.333 GB, free: 11.29 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000297/0.4413, allocations: 99.45 kB / 1.333 GB, free: 11.18 MB / 1.029 GB Notification: Performance of pre-optimization done (n=12): time 3.406e-06/0.4413, allocations: 7.922 kB / 1.333 GB, free: 11.18 MB / 1.029 GB Notification: Performance of matching and sorting (n=12): time 0.0003328/0.4416, allocations: 133.5 kB / 1.333 GB, free: 11.04 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.111e-05/0.4417, allocations: 51.41 kB / 1.333 GB, free: 10.98 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002238/0.4419, allocations: 195.3 kB / 1.333 GB, free: 10.77 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.468e-05/0.442, allocations: 33.7 kB / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001164/0.4421, allocations: 116 kB / 1.334 GB, free: 10.62 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.103e-05/0.4421, allocations: 31.78 kB / 1.334 GB, free: 10.59 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001082/0.4422, allocations: 53.67 kB / 1.334 GB, free: 10.53 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001747/0.4424, allocations: 326.8 kB / 1.334 GB, free: 10.2 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.836e-05/0.4425, allocations: 27.92 kB / 1.334 GB, free: 10.17 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003982/0.4428, allocations: 226.4 kB / 1.334 GB, free: 9.898 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001504/0.443, allocations: 91.47 kB / 1.334 GB, free: 9.797 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.443, allocations: 0 / 1.334 GB, free: 9.797 MB / 1.029 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002343/0.4432, allocations: 137.5 kB / 1.334 GB, free: 9.656 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.4433, allocations: 8 kB / 1.334 GB, free: 9.648 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.301e-06/0.4433, allocations: 3.984 kB / 1.334 GB, free: 9.645 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.718e-05/0.4433, allocations: 3.938 kB / 1.334 GB, free: 9.641 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.03e-05/0.4434, allocations: 20.11 kB / 1.334 GB, free: 9.621 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.155e-06/0.4434, allocations: 7.938 kB / 1.334 GB, free: 9.613 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001982/0.4436, allocations: 19.89 kB / 1.334 GB, free: 9.594 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.164e-05/0.4436, allocations: 4 kB / 1.334 GB, free: 9.59 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 15 (scaDel.sampleTrigger,scaDel.tActivateLast,$PRE.scaDel.tActivateLast,scaDel.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 (18): * Single equations (assignments): 18 * 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.0001375/0.4437, allocations: 137.6 kB / 1.335 GB, free: 9.445 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.045e-05/0.4438, allocations: 15.91 kB / 1.335 GB, free: 9.43 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.396e-05/0.4438, allocations: 21.39 kB / 1.335 GB, free: 9.402 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/0.4438, allocations: 3.938 kB / 1.335 GB, free: 9.398 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.89e-06/0.4438, allocations: 0 / 1.335 GB, free: 9.398 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.4438, allocations: 4 kB / 1.335 GB, free: 9.395 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005516/0.4444, allocations: 362 kB / 1.335 GB, free: 9.004 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.4444, allocations: 3.938 kB / 1.335 GB, free: 9 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.237e-05/0.4444, allocations: 3.984 kB / 1.335 GB, free: 8.996 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.4444, allocations: 4 kB / 1.335 GB, free: 8.992 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.927e-06/0.4444, allocations: 0 / 1.335 GB, free: 8.992 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.4444, allocations: 3.938 kB / 1.335 GB, free: 8.988 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.4444, allocations: 0 / 1.335 GB, free: 8.988 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002192/0.4446, allocations: 203.4 kB / 1.335 GB, free: 8.773 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.742e-05/0.4446, allocations: 19.84 kB / 1.335 GB, free: 8.754 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.537e-05/0.4447, allocations: 7.984 kB / 1.335 GB, free: 8.746 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.789e-05/0.4448, allocations: 8 kB / 1.335 GB, free: 8.738 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.418e-05/0.4448, allocations: 11.97 kB / 1.335 GB, free: 8.727 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.449e-05/0.4449, allocations: 8 kB / 1.335 GB, free: 8.719 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000133/0.445, allocations: 136.1 kB / 1.335 GB, free: 8.586 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.2e-07/0.445, allocations: 3.938 kB / 1.335 GB, free: 8.582 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002996/0.4453, allocations: 39.94 kB / 1.335 GB, free: 8.543 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 (scaDel.sampleTrigger,sca.sampleTrigger,plotConfiguration.active,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * 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.0004227/0.4457, allocations: 177.8 kB / 1.336 GB, free: 8.387 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002074/0.4459, allocations: 79.66 kB / 1.336 GB, free: 8.312 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.4459, allocations: 4.062 kB / 1.336 GB, free: 8.309 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 7.326e-05/0.446, allocations: 31.98 kB / 1.336 GB, free: 8.277 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000386/0.4464, allocations: 45.56 kB / 1.336 GB, free: 8.234 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007059/0.4471, allocations: 270.8 kB / 1.336 GB, free: 7.941 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001089/0.4472, allocations: 102.3 kB / 1.336 GB, free: 7.82 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.816e-05/0.4473, allocations: 25.41 kB / 1.336 GB, free: 7.797 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.84e-05/0.4473, allocations: 23.42 kB / 1.336 GB, free: 7.773 MB / 1.029 GB Notification: Performance of SimCode: time 4.41e-07/0.4473, allocations: 0 / 1.336 GB, free: 7.773 MB / 1.029 GB Notification: Performance of Templates: time 0.008327/0.4557, allocations: 3.637 MB / 1.34 GB, free: 4.203 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe ; mkfifo Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe >> ../files/Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.sim & ./Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.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.37190168100642]