Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.008053/0.008053, allocations: 97.3 kB / 15.73 MB, free: 6.035 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.001795/0.001795, allocations: 201.7 kB / 16.68 MB, free: 5.961 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.471/1.471, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.843/2.843, allocations: 437 MB / 0.7105 GB, free: 5.059 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001458/0.001458, allocations: 71.88 kB / 1.019 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3472/0.3487, allocations: 151.6 MB / 1.167 GB, free: 6.824 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff): time 0.003268/0.352, allocations: 1.742 MB / 1.168 GB, free: 5.062 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001676/0.3537, allocations: 0.9046 MB / 1.169 GB, free: 4.156 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001507/0.3539, allocations: 0 / 1.169 GB, free: 4.156 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0002447/0.3542, allocations: 27.73 kB / 1.169 GB, free: 4.129 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.000417/0.3546, allocations: 119.4 kB / 1.169 GB, free: 4.012 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004123/0.355, allocations: 155.7 kB / 1.169 GB, free: 3.859 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0003012/0.3553, allocations: 243.3 kB / 1.17 GB, free: 3.621 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00015/0.3555, allocations: 37.66 kB / 1.17 GB, free: 3.582 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001585/0.3557, allocations: 115.7 kB / 1.17 GB, free: 3.469 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01172/0.3674, allocations: 1.986 MB / 1.172 GB, free: 2.012 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 9.261e-05/0.3675, allocations: 20 kB / 1.172 GB, free: 1.992 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000145/0.3676, allocations: 43.97 kB / 1.172 GB, free: 1.949 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 8.066e-05/0.3677, allocations: 35.84 kB / 1.172 GB, free: 1.914 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001515/0.3679, allocations: 91.55 kB / 1.172 GB, free: 1.824 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0004438/0.3683, allocations: 231.1 kB / 1.172 GB, free: 1.598 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.3684, allocations: 4 kB / 1.172 GB, free: 1.594 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.383e-06/0.3684, allocations: 0 / 1.172 GB, free: 1.594 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.498e-05/0.3684, allocations: 0 / 1.172 GB, free: 1.594 MB / 0.92 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.0009158/0.3693, allocations: 0.5487 MB / 1.173 GB, free: 0.9844 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.183e-05/0.3694, allocations: 12.03 kB / 1.173 GB, free: 0.9727 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.674e-05/0.3695, allocations: 16.84 kB / 1.173 GB, free: 0.957 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002987/0.3698, allocations: 251.5 kB / 1.173 GB, free: 0.6719 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.879e-05/0.3698, allocations: 12 kB / 1.173 GB, free: 0.6602 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.487e-05/0.3698, allocations: 12 kB / 1.173 GB, free: 0.6484 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002278/0.3701, allocations: 109.9 kB / 1.173 GB, free: 0.5312 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.3701, allocations: 0 / 1.173 GB, free: 0.5312 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.23e-05/0.3701, allocations: 11.98 kB / 1.173 GB, free: 0.5195 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.104e-06/0.3701, allocations: 0 / 1.173 GB, free: 0.5195 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001248/0.3703, allocations: 55.91 kB / 1.173 GB, free: 476 kB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008925/0.3712, allocations: 0.5474 MB / 1.174 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001751/0.3713, allocations: 93.14 kB / 1.174 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.969e-05/0.3714, allocations: 53.77 kB / 1.174 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.019e-05/0.3715, allocations: 0 / 1.174 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002902/0.3718, allocations: 125 kB / 1.174 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=15): time 1.303e-06/0.3718, allocations: 0 / 1.174 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of matching and sorting (n=15): time 0.0003517/0.3721, allocations: 169.4 kB / 1.174 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.959e-05/0.3722, allocations: 81.11 kB / 1.174 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002043/0.3724, allocations: 198.5 kB / 1.174 GB, free: 15.08 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.857e-05/0.3724, allocations: 33.7 kB / 1.174 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 9.242e-05/0.3725, allocations: 132.4 kB / 1.175 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.103e-05/0.3726, allocations: 31.73 kB / 1.175 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001123/0.3727, allocations: 57.69 kB / 1.175 GB, free: 14.82 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001174/0.3728, allocations: 334.9 kB / 1.175 GB, free: 14.48 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.153e-05/0.3729, allocations: 39.92 kB / 1.175 GB, free: 14.44 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00024/0.3731, allocations: 133.3 kB / 1.175 GB, free: 14.28 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001439/0.3733, allocations: 113.9 kB / 1.175 GB, free: 14.14 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.3733, allocations: 0 / 1.175 GB, free: 14.14 MB / 0.9356 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002594/0.3736, allocations: 161.3 kB / 1.175 GB, free: 13.98 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.3736, allocations: 12.16 kB / 1.175 GB, free: 13.97 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.3736, allocations: 0 / 1.175 GB, free: 13.97 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.3736, allocations: 4 kB / 1.175 GB, free: 13.96 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.975e-05/0.3737, allocations: 19.92 kB / 1.175 GB, free: 13.95 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.3737, allocations: 0 / 1.175 GB, free: 13.95 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002237/0.374, allocations: 23.94 kB / 1.175 GB, free: 13.92 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.224e-05/0.374, allocations: 8 kB / 1.175 GB, free: 13.91 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.0001334/0.3741, allocations: 147.4 kB / 1.176 GB, free: 13.76 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.215e-05/0.3742, allocations: 19.91 kB / 1.176 GB, free: 13.74 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.778e-05/0.3742, allocations: 21.52 kB / 1.176 GB, free: 13.72 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.091e-06/0.3742, allocations: 4 kB / 1.176 GB, free: 13.71 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.594e-06/0.3743, allocations: 0 / 1.176 GB, free: 13.71 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.3743, allocations: 3.938 kB / 1.176 GB, free: 13.71 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006082/0.3749, allocations: 462.3 kB / 1.176 GB, free: 13.2 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.3749, allocations: 0 / 1.176 GB, free: 13.2 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.793e-05/0.3749, allocations: 4 kB / 1.176 GB, free: 13.2 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.3749, allocations: 4 kB / 1.176 GB, free: 13.2 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.374e-05/0.375, allocations: 8.094 kB / 1.176 GB, free: 13.19 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.375, allocations: 3.938 kB / 1.176 GB, free: 13.18 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.375, allocations: 0 / 1.176 GB, free: 13.18 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002619/0.3752, allocations: 243.6 kB / 1.176 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.119e-05/0.3753, allocations: 89.02 kB / 1.176 GB, free: 12.82 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.812e-05/0.3753, allocations: 4 kB / 1.176 GB, free: 12.82 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000135/0.3755, allocations: 23.91 kB / 1.176 GB, free: 12.8 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.59e-05/0.3756, allocations: 23.92 kB / 1.176 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.893e-05/0.3756, allocations: 7.984 kB / 1.176 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001466/0.3758, allocations: 144.5 kB / 1.177 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of sort global known variables: time 3.11e-07/0.3758, allocations: 0 / 1.177 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003237/0.3761, allocations: 47.89 kB / 1.177 GB, free: 12.58 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.0003766/0.3765, allocations: 166.6 kB / 1.177 GB, free: 12.43 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.000254/0.3767, allocations: 103.8 kB / 1.177 GB, free: 12.33 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.3768, allocations: 0 / 1.177 GB, free: 12.33 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001118/0.3769, allocations: 51.92 kB / 1.177 GB, free: 12.28 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004428/0.3773, allocations: 59.44 kB / 1.177 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005588/0.3779, allocations: 304.4 kB / 1.177 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002842/0.3782, allocations: 0.7164 MB / 1.178 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 8.699e-05/0.3783, allocations: 21.53 kB / 1.178 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.83e-05/0.3783, allocations: 23.42 kB / 1.178 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of SimCode: time 5.71e-07/0.3783, allocations: 0 / 1.178 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of Templates: time 0.008407/0.3868, allocations: 3.687 MB / 1.182 GB, free: 7.465 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.makefile (rm -f Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; mkfifo Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe >> ../files/Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.sim & ./Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches