Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.002456/0.002456, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002972/0.002972, allocations: 216.4 kB / 22.25 MB, free: 4.855 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.525/1.525, allocations: 230.6 MB / 256 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.868/2.868, allocations: 476 MB / 0.7699 GB, free: 4.785 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.002096/0.002096, allocations: 70.86 kB / 1.117 GB, free: 41.18 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.337/0.3391, allocations: 170 MB / 1.283 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff): time 0.003836/0.3429, allocations: 1.74 MB / 1.285 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001813/0.3447, allocations: 0.8969 MB / 1.286 GB, free: 9.316 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.587e-05/0.3448, allocations: 0 / 1.286 GB, free: 9.316 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0002032/0.345, allocations: 31.73 kB / 1.286 GB, free: 9.285 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0003878/0.3454, allocations: 123.4 kB / 1.286 GB, free: 9.164 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003782/0.3458, allocations: 151.7 kB / 1.286 GB, free: 9.016 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003256/0.3461, allocations: 251.3 kB / 1.286 GB, free: 8.77 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001502/0.3462, allocations: 29.73 kB / 1.286 GB, free: 8.742 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001622/0.3464, allocations: 107.7 kB / 1.286 GB, free: 8.637 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01624/0.3626, allocations: 2.007 MB / 1.288 GB, free: 7.164 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 7.858e-05/0.3627, allocations: 16 kB / 1.288 GB, free: 7.148 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001308/0.3628, allocations: 36 kB / 1.288 GB, free: 7.113 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 9.468e-05/0.3629, allocations: 39.84 kB / 1.288 GB, free: 7.074 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.000131/0.3631, allocations: 87.55 kB / 1.288 GB, free: 6.988 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004079/0.3635, allocations: 215.2 kB / 1.289 GB, free: 6.777 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.3635, allocations: 0 / 1.289 GB, free: 6.777 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.814e-06/0.3635, allocations: 0 / 1.289 GB, free: 6.777 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.692e-06/0.3635, allocations: 0 / 1.289 GB, free: 6.777 MB / 0.9825 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.0009965/0.3645, allocations: 496.7 kB / 1.289 GB, free: 6.25 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/0.3645, allocations: 12.03 kB / 1.289 GB, free: 6.238 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.334e-05/0.3646, allocations: 20.8 kB / 1.289 GB, free: 6.219 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003418/0.365, allocations: 189.7 kB / 1.289 GB, free: 6.008 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.246e-05/0.365, allocations: 12 kB / 1.289 GB, free: 5.996 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.617e-05/0.365, allocations: 12 kB / 1.289 GB, free: 5.984 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002334/0.3653, allocations: 117.4 kB / 1.289 GB, free: 5.859 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.3653, allocations: 3.938 kB / 1.289 GB, free: 5.855 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.544e-05/0.3653, allocations: 3.984 kB / 1.289 GB, free: 5.852 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.3653, allocations: 0 / 1.289 GB, free: 5.852 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001214/0.3654, allocations: 55.97 kB / 1.289 GB, free: 5.797 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008746/0.3663, allocations: 468.2 kB / 1.29 GB, free: 5.305 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002043/0.3665, allocations: 97.19 kB / 1.29 GB, free: 5.191 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.189e-05/0.3665, allocations: 29.78 kB / 1.29 GB, free: 5.156 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.003e-05/0.3666, allocations: 4 kB / 1.29 GB, free: 5.152 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002532/0.3668, allocations: 129 kB / 1.29 GB, free: 5.008 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=15): time 1.353e-06/0.3668, allocations: 4 kB / 1.29 GB, free: 5.004 MB / 0.9825 GB Notification: Performance of matching and sorting (n=15): time 0.0004087/0.3672, allocations: 153.5 kB / 1.29 GB, free: 4.848 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.499e-05/0.3673, allocations: 81.11 kB / 1.29 GB, free: 4.75 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002295/0.3675, allocations: 205.2 kB / 1.291 GB, free: 4.539 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.741e-05/0.3676, allocations: 33.7 kB / 1.291 GB, free: 4.5 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001061/0.3677, allocations: 128.4 kB / 1.291 GB, free: 4.367 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.002e-05/0.3677, allocations: 35.72 kB / 1.291 GB, free: 4.332 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001036/0.3678, allocations: 61.67 kB / 1.291 GB, free: 4.266 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001658/0.368, allocations: 326.8 kB / 1.291 GB, free: 3.938 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.997e-05/0.3681, allocations: 36.11 kB / 1.291 GB, free: 3.902 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003354/0.3684, allocations: 251.3 kB / 1.291 GB, free: 3.602 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001796/0.3686, allocations: 120.8 kB / 1.292 GB, free: 3.465 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/0.3686, allocations: 4 kB / 1.292 GB, free: 3.461 MB / 0.9825 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000286/0.3689, allocations: 157.5 kB / 1.292 GB, free: 3.301 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.3689, allocations: 4 kB / 1.292 GB, free: 3.297 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/0.3689, allocations: 4 kB / 1.292 GB, free: 3.293 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.3689, allocations: 0 / 1.292 GB, free: 3.293 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.624e-05/0.369, allocations: 23.92 kB / 1.292 GB, free: 3.27 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.877e-06/0.369, allocations: 4 kB / 1.292 GB, free: 3.266 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002222/0.3692, allocations: 23.88 kB / 1.292 GB, free: 3.242 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.679e-05/0.3693, allocations: 12 kB / 1.292 GB, free: 3.23 MB / 0.9825 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.0001536/0.3694, allocations: 139.5 kB / 1.292 GB, free: 3.086 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.692e-05/0.3694, allocations: 28.02 kB / 1.292 GB, free: 3.059 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.926e-05/0.3695, allocations: 25.44 kB / 1.292 GB, free: 3.027 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.369e-06/0.3695, allocations: 4 kB / 1.292 GB, free: 3.023 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.3695, allocations: 0 / 1.292 GB, free: 3.023 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.3695, allocations: 0 / 1.292 GB, free: 3.023 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006333/0.3701, allocations: 394 kB / 1.292 GB, free: 2.602 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.3702, allocations: 0 / 1.292 GB, free: 2.602 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.413e-05/0.3702, allocations: 4 kB / 1.292 GB, free: 2.598 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.3702, allocations: 0 / 1.292 GB, free: 2.598 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.799e-05/0.3702, allocations: 11.98 kB / 1.292 GB, free: 2.586 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.3702, allocations: 4 kB / 1.292 GB, free: 2.582 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.3702, allocations: 0 / 1.292 GB, free: 2.582 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002656/0.3705, allocations: 236.1 kB / 1.293 GB, free: 2.332 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.514e-05/0.3705, allocations: 19.89 kB / 1.293 GB, free: 2.312 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.389e-05/0.3705, allocations: 0 / 1.293 GB, free: 2.312 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001378/0.3707, allocations: 19.92 kB / 1.293 GB, free: 2.293 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.424e-05/0.3707, allocations: 23.91 kB / 1.293 GB, free: 2.27 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.094e-05/0.3708, allocations: 4 kB / 1.293 GB, free: 2.266 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001594/0.3709, allocations: 151 kB / 1.293 GB, free: 2.117 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.3709, allocations: 4 kB / 1.293 GB, free: 2.113 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003214/0.3712, allocations: 47.92 kB / 1.293 GB, free: 2.066 MB / 0.9825 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.3717, allocations: 177.7 kB / 1.293 GB, free: 1.91 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002369/0.3719, allocations: 95.84 kB / 1.293 GB, free: 1.816 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.3719, allocations: 0 / 1.293 GB, free: 1.816 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.719e-05/0.372, allocations: 44.55 kB / 1.293 GB, free: 1.773 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004513/0.3724, allocations: 67.09 kB / 1.293 GB, free: 1.715 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005819/0.373, allocations: 296 kB / 1.293 GB, free: 1.398 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001157/0.3731, allocations: 108.1 kB / 1.294 GB, free: 1.273 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 8.74e-05/0.3732, allocations: 21.62 kB / 1.294 GB, free: 1.254 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.831e-05/0.3733, allocations: 27.44 kB / 1.294 GB, free: 1.227 MB / 0.9825 GB Notification: Performance of SimCode: time 2.9e-07/0.3733, allocations: 0 / 1.294 GB, free: 1.227 MB / 0.9825 GB Notification: Performance of Templates: time 0.009144/0.3824, allocations: 4.033 MB / 1.298 GB, free: 13.27 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; mkfifo Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe >> ../files/Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.sim & ./Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.162686767056584]