Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.PlotterActivationLocalInputFirstOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_9_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_9_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.007767/0.007767, allocations: 104.7 kB / 15.74 MB, free: 6.484 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.001518/0.001518, allocations: 193.5 kB / 16.67 MB, free: 6.375 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.482/1.482, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.475/2.475, allocations: 390.2 MB / 0.6648 GB, free: 204 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 63.56 kB / 0.9508 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4171/0.4184, allocations: 140.4 MB / 1.088 GB, free: 1.488 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff): time 0.004482/0.4229, allocations: 1.733 MB / 1.09 GB, free: 15.74 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002158/0.4251, allocations: 0.8969 MB / 1.09 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001071/0.4252, allocations: 3.938 kB / 1.09 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002797/0.4255, allocations: 27.73 kB / 1.091 GB, free: 14.81 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0006064/0.4262, allocations: 127.4 kB / 1.091 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005575/0.4267, allocations: 158.8 kB / 1.091 GB, free: 14.53 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004154/0.4272, allocations: 243.3 kB / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002104/0.4274, allocations: 45.64 kB / 1.091 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001896/0.4276, allocations: 115.7 kB / 1.091 GB, free: 14.13 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01908/0.4467, allocations: 1.978 MB / 1.093 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001611/0.447, allocations: 16 kB / 1.093 GB, free: 12.67 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002406/0.4473, allocations: 39.98 kB / 1.093 GB, free: 12.63 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.000128/0.4474, allocations: 39.91 kB / 1.093 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.000232/0.4477, allocations: 95.44 kB / 1.093 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0006411/0.4483, allocations: 219.3 kB / 1.093 GB, free: 12.28 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.4483, allocations: 0 / 1.093 GB, free: 12.28 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.763e-06/0.4483, allocations: 0 / 1.093 GB, free: 12.28 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.446e-05/0.4484, allocations: 3.984 kB / 1.093 GB, free: 12.28 MB / 0.8575 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.001243/0.4496, allocations: 0.5527 MB / 1.094 GB, free: 11.66 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.094e-05/0.4497, allocations: 12.03 kB / 1.094 GB, free: 11.65 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001389/0.4498, allocations: 28.66 kB / 1.094 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004602/0.4503, allocations: 243.5 kB / 1.094 GB, free: 11.35 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.551e-05/0.4503, allocations: 12 kB / 1.094 GB, free: 11.34 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.974e-05/0.4504, allocations: 8 kB / 1.094 GB, free: 11.33 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003444/0.4508, allocations: 117.2 kB / 1.094 GB, free: 11.2 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.4508, allocations: 3.938 kB / 1.094 GB, free: 11.2 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.402e-05/0.4508, allocations: 4 kB / 1.094 GB, free: 11.2 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.09e-05/0.4508, allocations: 11.98 kB / 1.094 GB, free: 11.18 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001739/0.451, allocations: 47.97 kB / 1.095 GB, free: 11.14 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001271/0.4523, allocations: 0.5395 MB / 1.095 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000259/0.4526, allocations: 101.3 kB / 1.095 GB, free: 10.43 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000104/0.4527, allocations: 41.7 kB / 1.095 GB, free: 10.38 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.29e-05/0.4527, allocations: 0 / 1.095 GB, free: 10.38 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000294/0.453, allocations: 136.4 kB / 1.095 GB, free: 10.23 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=15): time 2.084e-06/0.4531, allocations: 0 / 1.095 GB, free: 10.23 MB / 0.8575 GB Notification: Performance of matching and sorting (n=15): time 0.0004224/0.4535, allocations: 161.5 kB / 1.095 GB, free: 10.07 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.337e-05/0.4536, allocations: 85.05 kB / 1.096 GB, free: 9.965 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002402/0.4538, allocations: 202.2 kB / 1.096 GB, free: 9.754 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 5.406e-05/0.4539, allocations: 33.7 kB / 1.096 GB, free: 9.715 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001436/0.454, allocations: 120.5 kB / 1.096 GB, free: 9.594 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.099e-05/0.4541, allocations: 35.55 kB / 1.096 GB, free: 9.559 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001518/0.4543, allocations: 69.73 kB / 1.096 GB, free: 9.484 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001647/0.4544, allocations: 330.8 kB / 1.096 GB, free: 9.152 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001331/0.4546, allocations: 27.98 kB / 1.096 GB, free: 9.125 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003658/0.455, allocations: 134.6 kB / 1.096 GB, free: 8.961 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002286/0.4552, allocations: 117.9 kB / 1.097 GB, free: 8.824 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.451e-06/0.4552, allocations: 4 kB / 1.097 GB, free: 8.82 MB / 0.8575 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004077/0.4556, allocations: 160.9 kB / 1.097 GB, free: 8.66 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.601e-05/0.4557, allocations: 4 kB / 1.097 GB, free: 8.656 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.196e-05/0.4557, allocations: 4 kB / 1.097 GB, free: 8.652 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.425e-05/0.4557, allocations: 0 / 1.097 GB, free: 8.652 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001455/0.4559, allocations: 19.92 kB / 1.097 GB, free: 8.633 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.592e-05/0.4559, allocations: 4 kB / 1.097 GB, free: 8.629 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003287/0.4562, allocations: 27.83 kB / 1.097 GB, free: 8.602 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.387e-05/0.4563, allocations: 8 kB / 1.097 GB, free: 8.594 MB / 0.8575 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.0002071/0.4565, allocations: 147.6 kB / 1.097 GB, free: 8.441 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.398e-05/0.4566, allocations: 15.81 kB / 1.097 GB, free: 8.426 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.487e-05/0.4566, allocations: 17.53 kB / 1.097 GB, free: 8.41 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.307e-06/0.4567, allocations: 7.984 kB / 1.097 GB, free: 8.402 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.967e-06/0.4567, allocations: 0 / 1.097 GB, free: 8.402 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/0.4567, allocations: 0 / 1.097 GB, free: 8.402 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009277/0.4576, allocations: 466.2 kB / 1.097 GB, free: 7.891 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.042e-06/0.4576, allocations: 3.984 kB / 1.097 GB, free: 7.887 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.606e-05/0.4577, allocations: 4 kB / 1.097 GB, free: 7.883 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.883e-06/0.4577, allocations: 4 kB / 1.097 GB, free: 7.879 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.624e-05/0.4577, allocations: 7.938 kB / 1.097 GB, free: 7.871 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.797e-06/0.4578, allocations: 7.938 kB / 1.097 GB, free: 7.863 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.4578, allocations: 96 / 1.097 GB, free: 7.863 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003965/0.4582, allocations: 244 kB / 1.098 GB, free: 7.605 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000106/0.4583, allocations: 88.92 kB / 1.098 GB, free: 7.5 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.454e-05/0.4583, allocations: 3.938 kB / 1.098 GB, free: 7.496 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000184/0.4585, allocations: 23.91 kB / 1.098 GB, free: 7.473 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001167/0.4587, allocations: 15.98 kB / 1.098 GB, free: 7.457 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.5e-05/0.4587, allocations: 8 kB / 1.098 GB, free: 7.449 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001737/0.4589, allocations: 140.5 kB / 1.098 GB, free: 7.312 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.1e-07/0.4589, allocations: 0 / 1.098 GB, free: 7.312 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003422/0.4592, allocations: 51.89 kB / 1.098 GB, free: 7.262 MB / 0.8575 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.0004744/0.4597, allocations: 175.9 kB / 1.098 GB, free: 7.105 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003573/0.4601, allocations: 95.91 kB / 1.098 GB, free: 7.012 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.4601, allocations: 0 / 1.098 GB, free: 7.012 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001476/0.4603, allocations: 59.91 kB / 1.098 GB, free: 6.953 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006958/0.461, allocations: 52.95 kB / 1.098 GB, free: 6.902 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008618/0.4619, allocations: 292.3 kB / 1.099 GB, free: 6.59 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003615/0.4622, allocations: 0.7203 MB / 1.099 GB, free: 5.844 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001173/0.4624, allocations: 25.53 kB / 1.099 GB, free: 5.82 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.673e-05/0.4625, allocations: 19.44 kB / 1.099 GB, free: 5.801 MB / 0.8575 GB Notification: Performance of SimCode: time 7.21e-07/0.4625, allocations: 0 / 1.099 GB, free: 5.801 MB / 0.8575 GB Notification: Performance of Templates: time 0.01206/0.4745, allocations: 3.679 MB / 1.103 GB, free: 2.164 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.makefile (rm -f Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; mkfifo Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe >> ../files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.sim & ./Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches