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.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.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.001396/0.001397, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001774/0.001774, allocations: 193.2 kB / 16.14 MB, free: 6.645 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.438/1.438, allocations: 222.9 MB / 239.8 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.786/2.786, allocations: 461.9 MB / 0.7342 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001591/0.001592, allocations: 65.95 kB / 0.8984 GB, free: 37.26 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3361/0.3377, allocations: 157.4 MB / 1.052 GB, free: 8.875 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff): time 0.004132/0.3419, allocations: 1.903 MB / 1.054 GB, free: 6.953 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001576/0.3435, allocations: 0.9512 MB / 1.055 GB, free: 6 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001006/0.3436, allocations: 7.938 kB / 1.055 GB, free: 5.992 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002262/0.3438, allocations: 23.84 kB / 1.055 GB, free: 5.969 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002864/0.3442, allocations: 87.67 kB / 1.055 GB, free: 5.883 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004181/0.3446, allocations: 146.9 kB / 1.055 GB, free: 5.742 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002404/0.3448, allocations: 231.4 kB / 1.055 GB, free: 5.516 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001439/0.345, allocations: 33.67 kB / 1.055 GB, free: 5.484 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001337/0.3451, allocations: 103.7 kB / 1.055 GB, free: 5.383 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02691/0.372, allocations: 1.823 MB / 1.057 GB, free: 3.992 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 9.358e-05/0.3722, allocations: 8 kB / 1.057 GB, free: 3.984 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001466/0.3723, allocations: 31.98 kB / 1.057 GB, free: 3.953 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 8.291e-05/0.3724, allocations: 35.84 kB / 1.057 GB, free: 3.918 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001416/0.3726, allocations: 87.5 kB / 1.057 GB, free: 3.832 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003261/0.3729, allocations: 199.4 kB / 1.058 GB, free: 3.637 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.3729, allocations: 4 kB / 1.058 GB, free: 3.633 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.282e-06/0.3729, allocations: 0 / 1.058 GB, free: 3.633 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.352e-06/0.3729, allocations: 0 / 1.058 GB, free: 3.633 MB / 0.8106 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.0009403/0.3739, allocations: 0.5528 MB / 1.058 GB, free: 3.02 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/0.3739, allocations: 8.031 kB / 1.058 GB, free: 3.012 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.857e-05/0.374, allocations: 20.75 kB / 1.058 GB, free: 2.992 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003499/0.3744, allocations: 256.5 kB / 1.058 GB, free: 2.703 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.036e-05/0.3744, allocations: 19.98 kB / 1.058 GB, free: 2.684 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.623e-05/0.3744, allocations: 12 kB / 1.058 GB, free: 2.672 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002328/0.3747, allocations: 112.2 kB / 1.059 GB, free: 2.551 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.3747, allocations: 0 / 1.059 GB, free: 2.551 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.638e-05/0.3747, allocations: 7.938 kB / 1.059 GB, free: 2.543 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.3747, allocations: 4 kB / 1.059 GB, free: 2.539 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001216/0.3749, allocations: 51.97 kB / 1.059 GB, free: 2.488 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009779/0.3758, allocations: 0.5357 MB / 1.059 GB, free: 1.898 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001714/0.376, allocations: 105.2 kB / 1.059 GB, free: 1.777 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.776e-05/0.3761, allocations: 37.77 kB / 1.059 GB, free: 1.734 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.768e-05/0.3761, allocations: 0 / 1.059 GB, free: 1.734 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000209/0.3763, allocations: 129 kB / 1.059 GB, free: 1.59 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=15): time 1.853e-06/0.3764, allocations: 0 / 1.059 GB, free: 1.59 MB / 0.8106 GB Notification: Performance of matching and sorting (n=15): time 0.0003686/0.3767, allocations: 167.6 kB / 1.06 GB, free: 1.422 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.383e-05/0.3768, allocations: 85.09 kB / 1.06 GB, free: 1.32 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001987/0.377, allocations: 196.4 kB / 1.06 GB, free: 1.117 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.917e-05/0.377, allocations: 33.7 kB / 1.06 GB, free: 1.078 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001104/0.3772, allocations: 124.4 kB / 1.06 GB, free: 0.9531 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.269e-05/0.3772, allocations: 31.58 kB / 1.06 GB, free: 0.9219 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001126/0.3773, allocations: 65.72 kB / 1.06 GB, free: 0.8516 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001203/0.3774, allocations: 330.8 kB / 1.06 GB, free: 0.5195 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.046e-05/0.3775, allocations: 27.98 kB / 1.06 GB, free: 0.4922 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000245/0.3778, allocations: 143.4 kB / 1.061 GB, free: 328 kB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001536/0.3779, allocations: 113.9 kB / 1.061 GB, free: 192 kB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.378, allocations: 0 / 1.061 GB, free: 192 kB / 0.8106 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000273/0.3782, allocations: 164 kB / 1.061 GB, free: 24 kB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.3783, allocations: 4 kB / 1.061 GB, free: 20 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.816e-06/0.3783, allocations: 4 kB / 1.061 GB, free: 16 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.3783, allocations: 3.938 kB / 1.061 GB, free: 12 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001107/0.3784, allocations: 24.03 kB / 1.061 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.3784, allocations: 7.984 kB / 1.061 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002229/0.3786, allocations: 23.83 kB / 1.061 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.509e-05/0.3787, allocations: 12 kB / 1.061 GB, free: 15.94 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.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.0001368/0.3788, allocations: 143.6 kB / 1.061 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.364e-05/0.3789, allocations: 15.81 kB / 1.061 GB, free: 15.78 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.584e-05/0.3789, allocations: 21.53 kB / 1.061 GB, free: 15.76 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.109e-06/0.3789, allocations: 4 kB / 1.061 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.042e-06/0.3789, allocations: 0 / 1.061 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.3789, allocations: 3.984 kB / 1.061 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006217/0.3796, allocations: 470.1 kB / 1.062 GB, free: 15.23 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.3796, allocations: 0 / 1.062 GB, free: 15.23 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.809e-05/0.3796, allocations: 7.984 kB / 1.062 GB, free: 15.23 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.3796, allocations: 0 / 1.062 GB, free: 15.23 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.334e-05/0.3796, allocations: 4 kB / 1.062 GB, free: 15.22 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.3796, allocations: 3.938 kB / 1.062 GB, free: 15.22 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.3797, allocations: 0 / 1.062 GB, free: 15.22 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002701/0.3799, allocations: 236.1 kB / 1.062 GB, free: 14.97 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.332e-05/0.38, allocations: 92.86 kB / 1.062 GB, free: 14.86 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.002e-05/0.38, allocations: 8 kB / 1.062 GB, free: 14.85 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001348/0.3802, allocations: 11.92 kB / 1.062 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.257e-05/0.3803, allocations: 19.97 kB / 1.062 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.445e-05/0.3803, allocations: 11.98 kB / 1.062 GB, free: 14.81 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.000127/0.3804, allocations: 148.2 kB / 1.062 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.81e-07/0.3804, allocations: 0 / 1.062 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003266/0.3808, allocations: 47.91 kB / 1.062 GB, free: 14.62 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 (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.0003286/0.3811, allocations: 170.1 kB / 1.062 GB, free: 14.47 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002465/0.3814, allocations: 100.9 kB / 1.062 GB, free: 14.37 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.3814, allocations: 0 / 1.062 GB, free: 14.37 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.693e-05/0.3815, allocations: 51.92 kB / 1.062 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004462/0.3819, allocations: 52.33 kB / 1.062 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006245/0.3826, allocations: 334.1 kB / 1.063 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003646/0.3829, allocations: 0.7169 MB / 1.063 GB, free: 13.17 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 9.391e-05/0.383, allocations: 33.52 kB / 1.063 GB, free: 13.14 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.007e-05/0.3831, allocations: 23.42 kB / 1.064 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of SimCode: time 2.51e-07/0.3831, allocations: 0 / 1.064 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of Templates: time 0.007777/0.3909, allocations: 3.42 MB / 1.067 GB, free: 9.734 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