Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_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_11_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.00657/0.00657, allocations: 101.5 kB / 15.73 MB, free: 5.965 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.001589/0.001589, allocations: 188.6 kB / 16.67 MB, free: 5.887 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.381/1.381, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.665/2.665, allocations: 469.8 MB / 0.7425 GB, free: 3.359 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001454/0.001454, allocations: 59.91 kB / 1.065 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9281/0.9296, allocations: 159.1 MB / 1.221 GB, free: 2.07 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff): time 0.004663/0.9342, allocations: 1.742 MB / 1.222 GB, free: 324 kB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002376/0.9366, allocations: 0.9016 MB / 1.223 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001934/0.9368, allocations: 4 kB / 1.223 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0002892/0.9371, allocations: 27.72 kB / 1.223 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0006819/0.9378, allocations: 123.4 kB / 1.223 GB, free: 15.26 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005708/0.9383, allocations: 153.5 kB / 1.223 GB, free: 15.11 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0004461/0.9388, allocations: 239.4 kB / 1.224 GB, free: 14.88 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001359/0.9389, allocations: 25.67 kB / 1.224 GB, free: 14.86 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001832/0.9391, allocations: 111.7 kB / 1.224 GB, free: 14.75 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01207/0.9512, allocations: 2.036 MB / 1.226 GB, free: 13.25 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001164/0.9513, allocations: 20 kB / 1.226 GB, free: 13.23 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001596/0.9515, allocations: 43.97 kB / 1.226 GB, free: 13.19 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 9.037e-05/0.9516, allocations: 39.84 kB / 1.226 GB, free: 13.15 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.000151/0.9517, allocations: 95.55 kB / 1.226 GB, free: 13.06 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0005101/0.9522, allocations: 218.6 kB / 1.226 GB, free: 12.85 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.9522, allocations: 0 / 1.226 GB, free: 12.85 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.152e-06/0.9522, allocations: 0 / 1.226 GB, free: 12.85 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.102e-05/0.9522, allocations: 3.984 kB / 1.226 GB, free: 12.84 MB / 0.9512 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.001097/0.9533, allocations: 0.5604 MB / 1.227 GB, free: 12.22 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/0.9534, allocations: 8.031 kB / 1.227 GB, free: 12.21 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001079/0.9535, allocations: 20.84 kB / 1.227 GB, free: 12.2 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003381/0.9538, allocations: 236.8 kB / 1.227 GB, free: 11.93 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.014e-05/0.9538, allocations: 15.98 kB / 1.227 GB, free: 11.91 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.007e-05/0.9539, allocations: 16 kB / 1.227 GB, free: 11.89 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002155/0.9541, allocations: 85.66 kB / 1.227 GB, free: 11.8 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.9541, allocations: 3.938 kB / 1.227 GB, free: 11.8 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.635e-05/0.9541, allocations: 4 kB / 1.227 GB, free: 11.8 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.9541, allocations: 4 kB / 1.227 GB, free: 11.79 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001254/0.9543, allocations: 57.98 kB / 1.227 GB, free: 11.74 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009113/0.9552, allocations: 464.4 kB / 1.228 GB, free: 11.23 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004489/0.9556, allocations: 134.6 kB / 1.228 GB, free: 11.09 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.51e-05/0.9557, allocations: 28.84 kB / 1.228 GB, free: 11.06 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.923e-05/0.9557, allocations: 4 kB / 1.228 GB, free: 11.06 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003126/0.956, allocations: 115.4 kB / 1.228 GB, free: 10.93 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=16): time 2.064e-06/0.956, allocations: 0 / 1.228 GB, free: 10.93 MB / 0.9512 GB Notification: Performance of matching and sorting (n=16): time 0.0003703/0.9564, allocations: 165.4 kB / 1.228 GB, free: 10.77 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.852e-05/0.9564, allocations: 59.41 kB / 1.228 GB, free: 10.7 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002007/0.9566, allocations: 196.3 kB / 1.228 GB, free: 10.49 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.545e-05/0.9567, allocations: 37.69 kB / 1.228 GB, free: 10.45 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 9.364e-05/0.9568, allocations: 120.5 kB / 1.228 GB, free: 10.32 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 4.054e-05/0.9568, allocations: 39.7 kB / 1.228 GB, free: 10.28 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001076/0.9569, allocations: 61.67 kB / 1.229 GB, free: 10.21 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001285/0.957, allocations: 330.8 kB / 1.229 GB, free: 9.883 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.897e-05/0.9571, allocations: 31.98 kB / 1.229 GB, free: 9.852 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002454/0.9574, allocations: 127.6 kB / 1.229 GB, free: 9.699 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001525/0.9575, allocations: 102.6 kB / 1.229 GB, free: 9.586 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.9575, allocations: 0 / 1.229 GB, free: 9.586 MB / 0.9512 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002621/0.9578, allocations: 149.4 kB / 1.229 GB, free: 9.434 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.9578, allocations: 6.5 kB / 1.229 GB, free: 9.43 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.555e-06/0.9578, allocations: 4.125 kB / 1.229 GB, free: 9.426 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.857e-05/0.9578, allocations: 7.984 kB / 1.229 GB, free: 9.418 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.817e-05/0.9579, allocations: 19.94 kB / 1.229 GB, free: 9.398 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.9579, allocations: 0 / 1.229 GB, free: 9.398 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002146/0.9581, allocations: 19.94 kB / 1.229 GB, free: 9.379 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.561e-05/0.9581, allocations: 12 kB / 1.229 GB, free: 9.367 MB / 0.9512 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.0001535/0.9583, allocations: 144 kB / 1.229 GB, free: 9.219 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.157e-05/0.9583, allocations: 19.89 kB / 1.229 GB, free: 9.199 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.295e-05/0.9584, allocations: 29.86 kB / 1.23 GB, free: 9.164 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.9584, allocations: 3.938 kB / 1.23 GB, free: 9.16 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.9584, allocations: 0 / 1.23 GB, free: 9.16 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.9584, allocations: 4 kB / 1.23 GB, free: 9.156 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006658/0.959, allocations: 493.7 kB / 1.23 GB, free: 8.621 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.925e-06/0.9591, allocations: 4 kB / 1.23 GB, free: 8.617 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.942e-05/0.9591, allocations: 7.984 kB / 1.23 GB, free: 8.609 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.9591, allocations: 7.938 kB / 1.23 GB, free: 8.602 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.36e-05/0.9591, allocations: 8 kB / 1.23 GB, free: 8.594 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.115e-06/0.9591, allocations: 3.938 kB / 1.23 GB, free: 8.59 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.9591, allocations: 3.938 kB / 1.23 GB, free: 8.586 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002343/0.9593, allocations: 223.4 kB / 1.23 GB, free: 8.352 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 6.15e-05/0.9594, allocations: 92.95 kB / 1.23 GB, free: 8.242 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.076e-05/0.9594, allocations: 4 kB / 1.23 GB, free: 8.238 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001412/0.9596, allocations: 19.92 kB / 1.23 GB, free: 8.219 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001022/0.9597, allocations: 19.97 kB / 1.23 GB, free: 8.199 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.085e-05/0.9597, allocations: 11.98 kB / 1.23 GB, free: 8.188 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001516/0.9599, allocations: 144.2 kB / 1.231 GB, free: 8.047 MB / 0.9512 GB Notification: Performance of sort global known variables: time 9e-08/0.9599, allocations: 0 / 1.231 GB, free: 8.047 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003328/0.9602, allocations: 51.89 kB / 1.231 GB, free: 7.996 MB / 0.9512 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.0003977/0.9606, allocations: 165.6 kB / 1.231 GB, free: 7.844 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002892/0.9609, allocations: 95.84 kB / 1.231 GB, free: 7.75 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.9609, allocations: 4.25 kB / 1.231 GB, free: 7.746 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001047/0.961, allocations: 55.16 kB / 1.231 GB, free: 7.695 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004503/0.9614, allocations: 60.25 kB / 1.231 GB, free: 7.641 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006432/0.9621, allocations: 291 kB / 1.231 GB, free: 7.332 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003118/0.9624, allocations: 0.7242 MB / 1.232 GB, free: 6.582 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0001016/0.9625, allocations: 25.53 kB / 1.232 GB, free: 6.559 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.648e-05/0.9625, allocations: 27.36 kB / 1.232 GB, free: 6.535 MB / 0.9512 GB Notification: Performance of SimCode: time 5.51e-07/0.9625, allocations: 0 / 1.232 GB, free: 6.535 MB / 0.9512 GB Notification: Performance of Templates: time 0.008991/0.9715, allocations: 3.732 MB / 1.236 GB, free: 2.848 MB / 0.9512 GB make -j1 -f Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.makefile (rm -f Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; mkfifo Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe >> ../files/Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.sim & ./Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches