Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.PlotterActivationGlobalInputFirstOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_10_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_10_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.007889/0.007889, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001667/0.001667, allocations: 201.3 kB / 16.68 MB, free: 5.969 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.468/1.468, allocations: 222.9 MB / 240.4 MB, free: 4.363 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.721/2.721, allocations: 437 MB / 0.7105 GB, free: 5.02 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00113/0.00113, allocations: 59.89 kB / 1.019 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3419/0.343, allocations: 151.6 MB / 1.167 GB, free: 6.844 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff): time 0.00313/0.3462, allocations: 1.739 MB / 1.168 GB, free: 5.082 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001462/0.3477, allocations: 0.9007 MB / 1.169 GB, free: 4.18 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.554e-05/0.3478, allocations: 0 / 1.169 GB, free: 4.18 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0002034/0.348, allocations: 31.72 kB / 1.169 GB, free: 4.148 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0003456/0.3483, allocations: 123.4 kB / 1.169 GB, free: 4.027 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003443/0.3487, allocations: 148.6 kB / 1.169 GB, free: 3.883 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.000285/0.349, allocations: 247.3 kB / 1.17 GB, free: 3.641 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001382/0.3491, allocations: 29.67 kB / 1.17 GB, free: 3.609 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001275/0.3493, allocations: 119.6 kB / 1.17 GB, free: 3.492 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01134/0.3606, allocations: 2.021 MB / 1.172 GB, free: 2.016 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 9.249e-05/0.3607, allocations: 20 kB / 1.172 GB, free: 1.996 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001395/0.3609, allocations: 39.98 kB / 1.172 GB, free: 1.957 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 9.27e-05/0.361, allocations: 43.83 kB / 1.172 GB, free: 1.914 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0002045/0.3612, allocations: 91.56 kB / 1.172 GB, free: 1.824 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0004189/0.3616, allocations: 215.1 kB / 1.172 GB, free: 1.613 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.3616, allocations: 3.984 kB / 1.172 GB, free: 1.609 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.563e-06/0.3616, allocations: 0 / 1.172 GB, free: 1.609 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.041e-06/0.3616, allocations: 0 / 1.172 GB, free: 1.609 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0008372/0.3625, allocations: 0.5564 MB / 1.173 GB, free: 0.9922 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.3625, allocations: 12.03 kB / 1.173 GB, free: 0.9805 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.427e-05/0.3626, allocations: 16.84 kB / 1.173 GB, free: 0.9648 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002933/0.3629, allocations: 255.5 kB / 1.173 GB, free: 0.6758 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.818e-05/0.3629, allocations: 12 kB / 1.173 GB, free: 0.6641 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.598e-05/0.363, allocations: 16 kB / 1.173 GB, free: 0.6484 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001874/0.3632, allocations: 81.66 kB / 1.173 GB, free: 0.5625 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.3632, allocations: 0 / 1.173 GB, free: 0.5625 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.945e-05/0.3632, allocations: 12 kB / 1.173 GB, free: 0.5508 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.3632, allocations: 0 / 1.173 GB, free: 0.5508 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001128/0.3634, allocations: 51.97 kB / 1.173 GB, free: 0.5 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007825/0.3641, allocations: 464.3 kB / 1.174 GB, free: 16 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004287/0.3646, allocations: 142.7 kB / 1.174 GB, free: 15.85 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.137e-05/0.3647, allocations: 32.84 kB / 1.174 GB, free: 15.81 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.275e-05/0.3647, allocations: 7.984 kB / 1.174 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002897/0.365, allocations: 119.4 kB / 1.174 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=16): time 1.373e-06/0.365, allocations: 0 / 1.174 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of matching and sorting (n=16): time 0.0003562/0.3654, allocations: 168.8 kB / 1.174 GB, free: 15.51 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.902e-05/0.3654, allocations: 59.41 kB / 1.174 GB, free: 15.44 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001949/0.3656, allocations: 198.5 kB / 1.174 GB, free: 15.23 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.296e-05/0.3656, allocations: 33.7 kB / 1.174 GB, free: 15.19 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 8.92e-05/0.3657, allocations: 116.5 kB / 1.174 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.244e-05/0.3658, allocations: 35.73 kB / 1.175 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.98e-05/0.3659, allocations: 61.67 kB / 1.175 GB, free: 14.97 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001176/0.366, allocations: 334.8 kB / 1.175 GB, free: 14.64 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.255e-05/0.3661, allocations: 31.98 kB / 1.175 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002343/0.3663, allocations: 127.6 kB / 1.175 GB, free: 14.45 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001444/0.3665, allocations: 102.8 kB / 1.175 GB, free: 14.34 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.3665, allocations: 4 kB / 1.175 GB, free: 14.34 MB / 0.9356 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002381/0.3667, allocations: 149.4 kB / 1.175 GB, free: 14.18 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.3668, allocations: 12.12 kB / 1.175 GB, free: 14.17 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.551e-05/0.3668, allocations: 3.984 kB / 1.175 GB, free: 14.17 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.3668, allocations: 4 kB / 1.175 GB, free: 14.16 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.276e-05/0.3669, allocations: 19.94 kB / 1.175 GB, free: 14.14 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.3669, allocations: 0 / 1.175 GB, free: 14.14 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002054/0.3671, allocations: 23.88 kB / 1.175 GB, free: 14.12 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.37e-05/0.3671, allocations: 8 kB / 1.175 GB, free: 14.11 MB / 0.9356 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.0001311/0.3673, allocations: 143.5 kB / 1.175 GB, free: 13.96 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.756e-05/0.3673, allocations: 19.91 kB / 1.176 GB, free: 13.95 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.047e-05/0.3674, allocations: 25.86 kB / 1.176 GB, free: 13.92 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.3674, allocations: 0 / 1.176 GB, free: 13.92 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.3674, allocations: 0 / 1.176 GB, free: 13.92 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.3674, allocations: 3.938 kB / 1.176 GB, free: 13.91 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006394/0.368, allocations: 494.1 kB / 1.176 GB, free: 13.38 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.368, allocations: 0 / 1.176 GB, free: 13.38 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.485e-05/0.3681, allocations: 7.984 kB / 1.176 GB, free: 13.37 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.3681, allocations: 4 kB / 1.176 GB, free: 13.36 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.426e-05/0.3681, allocations: 8 kB / 1.176 GB, free: 13.36 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.3681, allocations: 7.875 kB / 1.176 GB, free: 13.35 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.3681, allocations: 3.938 kB / 1.176 GB, free: 13.34 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002265/0.3683, allocations: 231.2 kB / 1.176 GB, free: 13.1 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.006e-05/0.3684, allocations: 89.02 kB / 1.176 GB, free: 13 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.515e-05/0.3684, allocations: 4 kB / 1.176 GB, free: 12.99 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001284/0.3686, allocations: 23.91 kB / 1.176 GB, free: 12.97 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.154e-05/0.3686, allocations: 15.98 kB / 1.176 GB, free: 12.95 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.438e-05/0.3687, allocations: 11.98 kB / 1.176 GB, free: 12.94 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001202/0.3688, allocations: 140.5 kB / 1.177 GB, free: 12.8 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3688, allocations: 0 / 1.177 GB, free: 12.8 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003204/0.3691, allocations: 51.89 kB / 1.177 GB, free: 12.75 MB / 0.9356 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.0003468/0.3695, allocations: 174 kB / 1.177 GB, free: 12.6 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002411/0.3697, allocations: 102.9 kB / 1.177 GB, free: 12.5 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.3698, allocations: 4.062 kB / 1.177 GB, free: 12.5 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 9.198e-05/0.3699, allocations: 59.52 kB / 1.177 GB, free: 12.44 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004058/0.3703, allocations: 50.2 kB / 1.177 GB, free: 12.39 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005155/0.3708, allocations: 295 kB / 1.177 GB, free: 12.08 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002691/0.3711, allocations: 0.7203 MB / 1.178 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 7.344e-05/0.3712, allocations: 25.53 kB / 1.178 GB, free: 11.31 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.735e-05/0.3712, allocations: 23.42 kB / 1.178 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of SimCode: time 2.5e-07/0.3712, allocations: 0 / 1.178 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of Templates: time 0.007481/0.3787, allocations: 3.747 MB / 1.182 GB, free: 7.578 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.makefile (rm -f Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; mkfifo Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe >> ../files/Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.sim & ./Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches