Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.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.PlotterActivationGlobalInputFirstOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007989/0.007989, allocations: 103.2 kB / 15.73 MB, free: 6.059 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.001557/0.001557, allocations: 190.5 kB / 16.67 MB, free: 5.977 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.513/1.513, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.674/2.674, allocations: 461.9 MB / 0.7348 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 67.91 kB / 1.054 GB, free: 7.707 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8355/0.8368, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff): time 0.003179/0.84, allocations: 1.744 MB / 1.209 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001614/0.8416, allocations: 0.8968 MB / 1.21 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.184e-05/0.8417, allocations: 3.938 kB / 1.21 GB, free: 10.97 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0002397/0.842, allocations: 35.72 kB / 1.21 GB, free: 10.94 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0004138/0.8424, allocations: 115.4 kB / 1.21 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003742/0.8428, allocations: 154.8 kB / 1.211 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.000311/0.8431, allocations: 243.4 kB / 1.211 GB, free: 10.44 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001669/0.8433, allocations: 33.67 kB / 1.211 GB, free: 10.4 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001485/0.8434, allocations: 115.6 kB / 1.211 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01157/0.855, allocations: 2.023 MB / 1.213 GB, free: 8.812 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 6.723e-05/0.8551, allocations: 16 kB / 1.213 GB, free: 8.797 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000107/0.8552, allocations: 43.97 kB / 1.213 GB, free: 8.754 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 7.348e-05/0.8553, allocations: 43.78 kB / 1.213 GB, free: 8.711 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001245/0.8554, allocations: 91.56 kB / 1.213 GB, free: 8.621 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0003467/0.8558, allocations: 209.2 kB / 1.213 GB, free: 8.418 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.8558, allocations: 3.938 kB / 1.213 GB, free: 8.414 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.253e-06/0.8558, allocations: 0 / 1.213 GB, free: 8.414 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.743e-06/0.8558, allocations: 0 / 1.213 GB, free: 8.414 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0008064/0.8566, allocations: 0.5527 MB / 1.214 GB, free: 7.801 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.442e-05/0.8567, allocations: 12.03 kB / 1.214 GB, free: 7.789 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.898e-05/0.8567, allocations: 24.64 kB / 1.214 GB, free: 7.766 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002795/0.857, allocations: 235.4 kB / 1.214 GB, free: 7.496 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.889e-05/0.8571, allocations: 12 kB / 1.214 GB, free: 7.484 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.239e-05/0.8571, allocations: 15.98 kB / 1.214 GB, free: 7.469 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001836/0.8573, allocations: 98.62 kB / 1.214 GB, free: 7.367 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.765e-06/0.8573, allocations: 0 / 1.214 GB, free: 7.367 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.256e-05/0.8573, allocations: 0 / 1.214 GB, free: 7.367 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.8573, allocations: 4 kB / 1.214 GB, free: 7.363 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000114/0.8574, allocations: 51.97 kB / 1.214 GB, free: 7.312 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007693/0.8582, allocations: 468.2 kB / 1.215 GB, free: 6.805 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004142/0.8586, allocations: 134.7 kB / 1.215 GB, free: 6.664 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.243e-05/0.8587, allocations: 36.78 kB / 1.215 GB, free: 6.625 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.98e-05/0.8587, allocations: 4 kB / 1.215 GB, free: 6.621 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002313/0.859, allocations: 119.2 kB / 1.215 GB, free: 6.492 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=16): time 1.723e-06/0.859, allocations: 0 / 1.215 GB, free: 6.492 MB / 0.9356 GB Notification: Performance of matching and sorting (n=16): time 0.0003337/0.8593, allocations: 157.4 kB / 1.215 GB, free: 6.332 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.968e-05/0.8594, allocations: 63.39 kB / 1.215 GB, free: 6.258 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001786/0.8596, allocations: 192.3 kB / 1.215 GB, free: 6.055 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.928e-05/0.8596, allocations: 33.7 kB / 1.215 GB, free: 6.016 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.982e-05/0.8597, allocations: 136.3 kB / 1.216 GB, free: 5.879 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.228e-05/0.8597, allocations: 31.62 kB / 1.216 GB, free: 5.848 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.077e-05/0.8598, allocations: 53.67 kB / 1.216 GB, free: 5.789 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001043/0.8599, allocations: 330.8 kB / 1.216 GB, free: 5.457 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.795e-05/0.86, allocations: 35.98 kB / 1.216 GB, free: 5.422 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002326/0.8603, allocations: 127.6 kB / 1.216 GB, free: 5.27 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001269/0.8604, allocations: 101.7 kB / 1.216 GB, free: 5.156 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.195e-06/0.8604, allocations: 0 / 1.216 GB, free: 5.156 MB / 0.9356 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002417/0.8607, allocations: 157.3 kB / 1.216 GB, free: 4.996 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.8607, allocations: 10.03 kB / 1.216 GB, free: 4.988 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.8607, allocations: 0 / 1.216 GB, free: 4.988 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.8607, allocations: 4 kB / 1.216 GB, free: 4.984 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.199e-05/0.8608, allocations: 23.92 kB / 1.216 GB, free: 4.961 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.221e-06/0.8608, allocations: 0 / 1.216 GB, free: 4.961 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001999/0.861, allocations: 19.92 kB / 1.216 GB, free: 4.941 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.306e-05/0.861, allocations: 8.047 kB / 1.216 GB, free: 4.934 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition3,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,plotConfiguration.tActivateLast,$PRE.plotConfiguration.tActivateLast,plotConfiguration.active,$whenCondition1,$whenCondition2,$whenCondition4,$whenCondition5) * 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.0001256/0.8611, allocations: 147.6 kB / 1.217 GB, free: 4.781 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.094e-05/0.8612, allocations: 19.72 kB / 1.217 GB, free: 4.762 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.545e-05/0.8612, allocations: 21.88 kB / 1.217 GB, free: 4.738 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.8612, allocations: 0 / 1.217 GB, free: 4.738 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.8613, allocations: 0 / 1.217 GB, free: 4.738 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.269e-06/0.8613, allocations: 3.984 kB / 1.217 GB, free: 4.734 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006206/0.8619, allocations: 0.4892 MB / 1.217 GB, free: 4.191 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.8619, allocations: 7.938 kB / 1.217 GB, free: 4.184 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.383e-05/0.8619, allocations: 4 kB / 1.217 GB, free: 4.18 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.8619, allocations: 3.984 kB / 1.217 GB, free: 4.176 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.373e-05/0.862, allocations: 7.938 kB / 1.217 GB, free: 4.168 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.862, allocations: 4 kB / 1.217 GB, free: 4.164 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.862, allocations: 0 / 1.217 GB, free: 4.164 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002155/0.8622, allocations: 223.3 kB / 1.217 GB, free: 3.93 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.069e-05/0.8622, allocations: 92.86 kB / 1.217 GB, free: 3.82 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.499e-05/0.8623, allocations: 11.94 kB / 1.217 GB, free: 3.809 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001264/0.8624, allocations: 11.98 kB / 1.217 GB, free: 3.797 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.995e-05/0.8625, allocations: 23.91 kB / 1.217 GB, free: 3.773 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.29e-05/0.8625, allocations: 8 kB / 1.217 GB, free: 3.766 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001148/0.8626, allocations: 144.2 kB / 1.218 GB, free: 3.625 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8627, allocations: 0 / 1.218 GB, free: 3.625 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003091/0.863, allocations: 47.98 kB / 1.218 GB, free: 3.578 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 (scaDel.sampleTrigger,sca.sampleTrigger,plotConfiguration.active,booPul.y,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast,booPul.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * 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.0002938/0.8633, allocations: 168.5 kB / 1.218 GB, free: 3.426 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002277/0.8635, allocations: 114.2 kB / 1.218 GB, free: 3.316 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.8635, allocations: 0 / 1.218 GB, free: 3.316 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 9.314e-05/0.8636, allocations: 51.92 kB / 1.218 GB, free: 3.266 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000393/0.864, allocations: 56.5 kB / 1.218 GB, free: 3.219 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005092/0.8645, allocations: 287.6 kB / 1.218 GB, free: 2.914 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002483/0.8648, allocations: 0.7242 MB / 1.219 GB, free: 2.164 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 7.987e-05/0.8649, allocations: 25.53 kB / 1.219 GB, free: 2.141 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.383e-05/0.8649, allocations: 19.44 kB / 1.219 GB, free: 2.121 MB / 0.9356 GB Notification: Performance of SimCode: time 3.01e-07/0.8649, allocations: 0 / 1.219 GB, free: 2.121 MB / 0.9356 GB Notification: Performance of Templates: time 0.007882/0.8728, allocations: 3.732 MB / 1.223 GB, free: 14.43 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.makefile (rm -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.sim & ./Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches