Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001322/0.001322, allocations: 110.2 kB / 19.69 MB, free: 2.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001566/0.001566, allocations: 210 kB / 23 MB, free: 4.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.465/1.465, allocations: 230.6 MB / 256.8 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.292/3.292, allocations: 0.49 GB / 0.7958 GB, free: 33.43 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002471/0.002471, allocations: 69.11 kB / 1.155 GB, free: 25.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3515/0.354, allocations: 176.1 MB / 1.327 GB, free: 1.477 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff): time 0.003492/0.3575, allocations: 1.778 MB / 1.329 GB, free: 15.69 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001743/0.3592, allocations: 0.9514 MB / 1.33 GB, free: 14.73 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.482e-05/0.3593, allocations: 0 / 1.33 GB, free: 14.73 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002065/0.3595, allocations: 27.73 kB / 1.33 GB, free: 14.71 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004213/0.36, allocations: 135.4 kB / 1.33 GB, free: 14.57 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004012/0.3604, allocations: 159.6 kB / 1.33 GB, free: 14.42 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003498/0.3607, allocations: 247.3 kB / 1.33 GB, free: 14.18 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001424/0.3608, allocations: 33.73 kB / 1.33 GB, free: 14.14 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001682/0.361, allocations: 111.7 kB / 1.33 GB, free: 14.03 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01599/0.377, allocations: 1.994 MB / 1.332 GB, free: 12.57 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 8.246e-05/0.3771, allocations: 16 kB / 1.332 GB, free: 12.55 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001425/0.3772, allocations: 36 kB / 1.332 GB, free: 12.52 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.393e-05/0.3773, allocations: 43.83 kB / 1.332 GB, free: 12.47 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001365/0.3774, allocations: 95.5 kB / 1.333 GB, free: 12.38 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000431/0.3779, allocations: 223.1 kB / 1.333 GB, free: 12.16 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.3779, allocations: 0 / 1.333 GB, free: 12.16 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.583e-06/0.3779, allocations: 0 / 1.333 GB, free: 12.16 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.162e-06/0.3779, allocations: 4 kB / 1.333 GB, free: 12.16 MB / 1.029 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.0008663/0.3788, allocations: 488.7 kB / 1.333 GB, free: 11.64 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.3788, allocations: 11.97 kB / 1.333 GB, free: 11.62 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.884e-05/0.3789, allocations: 24.8 kB / 1.333 GB, free: 11.6 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000297/0.3792, allocations: 197.7 kB / 1.333 GB, free: 11.38 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.974e-05/0.3792, allocations: 8 kB / 1.334 GB, free: 11.38 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.118e-05/0.3792, allocations: 16 kB / 1.334 GB, free: 11.36 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000221/0.3795, allocations: 112.7 kB / 1.334 GB, free: 11.24 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.3795, allocations: 3.938 kB / 1.334 GB, free: 11.23 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.565e-05/0.3795, allocations: 4 kB / 1.334 GB, free: 11.23 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.403e-06/0.3795, allocations: 4 kB / 1.334 GB, free: 11.23 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001198/0.3796, allocations: 47.97 kB / 1.334 GB, free: 11.18 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009038/0.3805, allocations: 0.5191 MB / 1.334 GB, free: 10.61 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001757/0.3807, allocations: 97.25 kB / 1.334 GB, free: 10.5 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.077e-05/0.3808, allocations: 45.75 kB / 1.334 GB, free: 10.45 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.764e-05/0.3808, allocations: 3.938 kB / 1.334 GB, free: 10.45 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002906/0.3811, allocations: 117 kB / 1.334 GB, free: 10.31 MB / 1.029 GB Notification: Performance of pre-optimization done (n=15): time 1.253e-06/0.3811, allocations: 0 / 1.334 GB, free: 10.31 MB / 1.029 GB Notification: Performance of matching and sorting (n=15): time 0.0003769/0.3814, allocations: 165.5 kB / 1.335 GB, free: 10.14 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.281e-05/0.3815, allocations: 89.22 kB / 1.335 GB, free: 10.04 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002236/0.3817, allocations: 199.1 kB / 1.335 GB, free: 9.832 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.025e-05/0.3818, allocations: 37.64 kB / 1.335 GB, free: 9.789 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000109/0.3819, allocations: 124.5 kB / 1.335 GB, free: 9.664 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.897e-05/0.3819, allocations: 35.73 kB / 1.335 GB, free: 9.629 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.504e-05/0.382, allocations: 57.67 kB / 1.335 GB, free: 9.566 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001681/0.3822, allocations: 326.8 kB / 1.335 GB, free: 9.238 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.802e-05/0.3823, allocations: 35.98 kB / 1.335 GB, free: 9.203 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002602/0.3825, allocations: 139.4 kB / 1.336 GB, free: 9.035 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001611/0.3827, allocations: 118.2 kB / 1.336 GB, free: 8.902 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.3827, allocations: 0 / 1.336 GB, free: 8.902 MB / 1.029 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002739/0.383, allocations: 161.4 kB / 1.336 GB, free: 8.738 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.383, allocations: 4 kB / 1.336 GB, free: 8.734 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.383, allocations: 160 / 1.336 GB, free: 8.734 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.383, allocations: 8 kB / 1.336 GB, free: 8.727 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.903e-05/0.3831, allocations: 15.94 kB / 1.336 GB, free: 8.711 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.306e-05/0.3831, allocations: 7.984 kB / 1.336 GB, free: 8.703 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002063/0.3833, allocations: 27.88 kB / 1.336 GB, free: 8.676 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.295e-05/0.3833, allocations: 8 kB / 1.336 GB, free: 8.668 MB / 1.029 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.000149/0.3835, allocations: 140 kB / 1.336 GB, free: 8.52 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.153e-05/0.3835, allocations: 15.91 kB / 1.336 GB, free: 8.504 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.915e-05/0.3835, allocations: 25.45 kB / 1.336 GB, free: 8.473 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.3835, allocations: 0 / 1.336 GB, free: 8.473 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.3835, allocations: 7.938 kB / 1.336 GB, free: 8.465 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.3836, allocations: 0 / 1.336 GB, free: 8.465 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006333/0.3842, allocations: 437.3 kB / 1.337 GB, free: 7.988 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.3842, allocations: 4 kB / 1.337 GB, free: 7.984 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.305e-05/0.3842, allocations: 4 kB / 1.337 GB, free: 7.98 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.3842, allocations: 4 kB / 1.337 GB, free: 7.977 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.01e-05/0.3842, allocations: 4 kB / 1.337 GB, free: 7.973 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.043e-06/0.3842, allocations: 11.92 kB / 1.337 GB, free: 7.961 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.3842, allocations: 0 / 1.337 GB, free: 7.961 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002601/0.3845, allocations: 235.4 kB / 1.337 GB, free: 7.715 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.049e-05/0.3845, allocations: 15.89 kB / 1.337 GB, free: 7.699 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.549e-05/0.3845, allocations: 4 kB / 1.337 GB, free: 7.695 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001432/0.3847, allocations: 23.92 kB / 1.337 GB, free: 7.672 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.734e-05/0.3848, allocations: 19.97 kB / 1.337 GB, free: 7.652 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.011e-05/0.3848, allocations: 4 kB / 1.337 GB, free: 7.648 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001383/0.3849, allocations: 144.5 kB / 1.337 GB, free: 7.508 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3849, allocations: 0 / 1.337 GB, free: 7.508 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003163/0.3852, allocations: 51.92 kB / 1.337 GB, free: 7.457 MB / 1.029 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.0004102/0.3857, allocations: 167.9 kB / 1.337 GB, free: 7.305 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002397/0.3859, allocations: 96.16 kB / 1.337 GB, free: 7.211 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.3859, allocations: 7.938 kB / 1.337 GB, free: 7.203 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001088/0.386, allocations: 47.92 kB / 1.337 GB, free: 7.156 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004049/0.3864, allocations: 49.31 kB / 1.337 GB, free: 7.113 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005947/0.387, allocations: 325.7 kB / 1.338 GB, free: 6.762 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003757/0.3874, allocations: 0.7204 MB / 1.338 GB, free: 6.016 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.815e-05/0.3874, allocations: 23.42 kB / 1.338 GB, free: 5.992 MB / 1.029 GB Notification: Performance of SimCode: time 3.11e-07/0.3874, allocations: 4 kB / 1.338 GB, free: 5.988 MB / 1.029 GB Notification: Performance of Templates: time 0.005983/0.3934, allocations: 3.217 MB / 1.342 GB, free: 2.793 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; mkfifo Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe >> ../files/Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.sim & ./Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,plotConfiguration.active,sca.active,scaDel.active Variables in the result:plotConfiguration.active,sca.active,scaDel.active,time [Calling sys.exit(0), Time elapsed: 12.101572965009836]