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.001829/0.001829, allocations: 88.39 kB / 20.23 MB, free: 4.176 MB / 18.57 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.001869/0.001869, allocations: 161.3 kB / 23.55 MB, free: 0.8672 MB / 18.57 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.48/1.48, allocations: 177.1 MB / 203.9 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.881/2.881, allocations: 377.8 MB / 0.6232 GB, free: 8.504 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.843e-06/1.843e-06, allocations: 0 / 0.8108 GB, free: 2.152 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.89e-05/3.075e-05, allocations: 17.53 kB / 0.8108 GB, free: 2.137 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn): time 0.004512/0.004543, allocations: 1.626 MB / 0.8124 GB, free: 0.5117 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001836/0.006379, allocations: 0.5675 MB / 0.8129 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.678e-05/0.006475, allocations: 3.938 kB / 0.8129 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0002398/0.006715, allocations: 24.34 kB / 0.8129 GB, free: 15.92 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0005331/0.007248, allocations: 116.5 kB / 0.813 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005389/0.007787, allocations: 151.6 kB / 0.8132 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0004407/0.008228, allocations: 216.1 kB / 0.8134 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000116/0.008344, allocations: 17.8 kB / 0.8134 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002858/0.00863, allocations: 138.1 kB / 0.8135 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01699/0.02562, allocations: 2.508 MB / 0.816 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 7.26e-05/0.02569, allocations: 17.69 kB / 0.816 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001184/0.02581, allocations: 31.94 kB / 0.816 GB, free: 13.78 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 8.06e-05/0.02589, allocations: 39.83 kB / 0.8161 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001195/0.02601, allocations: 55.88 kB / 0.8161 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0004792/0.02649, allocations: 223.3 kB / 0.8163 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.02649, allocations: 0.9062 kB / 0.8163 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.313e-06/0.02649, allocations: 0 / 0.8163 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 6.522e-06/0.0265, allocations: 0.5312 kB / 0.8163 GB, free: 13.46 MB / 0.7761 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.000893/0.02739, allocations: 457.9 kB / 0.8168 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.02743, allocations: 13.22 kB / 0.8168 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001071/0.02754, allocations: 28.78 kB / 0.8168 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003174/0.02786, allocations: 174.8 kB / 0.817 GB, free: 12.74 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.013e-05/0.02788, allocations: 8.906 kB / 0.817 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.848e-05/0.02791, allocations: 12.38 kB / 0.817 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002031/0.02812, allocations: 86.97 kB / 0.8171 GB, free: 12.63 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.02813, allocations: 0 / 0.8171 GB, free: 12.63 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.314e-05/0.02814, allocations: 0 / 0.8171 GB, free: 12.63 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.02815, allocations: 4 kB / 0.8171 GB, free: 12.63 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001168/0.02826, allocations: 52.73 kB / 0.8172 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008355/0.0291, allocations: 350.4 kB / 0.8175 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001681/0.02927, allocations: 66.48 kB / 0.8175 GB, free: 12.13 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.058e-05/0.02933, allocations: 29.69 kB / 0.8176 GB, free: 12.1 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.789e-05/0.02934, allocations: 0 / 0.8176 GB, free: 12.1 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001827/0.02953, allocations: 88.44 kB / 0.8177 GB, free: 12 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=12): time 1.343e-06/0.02953, allocations: 4 kB / 0.8177 GB, free: 12 MB / 0.7761 GB Notification: Performance of matching and sorting (n=12): time 0.0003478/0.02988, allocations: 135 kB / 0.8178 GB, free: 11.86 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.23e-05/0.02993, allocations: 55.41 kB / 0.8178 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002543/0.03018, allocations: 200.2 kB / 0.818 GB, free: 11.59 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 4.194e-05/0.03023, allocations: 29.7 kB / 0.8181 GB, free: 11.55 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001157/0.03034, allocations: 121.6 kB / 0.8182 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.745e-05/0.03038, allocations: 27.8 kB / 0.8182 GB, free: 11.4 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001059/0.03048, allocations: 53.67 kB / 0.8183 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001985/0.03068, allocations: 326.8 kB / 0.8186 GB, free: 11.02 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.765e-05/0.03075, allocations: 26.89 kB / 0.8186 GB, free: 10.99 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003856/0.03114, allocations: 226.5 kB / 0.8188 GB, free: 10.72 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001578/0.03129, allocations: 95.53 kB / 0.8189 GB, free: 10.61 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.0313, allocations: 0 / 0.8189 GB, free: 10.61 MB / 0.7761 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002791/0.03158, allocations: 143.3 kB / 0.819 GB, free: 10.47 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.03159, allocations: 4 kB / 0.819 GB, free: 10.46 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.74e-06/0.0316, allocations: 0 / 0.819 GB, free: 10.46 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.507e-05/0.03162, allocations: 4.875 kB / 0.819 GB, free: 10.46 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.82e-05/0.03171, allocations: 15.94 kB / 0.8191 GB, free: 10.45 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.067e-05/0.03172, allocations: 9.328 kB / 0.8191 GB, free: 10.44 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002106/0.03193, allocations: 19.83 kB / 0.8191 GB, free: 10.42 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.782e-05/0.03195, allocations: 8 kB / 0.8191 GB, free: 10.41 MB / 0.7761 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.0001602/0.03211, allocations: 138.5 kB / 0.8192 GB, free: 10.27 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.132e-05/0.03215, allocations: 19.91 kB / 0.8193 GB, free: 10.25 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.295e-05/0.03219, allocations: 22.02 kB / 0.8193 GB, free: 10.23 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.0322, allocations: 0 / 0.8193 GB, free: 10.23 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.0322, allocations: 0.6562 kB / 0.8193 GB, free: 10.23 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.544e-06/0.03221, allocations: 6.656 kB / 0.8193 GB, free: 10.23 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006199/0.03283, allocations: 369.9 kB / 0.8196 GB, free: 9.828 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.03283, allocations: 0 / 0.8196 GB, free: 9.828 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.997e-05/0.03286, allocations: 7.984 kB / 0.8196 GB, free: 9.82 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.03286, allocations: 3.938 kB / 0.8196 GB, free: 9.816 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.398e-05/0.03288, allocations: 7.938 kB / 0.8196 GB, free: 9.809 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.973e-06/0.03288, allocations: 0 / 0.8196 GB, free: 9.809 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.03288, allocations: 2.719 kB / 0.8197 GB, free: 9.809 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002682/0.03315, allocations: 203.4 kB / 0.8198 GB, free: 9.594 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.939e-05/0.03318, allocations: 15.91 kB / 0.8199 GB, free: 9.578 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.007e-05/0.03321, allocations: 11.92 kB / 0.8199 GB, free: 9.566 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001029/0.03331, allocations: 4 kB / 0.8199 GB, free: 9.562 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.389e-05/0.03339, allocations: 15.97 kB / 0.8199 GB, free: 9.547 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.531e-05/0.03341, allocations: 4.938 kB / 0.8199 GB, free: 9.543 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001536/0.03356, allocations: 136.1 kB / 0.82 GB, free: 9.41 MB / 0.7761 GB Notification: Performance of sort global known variables: time 9e-08/0.03356, allocations: 0 / 0.82 GB, free: 9.41 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003434/0.03391, allocations: 45.06 kB / 0.8201 GB, free: 9.367 MB / 0.7761 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.0004719/0.03438, allocations: 167.4 kB / 0.8202 GB, free: 9.223 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002166/0.0346, allocations: 75.89 kB / 0.8203 GB, free: 9.148 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.0346, allocations: 6.75 kB / 0.8203 GB, free: 9.145 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 8.882e-05/0.03469, allocations: 39.92 kB / 0.8203 GB, free: 9.105 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004155/0.0351, allocations: 39.91 kB / 0.8204 GB, free: 9.066 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006945/0.0358, allocations: 283.3 kB / 0.8207 GB, free: 8.762 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001267/0.03592, allocations: 104.5 kB / 0.8208 GB, free: 8.645 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 8.159e-05/0.03601, allocations: 25.42 kB / 0.8208 GB, free: 8.617 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.397e-05/0.03607, allocations: 28.92 kB / 0.8208 GB, free: 8.59 MB / 0.7761 GB Notification: Performance of SimCode: time 6.11e-07/0.03607, allocations: 384 / 0.8208 GB, free: 8.59 MB / 0.7761 GB Notification: Performance of Templates: time 0.008678/0.04475, allocations: 3.545 MB / 0.8243 GB, free: 5.102 MB / 0.7761 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 -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/jenkins/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: 7.859256658004597]