Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.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.PlotterActivationLocalInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001489/0.001489, allocations: 105.1 kB / 16.41 MB, free: 6.41 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.001879/0.001879, allocations: 189.7 kB / 17.35 MB, free: 5.695 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.409/1.409, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.715/2.715, allocations: 461.9 MB / 0.7355 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00148/0.00148, allocations: 64.12 kB / 1.055 GB, free: 7.695 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9333/0.9348, allocations: 157.4 MB / 1.208 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput): time 0.003598/0.9385, allocations: 1.743 MB / 1.21 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001779/0.9403, allocations: 0.8968 MB / 1.211 GB, free: 10.94 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001531/0.9405, allocations: 0 / 1.211 GB, free: 10.94 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0002376/0.9407, allocations: 31.7 kB / 1.211 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0004796/0.9412, allocations: 115.4 kB / 1.211 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004805/0.9417, allocations: 154.5 kB / 1.211 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0003643/0.9421, allocations: 235.4 kB / 1.211 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001606/0.9423, allocations: 45.66 kB / 1.212 GB, free: 10.37 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001999/0.9425, allocations: 115.6 kB / 1.212 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01011/0.9526, allocations: 1.664 MB / 1.213 GB, free: 9.027 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001062/0.9527, allocations: 20 kB / 1.213 GB, free: 9.008 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001667/0.9529, allocations: 39.98 kB / 1.213 GB, free: 8.969 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 9.157e-05/0.953, allocations: 43.78 kB / 1.213 GB, free: 8.926 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001565/0.9532, allocations: 91.56 kB / 1.213 GB, free: 8.836 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0005027/0.9537, allocations: 215.3 kB / 1.214 GB, free: 8.625 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.9537, allocations: 0 / 1.214 GB, free: 8.625 MB / 0.9356 GB Notification: Performance of FrontEnd: time 4.889e-06/0.9537, allocations: 3.984 kB / 1.214 GB, free: 8.621 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.199e-05/0.9537, allocations: 0 / 1.214 GB, free: 8.621 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.0009955/0.9547, allocations: 0.5506 MB / 1.214 GB, free: 8.012 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/0.9548, allocations: 12.03 kB / 1.214 GB, free: 8 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001036/0.9549, allocations: 24.66 kB / 1.214 GB, free: 7.977 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003196/0.9552, allocations: 239.5 kB / 1.214 GB, free: 7.703 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.757e-05/0.9553, allocations: 23.88 kB / 1.214 GB, free: 7.68 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.569e-05/0.9553, allocations: 16 kB / 1.214 GB, free: 7.664 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000234/0.9555, allocations: 116.6 kB / 1.215 GB, free: 7.539 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.9556, allocations: 0 / 1.215 GB, free: 7.539 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.666e-05/0.9556, allocations: 4 kB / 1.215 GB, free: 7.535 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.174e-06/0.9556, allocations: 4 kB / 1.215 GB, free: 7.531 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001212/0.9557, allocations: 51.97 kB / 1.215 GB, free: 7.48 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009293/0.9567, allocations: 0.5357 MB / 1.215 GB, free: 6.891 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001769/0.9568, allocations: 93.08 kB / 1.215 GB, free: 6.781 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.167e-05/0.9569, allocations: 41.77 kB / 1.215 GB, free: 6.734 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.428e-05/0.957, allocations: 11.98 kB / 1.215 GB, free: 6.723 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000318/0.9573, allocations: 127.4 kB / 1.215 GB, free: 6.582 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=15): time 1.623e-06/0.9573, allocations: 3.938 kB / 1.215 GB, free: 6.578 MB / 0.9356 GB Notification: Performance of matching and sorting (n=15): time 0.0003882/0.9577, allocations: 161.4 kB / 1.216 GB, free: 6.414 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.957e-05/0.9578, allocations: 81.11 kB / 1.216 GB, free: 6.316 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002176/0.958, allocations: 209 kB / 1.216 GB, free: 6.098 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.231e-05/0.958, allocations: 33.7 kB / 1.216 GB, free: 6.059 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 9.832e-05/0.9581, allocations: 120.5 kB / 1.216 GB, free: 5.938 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.061e-05/0.9582, allocations: 35.53 kB / 1.216 GB, free: 5.902 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000103/0.9583, allocations: 57.69 kB / 1.216 GB, free: 5.84 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001299/0.9584, allocations: 330.8 kB / 1.216 GB, free: 5.508 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.077e-05/0.9585, allocations: 31.98 kB / 1.216 GB, free: 5.477 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002491/0.9588, allocations: 137.3 kB / 1.217 GB, free: 5.309 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001608/0.9589, allocations: 121.4 kB / 1.217 GB, free: 5.172 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.9589, allocations: 0 / 1.217 GB, free: 5.172 MB / 0.9356 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002807/0.9592, allocations: 153.4 kB / 1.217 GB, free: 5.016 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.9593, allocations: 8 kB / 1.217 GB, free: 5.008 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.9593, allocations: 96 / 1.217 GB, free: 5.008 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.427e-05/0.9593, allocations: 7.984 kB / 1.217 GB, free: 5 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001067/0.9594, allocations: 28.02 kB / 1.217 GB, free: 4.973 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.036e-05/0.9594, allocations: 4 kB / 1.217 GB, free: 4.969 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002464/0.9597, allocations: 27.83 kB / 1.217 GB, free: 4.941 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.246e-05/0.9597, allocations: 4 kB / 1.217 GB, free: 4.938 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.0001522/0.9599, allocations: 143.5 kB / 1.217 GB, free: 4.789 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.673e-05/0.9599, allocations: 19.81 kB / 1.217 GB, free: 4.77 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.046e-05/0.96, allocations: 17.53 kB / 1.217 GB, free: 4.75 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.489e-06/0.96, allocations: 3.984 kB / 1.217 GB, free: 4.746 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.613e-06/0.96, allocations: 4 kB / 1.217 GB, free: 4.742 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.722e-06/0.96, allocations: 4 kB / 1.217 GB, free: 4.738 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006421/0.9606, allocations: 458.2 kB / 1.218 GB, free: 4.234 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.033e-06/0.9607, allocations: 0 / 1.218 GB, free: 4.234 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.996e-05/0.9607, allocations: 7.938 kB / 1.218 GB, free: 4.227 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.969e-06/0.9607, allocations: 4 kB / 1.218 GB, free: 4.223 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.318e-05/0.9607, allocations: 4 kB / 1.218 GB, free: 4.219 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.242e-06/0.9607, allocations: 7.938 kB / 1.218 GB, free: 4.211 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.9607, allocations: 4 kB / 1.218 GB, free: 4.207 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002807/0.961, allocations: 232 kB / 1.218 GB, free: 3.961 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.083e-05/0.9611, allocations: 92.92 kB / 1.218 GB, free: 3.852 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.688e-05/0.9611, allocations: 0 / 1.218 GB, free: 3.852 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001402/0.9613, allocations: 23.91 kB / 1.218 GB, free: 3.828 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.369e-05/0.9614, allocations: 15.98 kB / 1.218 GB, free: 3.812 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.754e-05/0.9614, allocations: 11.98 kB / 1.218 GB, free: 3.801 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001428/0.9615, allocations: 144.2 kB / 1.218 GB, free: 3.66 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9615, allocations: 3.938 kB / 1.218 GB, free: 3.656 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003471/0.9619, allocations: 51.86 kB / 1.218 GB, free: 3.605 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.0004293/0.9623, allocations: 167.5 kB / 1.218 GB, free: 3.457 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002653/0.9626, allocations: 95.84 kB / 1.218 GB, free: 3.363 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.9626, allocations: 320 / 1.218 GB, free: 3.363 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001071/0.9627, allocations: 62.86 kB / 1.218 GB, free: 3.305 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000461/0.9632, allocations: 54.33 kB / 1.218 GB, free: 3.254 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006809/0.9639, allocations: 342 kB / 1.219 GB, free: 2.887 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002988/0.9642, allocations: 0.7243 MB / 1.22 GB, free: 2.137 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.153e-05/0.9643, allocations: 23.42 kB / 1.22 GB, free: 2.113 MB / 0.9356 GB Notification: Performance of SimCode: time 2.41e-07/0.9643, allocations: 0 / 1.22 GB, free: 2.113 MB / 0.9356 GB Notification: Performance of Templates: time 0.006513/0.9708, allocations: 3.218 MB / 1.223 GB, free: 14.92 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.makefile (rm -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.sim & ./Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches