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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001219/0.001219, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001426/0.001426, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.647/1.647, allocations: 223.3 MB / 240 MB, free: 5.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 3.172/3.172, allocations: 462.6 MB / 0.736 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0005833/0.0005834, allocations: 11.06 kB / 0.9021 GB, free: 36.63 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3537/0.3543, allocations: 159.6 MB / 1.058 GB, free: 5.285 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff): time 0.003831/0.3582, allocations: 1.506 MB / 1.059 GB, free: 3.766 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002325/0.3606, allocations: 0.9011 MB / 1.06 GB, free: 2.863 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002012/0.3608, allocations: 4 kB / 1.06 GB, free: 2.859 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002744/0.3611, allocations: 23.78 kB / 1.06 GB, free: 2.836 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0004827/0.3616, allocations: 99.58 kB / 1.06 GB, free: 2.738 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005045/0.3621, allocations: 147.7 kB / 1.061 GB, free: 2.594 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0004356/0.3626, allocations: 199.4 kB / 1.061 GB, free: 2.398 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002043/0.3628, allocations: 37.59 kB / 1.061 GB, free: 2.363 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002464/0.3631, allocations: 95.67 kB / 1.061 GB, free: 2.27 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005344/0.3684, allocations: 3.375 MB / 1.064 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.922e-05/0.3685, allocations: 8 kB / 1.064 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001159/0.3686, allocations: 27.94 kB / 1.064 GB, free: 14.86 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.262e-05/0.3687, allocations: 27.91 kB / 1.064 GB, free: 14.83 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 8.287e-05/0.3688, allocations: 57.56 kB / 1.064 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002302/0.369, allocations: 135.7 kB / 1.064 GB, free: 14.63 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.633e-06/0.369, allocations: 0 / 1.064 GB, free: 14.63 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.363e-06/0.369, allocations: 0 / 1.064 GB, free: 14.63 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.149e-06/0.369, allocations: 0 / 1.064 GB, free: 14.63 MB / 0.8262 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.0008511/0.3699, allocations: 0.5253 MB / 1.065 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.3699, allocations: 8.031 kB / 1.065 GB, free: 14.04 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.824e-05/0.37, allocations: 19.81 kB / 1.065 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003368/0.3704, allocations: 234.7 kB / 1.065 GB, free: 13.75 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.989e-05/0.3704, allocations: 15.98 kB / 1.065 GB, free: 13.73 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.41e-05/0.3704, allocations: 16 kB / 1.065 GB, free: 13.72 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002362/0.3707, allocations: 117.2 kB / 1.065 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.3707, allocations: 0 / 1.065 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.908e-05/0.3707, allocations: 3.984 kB / 1.065 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.456e-05/0.3707, allocations: 7.953 kB / 1.065 GB, free: 13.58 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001302/0.3709, allocations: 55.91 kB / 1.065 GB, free: 13.53 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009692/0.3719, allocations: 0.5552 MB / 1.066 GB, free: 12.92 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002149/0.3721, allocations: 93.12 kB / 1.066 GB, free: 12.81 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.379e-05/0.3722, allocations: 41.7 kB / 1.066 GB, free: 12.76 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.227e-05/0.3722, allocations: 4.125 kB / 1.066 GB, free: 12.76 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002708/0.3725, allocations: 129.1 kB / 1.066 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=15): time 1.723e-06/0.3725, allocations: 0 / 1.066 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of matching and sorting (n=15): time 0.0004032/0.3729, allocations: 163.4 kB / 1.066 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.727e-05/0.373, allocations: 77.11 kB / 1.066 GB, free: 12.36 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002463/0.3732, allocations: 202.7 kB / 1.067 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 5.662e-05/0.3733, allocations: 29.7 kB / 1.067 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001119/0.3734, allocations: 124.6 kB / 1.067 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.777e-05/0.3734, allocations: 35.53 kB / 1.067 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.989e-06/0.3735, allocations: 4 kB / 1.067 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000157/0.3736, allocations: 334.8 kB / 1.067 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.015e-05/0.3737, allocations: 36.3 kB / 1.067 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002431/0.374, allocations: 139.2 kB / 1.067 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.147e-05/0.374, allocations: 32 kB / 1.067 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.3741, allocations: 0 / 1.067 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002619/0.3743, allocations: 165.3 kB / 1.068 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.068e-05/0.3743, allocations: 9.562 kB / 1.068 GB, free: 11.2 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.373e-06/0.3744, allocations: 0 / 1.068 GB, free: 11.2 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.3744, allocations: 4 kB / 1.068 GB, free: 11.2 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.444e-05/0.3745, allocations: 16 kB / 1.068 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.337e-05/0.3745, allocations: 7.922 kB / 1.068 GB, free: 11.17 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002095/0.3747, allocations: 31.83 kB / 1.068 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.411e-05/0.3747, allocations: 8 kB / 1.068 GB, free: 11.13 MB / 0.8262 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.active,$PRE.plotConfiguration.tActivateLast,plotConfiguration.tActivateLast,$whenCondition2,$whenCondition4,$whenCondition3,$whenCondition1,sca.active,$PRE.sca.tActivateLast,sca.tActivateLast,sca.sampleTrigger,scaDel.active,$PRE.scaDel.tActivateLast,scaDel.tActivateLast,scaDel.sampleTrigger,booPul.y,$PRE.booPul.pulseStart,booPul.pulseStart,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001466/0.3749, allocations: 139.6 kB / 1.068 GB, free: 10.99 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.543e-05/0.3749, allocations: 23.8 kB / 1.068 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.311e-05/0.375, allocations: 17.53 kB / 1.068 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.92e-06/0.375, allocations: 0 / 1.068 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/0.375, allocations: 3.938 kB / 1.068 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.3751, allocations: 4 kB / 1.068 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006728/0.3757, allocations: 476.1 kB / 1.068 GB, free: 10.42 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.3757, allocations: 3.938 kB / 1.068 GB, free: 10.42 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.944e-05/0.3758, allocations: 4 kB / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.3758, allocations: 0 / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.574e-05/0.3758, allocations: 7.984 kB / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.3758, allocations: 0 / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.3758, allocations: 96 / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002744/0.3761, allocations: 240 kB / 1.068 GB, free: 10.15 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.416e-05/0.3762, allocations: 100.8 kB / 1.069 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.549e-05/0.3762, allocations: 4 kB / 1.069 GB, free: 10.03 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001277/0.3763, allocations: 15.98 kB / 1.069 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.529e-05/0.3764, allocations: 31.91 kB / 1.069 GB, free: 9.984 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.738e-05/0.3765, allocations: 7.984 kB / 1.069 GB, free: 9.977 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001306/0.3766, allocations: 150.6 kB / 1.069 GB, free: 9.832 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3766, allocations: 0 / 1.069 GB, free: 9.832 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003164/0.3769, allocations: 40 kB / 1.069 GB, free: 9.793 MB / 0.8262 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003521/0.3773, allocations: 160.9 kB / 1.069 GB, free: 9.648 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000225/0.3775, allocations: 101.4 kB / 1.069 GB, free: 9.551 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/0.3775, allocations: 4.312 kB / 1.069 GB, free: 9.547 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001099/0.3777, allocations: 51.91 kB / 1.069 GB, free: 9.496 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004189/0.3781, allocations: 61.7 kB / 1.069 GB, free: 9.438 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00063/0.3787, allocations: 322.2 kB / 1.069 GB, free: 9.09 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003661/0.3791, allocations: 0.7324 MB / 1.07 GB, free: 8.332 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001036/0.3792, allocations: 21.55 kB / 1.07 GB, free: 8.312 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.58e-05/0.3793, allocations: 23.42 kB / 1.07 GB, free: 8.289 MB / 0.8262 GB Notification: Performance of SimCode: time 4.51e-07/0.3793, allocations: 0 / 1.07 GB, free: 8.289 MB / 0.8262 GB Notification: Performance of Templates: time 0.007806/0.3871, allocations: 3.29 MB / 1.073 GB, free: 5.043 MB / 0.8262 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