Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.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.Validation.PlotterActivationLocalInputFirstOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008836/0.008836, allocations: 102 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.001944/0.001944, allocations: 192.1 kB / 16.67 MB, free: 5.961 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.385/1.385, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.651/2.651, allocations: 461.9 MB / 0.7348 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001199/0.001199, allocations: 59.91 kB / 1.054 GB, free: 7.68 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9299/0.9311, allocations: 157.4 MB / 1.208 GB, free: 13.56 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff): time 0.003623/0.9348, allocations: 1.752 MB / 1.209 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001624/0.9364, allocations: 0.9007 MB / 1.21 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.562e-05/0.9365, allocations: 3.938 kB / 1.21 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0002125/0.9367, allocations: 23.73 kB / 1.21 GB, free: 10.87 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0004177/0.9372, allocations: 119.4 kB / 1.21 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.00038/0.9376, allocations: 151.7 kB / 1.211 GB, free: 10.6 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002792/0.9379, allocations: 239.4 kB / 1.211 GB, free: 10.37 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001445/0.938, allocations: 41.67 kB / 1.211 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001252/0.9381, allocations: 111.7 kB / 1.211 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0113/0.9495, allocations: 1.989 MB / 1.213 GB, free: 8.762 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 7.918e-05/0.9496, allocations: 20 kB / 1.213 GB, free: 8.742 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001282/0.9497, allocations: 39.98 kB / 1.213 GB, free: 8.703 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 7.451e-05/0.9498, allocations: 39.84 kB / 1.213 GB, free: 8.664 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001202/0.9499, allocations: 87.56 kB / 1.213 GB, free: 8.578 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0003622/0.9503, allocations: 223.2 kB / 1.213 GB, free: 8.359 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.9503, allocations: 7.984 kB / 1.213 GB, free: 8.352 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.252e-06/0.9503, allocations: 0 / 1.213 GB, free: 8.352 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.831e-06/0.9503, allocations: 3.938 kB / 1.213 GB, free: 8.348 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0008163/0.9511, allocations: 0.5429 MB / 1.214 GB, free: 7.746 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.9512, allocations: 12.03 kB / 1.214 GB, free: 7.734 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.254e-05/0.9512, allocations: 32.66 kB / 1.214 GB, free: 7.703 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002875/0.9515, allocations: 243.5 kB / 1.214 GB, free: 7.426 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.447e-05/0.9516, allocations: 12 kB / 1.214 GB, free: 7.414 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.552e-05/0.9516, allocations: 12 kB / 1.214 GB, free: 7.402 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002095/0.9518, allocations: 120.8 kB / 1.214 GB, free: 7.273 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.9518, allocations: 0 / 1.214 GB, free: 7.273 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.452e-05/0.9519, allocations: 4 kB / 1.214 GB, free: 7.27 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.77e-05/0.9519, allocations: 0 / 1.214 GB, free: 7.27 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001134/0.952, allocations: 59.91 kB / 1.214 GB, free: 7.211 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008156/0.9528, allocations: 0.5357 MB / 1.215 GB, free: 6.621 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001503/0.953, allocations: 97.14 kB / 1.215 GB, free: 6.508 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.402e-05/0.9531, allocations: 41.89 kB / 1.215 GB, free: 6.461 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.813e-05/0.9531, allocations: 3.984 kB / 1.215 GB, free: 6.457 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002694/0.9534, allocations: 129.1 kB / 1.215 GB, free: 6.312 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=15): time 1.472e-06/0.9534, allocations: 4 kB / 1.215 GB, free: 6.309 MB / 0.9356 GB Notification: Performance of matching and sorting (n=15): time 0.0003433/0.9537, allocations: 157.4 kB / 1.215 GB, free: 6.148 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.592e-05/0.9538, allocations: 85.11 kB / 1.215 GB, free: 6.047 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002096/0.954, allocations: 200.2 kB / 1.216 GB, free: 5.836 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.152e-05/0.954, allocations: 33.7 kB / 1.216 GB, free: 5.797 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 8.745e-05/0.9541, allocations: 120.5 kB / 1.216 GB, free: 5.676 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.198e-05/0.9542, allocations: 39.53 kB / 1.216 GB, free: 5.637 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.376e-05/0.9543, allocations: 53.81 kB / 1.216 GB, free: 5.578 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001192/0.9544, allocations: 334.8 kB / 1.216 GB, free: 5.242 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.139e-05/0.9545, allocations: 31.98 kB / 1.216 GB, free: 5.211 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000233/0.9547, allocations: 141.3 kB / 1.216 GB, free: 5.039 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001343/0.9548, allocations: 114 kB / 1.216 GB, free: 4.906 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.9548, allocations: 0 / 1.216 GB, free: 4.906 MB / 0.9356 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002447/0.9551, allocations: 164.6 kB / 1.217 GB, free: 4.742 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.9551, allocations: 4 kB / 1.217 GB, free: 4.738 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.9551, allocations: 4 kB / 1.217 GB, free: 4.734 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.9552, allocations: 4 kB / 1.217 GB, free: 4.73 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.886e-05/0.9552, allocations: 23.92 kB / 1.217 GB, free: 4.707 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.9553, allocations: 0 / 1.217 GB, free: 4.707 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002074/0.9555, allocations: 31.77 kB / 1.217 GB, free: 4.676 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.259e-05/0.9555, allocations: 8 kB / 1.217 GB, free: 4.668 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 19 (plotConfiguration.tActivateLast,$PRE.plotConfiguration.tActivateLast,plotConfiguration.active,$whenCondition2,booPul.pulseStart,$PRE.booPul.pulseStart,booPul.y,scaDel.sampleTrigger,scaDel.tActivateLast,$PRE.scaDel.tActivateLast,scaDel.active,sca.sampleTrigger,sca.tActivateLast,$PRE.sca.tActivateLast,sca.active,$whenCondition1,$whenCondition3,$whenCondition4,plotConfiguration.activate_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 22 * 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.0001282/0.9556, allocations: 143.6 kB / 1.217 GB, free: 4.52 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.206e-05/0.9557, allocations: 15.81 kB / 1.217 GB, free: 4.504 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.317e-05/0.9557, allocations: 29.39 kB / 1.217 GB, free: 4.473 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.9557, allocations: 4 kB / 1.217 GB, free: 4.469 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.9557, allocations: 0 / 1.217 GB, free: 4.469 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.9557, allocations: 0 / 1.217 GB, free: 4.469 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005905/0.9563, allocations: 462.2 kB / 1.217 GB, free: 3.961 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.9563, allocations: 0 / 1.217 GB, free: 3.961 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.382e-05/0.9564, allocations: 8 kB / 1.217 GB, free: 3.953 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.9564, allocations: 0 / 1.217 GB, free: 3.953 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.561e-05/0.9564, allocations: 8 kB / 1.217 GB, free: 3.945 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.9564, allocations: 3.938 kB / 1.217 GB, free: 3.941 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.9564, allocations: 0 / 1.217 GB, free: 3.941 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002204/0.9566, allocations: 239.3 kB / 1.217 GB, free: 3.691 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.93e-05/0.9567, allocations: 88.92 kB / 1.218 GB, free: 3.586 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.571e-05/0.9567, allocations: 12 kB / 1.218 GB, free: 3.574 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001253/0.9569, allocations: 15.91 kB / 1.218 GB, free: 3.559 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.101e-05/0.957, allocations: 19.98 kB / 1.218 GB, free: 3.539 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.574e-05/0.957, allocations: 11.98 kB / 1.218 GB, free: 3.527 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001211/0.9571, allocations: 140.2 kB / 1.218 GB, free: 3.391 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9571, allocations: 0 / 1.218 GB, free: 3.391 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000303/0.9574, allocations: 47.92 kB / 1.218 GB, free: 3.344 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 14 (sca.sampleTrigger,scaDel.sampleTrigger,booPul.y,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast,booPul.pulseStart,plotConfiguration.active,plotConfiguration.tActivateLast) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0003479/0.9578, allocations: 170.7 kB / 1.218 GB, free: 3.188 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002323/0.958, allocations: 95.84 kB / 1.218 GB, free: 3.094 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.958, allocations: 0 / 1.218 GB, free: 3.094 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 9.472e-05/0.9581, allocations: 47.92 kB / 1.218 GB, free: 3.047 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004249/0.9586, allocations: 59.5 kB / 1.218 GB, free: 2.996 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005597/0.9591, allocations: 300.6 kB / 1.218 GB, free: 2.676 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002974/0.9594, allocations: 0.7164 MB / 1.219 GB, free: 1.934 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 7.456e-05/0.9595, allocations: 21.53 kB / 1.219 GB, free: 1.914 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.73e-05/0.9596, allocations: 31.42 kB / 1.219 GB, free: 1.883 MB / 0.9356 GB Notification: Performance of SimCode: time 2.3e-07/0.9596, allocations: 0 / 1.219 GB, free: 1.883 MB / 0.9356 GB Notification: Performance of Templates: time 0.007387/0.967, allocations: 3.756 MB / 1.223 GB, free: 14.17 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.makefile (rm -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.sim & ./Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches