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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001997/0.001997, allocations: 118 kB / 17.13 MB, free: 5.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002147/0.002147, allocations: 197.2 kB / 20.08 MB, free: 3.008 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.502/1.502, allocations: 225.6 MB / 248.5 MB, free: 3.602 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.634/2.634, allocations: 443.5 MB / 0.7293 GB, free: 14.49 MB / 0.5762 GB " [Timeout remaining time 177] 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=2500,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=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00191/0.00191, allocations: 67.89 kB / 1.057 GB, free: 1.93 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3455/0.3474, allocations: 160.7 MB / 1.214 GB, free: 0.9141 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff): time 0.003409/0.3508, allocations: 1.759 MB / 1.216 GB, free: 15.13 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001775/0.3526, allocations: 0.9085 MB / 1.217 GB, free: 14.22 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.619e-05/0.3527, allocations: 4 kB / 1.217 GB, free: 14.21 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0002036/0.3529, allocations: 23.67 kB / 1.217 GB, free: 14.19 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.000393/0.3533, allocations: 127.4 kB / 1.217 GB, free: 14.07 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003967/0.3537, allocations: 159.7 kB / 1.217 GB, free: 13.91 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003608/0.354, allocations: 239.3 kB / 1.217 GB, free: 13.68 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001394/0.3542, allocations: 25.67 kB / 1.217 GB, free: 13.65 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001639/0.3543, allocations: 119.6 kB / 1.217 GB, free: 13.53 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01631/0.3706, allocations: 2.004 MB / 1.219 GB, free: 12.06 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001277/0.3708, allocations: 16 kB / 1.219 GB, free: 12.05 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001701/0.3709, allocations: 39.98 kB / 1.219 GB, free: 12.01 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001085/0.371, allocations: 39.84 kB / 1.219 GB, free: 11.97 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001755/0.3712, allocations: 95.5 kB / 1.219 GB, free: 11.88 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0005173/0.3717, allocations: 219.1 kB / 1.22 GB, free: 11.66 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.3717, allocations: 0 / 1.22 GB, free: 11.66 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.623e-06/0.3717, allocations: 0 / 1.22 GB, free: 11.66 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.438e-06/0.3717, allocations: 4 kB / 1.22 GB, free: 11.66 MB / 0.9669 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.001066/0.3728, allocations: 0.5603 MB / 1.22 GB, free: 11.04 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.3729, allocations: 8.031 kB / 1.22 GB, free: 11.03 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001039/0.373, allocations: 20.84 kB / 1.22 GB, free: 11.01 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003708/0.3733, allocations: 248.5 kB / 1.22 GB, free: 10.73 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.176e-05/0.3733, allocations: 8 kB / 1.22 GB, free: 10.72 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.03e-05/0.3734, allocations: 16 kB / 1.22 GB, free: 10.7 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002622/0.3736, allocations: 119.2 kB / 1.221 GB, free: 10.57 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/0.3737, allocations: 3.938 kB / 1.221 GB, free: 10.57 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.776e-05/0.3737, allocations: 7.938 kB / 1.221 GB, free: 10.56 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.784e-06/0.3737, allocations: 4 kB / 1.221 GB, free: 10.56 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001256/0.3738, allocations: 47.97 kB / 1.221 GB, free: 10.51 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001067/0.3749, allocations: 0.5435 MB / 1.221 GB, free: 9.914 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001944/0.3751, allocations: 89.27 kB / 1.221 GB, free: 9.809 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.557e-05/0.3751, allocations: 41.77 kB / 1.221 GB, free: 9.762 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.991e-05/0.3752, allocations: 0 / 1.221 GB, free: 9.762 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003273/0.3755, allocations: 125 kB / 1.221 GB, free: 9.621 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=15): time 1.352e-06/0.3755, allocations: 3.938 kB / 1.221 GB, free: 9.617 MB / 0.9669 GB Notification: Performance of matching and sorting (n=15): time 0.0003949/0.3759, allocations: 160.7 kB / 1.222 GB, free: 9.457 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.824e-05/0.376, allocations: 89.17 kB / 1.222 GB, free: 9.352 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002443/0.3762, allocations: 202.5 kB / 1.222 GB, free: 9.141 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 4.14e-05/0.3763, allocations: 29.7 kB / 1.222 GB, free: 9.105 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001096/0.3764, allocations: 124.5 kB / 1.222 GB, free: 8.98 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 5.74e-05/0.3764, allocations: 39.72 kB / 1.222 GB, free: 8.941 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001152/0.3765, allocations: 57.69 kB / 1.222 GB, free: 8.879 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001731/0.3767, allocations: 330.8 kB / 1.222 GB, free: 8.547 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.547e-05/0.3768, allocations: 27.98 kB / 1.222 GB, free: 8.52 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002957/0.3771, allocations: 141.3 kB / 1.223 GB, free: 8.348 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002072/0.3773, allocations: 109.9 kB / 1.223 GB, free: 8.219 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.264e-06/0.3773, allocations: 7.984 kB / 1.223 GB, free: 8.211 MB / 0.9669 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002917/0.3776, allocations: 157.4 kB / 1.223 GB, free: 8.051 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.3776, allocations: 4 kB / 1.223 GB, free: 8.047 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.812e-05/0.3776, allocations: 7.984 kB / 1.223 GB, free: 8.039 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/0.3776, allocations: 4.156 kB / 1.223 GB, free: 8.035 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.869e-05/0.3777, allocations: 19.92 kB / 1.223 GB, free: 8.016 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.468e-06/0.3777, allocations: 4 kB / 1.223 GB, free: 8.012 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002479/0.378, allocations: 23.94 kB / 1.223 GB, free: 7.988 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.912e-05/0.378, allocations: 8 kB / 1.223 GB, free: 7.98 MB / 0.9669 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.0001678/0.3782, allocations: 151.3 kB / 1.223 GB, free: 7.82 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.948e-05/0.3782, allocations: 19.98 kB / 1.223 GB, free: 7.801 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.942e-05/0.3783, allocations: 17.53 kB / 1.223 GB, free: 7.781 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.274e-06/0.3783, allocations: 8 kB / 1.223 GB, free: 7.773 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.618e-06/0.3783, allocations: 3.984 kB / 1.223 GB, free: 7.77 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.3783, allocations: 0 / 1.223 GB, free: 7.77 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006889/0.379, allocations: 466.1 kB / 1.224 GB, free: 7.262 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.379, allocations: 4 kB / 1.224 GB, free: 7.258 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.269e-05/0.379, allocations: 7.984 kB / 1.224 GB, free: 7.25 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.379, allocations: 0 / 1.224 GB, free: 7.25 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.24e-05/0.379, allocations: 7.938 kB / 1.224 GB, free: 7.242 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.49e-06/0.379, allocations: 11.94 kB / 1.224 GB, free: 7.23 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.379, allocations: 0 / 1.224 GB, free: 7.23 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002796/0.3793, allocations: 232.2 kB / 1.224 GB, free: 6.984 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 7.02e-05/0.3794, allocations: 89.02 kB / 1.224 GB, free: 6.879 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.358e-05/0.3794, allocations: 0 / 1.224 GB, free: 6.879 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001541/0.3796, allocations: 23.91 kB / 1.224 GB, free: 6.855 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.862e-05/0.3796, allocations: 19.98 kB / 1.224 GB, free: 6.836 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.718e-05/0.3797, allocations: 8 kB / 1.224 GB, free: 6.828 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001477/0.3798, allocations: 139.2 kB / 1.224 GB, free: 6.691 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3798, allocations: 0 / 1.224 GB, free: 6.691 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003931/0.3802, allocations: 51.88 kB / 1.224 GB, free: 6.641 MB / 0.9669 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.0004164/0.3806, allocations: 164.7 kB / 1.224 GB, free: 6.492 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002682/0.3809, allocations: 96.16 kB / 1.224 GB, free: 6.398 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.3809, allocations: 4.062 kB / 1.224 GB, free: 6.395 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001059/0.381, allocations: 43.92 kB / 1.224 GB, free: 6.352 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004503/0.3815, allocations: 60.39 kB / 1.224 GB, free: 6.297 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006932/0.3822, allocations: 329.6 kB / 1.225 GB, free: 5.941 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003977/0.3825, allocations: 0.7204 MB / 1.226 GB, free: 5.195 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.899e-05/0.3826, allocations: 27.36 kB / 1.226 GB, free: 5.168 MB / 0.9669 GB Notification: Performance of SimCode: time 3.31e-07/0.3826, allocations: 0 / 1.226 GB, free: 5.168 MB / 0.9669 GB Notification: Performance of Templates: time 0.00703/0.3896, allocations: 3.227 MB / 1.229 GB, free: 1.965 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.makefile [Timeout 300] (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=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe 2>&1) [Timeout 400] 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 11.460028012981638]