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.001751/0.001751, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.001608/0.001608, allocations: 212.2 kB / 22.99 MB, free: 4.957 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.682/1.682, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.372/3.372, allocations: 0.49 GB / 0.7959 GB, free: 35.48 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.002089/0.002089, allocations: 67.77 kB / 1.155 GB, free: 25.21 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4206/0.4227, allocations: 176.1 MB / 1.327 GB, free: 1 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff): time 0.003445/0.4262, allocations: 1.739 MB / 1.329 GB, free: 15.25 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001721/0.4279, allocations: 0.9047 MB / 1.33 GB, free: 14.34 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.882e-05/0.428, allocations: 7.938 kB / 1.33 GB, free: 14.34 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001923/0.4282, allocations: 23.73 kB / 1.33 GB, free: 14.31 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0003939/0.4285, allocations: 119.4 kB / 1.33 GB, free: 14.2 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003739/0.4289, allocations: 155.7 kB / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003207/0.4292, allocations: 239.4 kB / 1.33 GB, free: 13.81 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001459/0.4294, allocations: 37.66 kB / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001449/0.4295, allocations: 115.7 kB / 1.33 GB, free: 13.65 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01565/0.4452, allocations: 1.999 MB / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 8.59e-05/0.4453, allocations: 16 kB / 1.332 GB, free: 12.17 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001376/0.4454, allocations: 40 kB / 1.332 GB, free: 12.13 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 9.111e-05/0.4455, allocations: 43.84 kB / 1.332 GB, free: 12.09 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001236/0.4456, allocations: 79.61 kB / 1.332 GB, free: 12.01 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004139/0.446, allocations: 219.1 kB / 1.333 GB, free: 11.79 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.446, allocations: 0 / 1.333 GB, free: 11.79 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.723e-06/0.446, allocations: 0 / 1.333 GB, free: 11.79 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.211e-06/0.446, allocations: 0 / 1.333 GB, free: 11.79 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.0008721/0.4469, allocations: 496.6 kB / 1.333 GB, free: 11.27 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.447, allocations: 8.031 kB / 1.333 GB, free: 11.26 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.124e-05/0.447, allocations: 28.8 kB / 1.333 GB, free: 11.23 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003214/0.4474, allocations: 185.8 kB / 1.333 GB, free: 11.02 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.892e-05/0.4474, allocations: 11.94 kB / 1.333 GB, free: 11.01 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.819e-05/0.4474, allocations: 16 kB / 1.333 GB, free: 11 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002272/0.4476, allocations: 119.2 kB / 1.333 GB, free: 10.87 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.4477, allocations: 0 / 1.333 GB, free: 10.87 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.546e-05/0.4477, allocations: 3.984 kB / 1.333 GB, free: 10.86 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.203e-06/0.4477, allocations: 4 kB / 1.333 GB, free: 10.86 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001175/0.4478, allocations: 51.97 kB / 1.334 GB, free: 10.81 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008327/0.4486, allocations: 468.3 kB / 1.334 GB, free: 10.32 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000192/0.4488, allocations: 96.95 kB / 1.334 GB, free: 10.2 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.286e-05/0.4489, allocations: 37.77 kB / 1.334 GB, free: 10.16 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.961e-05/0.4489, allocations: 0 / 1.334 GB, free: 10.16 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003178/0.4492, allocations: 129.1 kB / 1.334 GB, free: 10.02 MB / 1.029 GB Notification: Performance of pre-optimization done (n=15): time 1.864e-06/0.4492, allocations: 4 kB / 1.334 GB, free: 10.01 MB / 1.029 GB Notification: Performance of matching and sorting (n=15): time 0.0005166/0.4498, allocations: 163.1 kB / 1.334 GB, free: 9.848 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.878e-05/0.4498, allocations: 81.11 kB / 1.334 GB, free: 9.75 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002371/0.4501, allocations: 211.1 kB / 1.335 GB, free: 9.531 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.016e-05/0.4501, allocations: 33.7 kB / 1.335 GB, free: 9.492 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001012/0.4502, allocations: 116.5 kB / 1.335 GB, free: 9.375 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.493e-05/0.4502, allocations: 35.72 kB / 1.335 GB, free: 9.34 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001058/0.4503, allocations: 61.67 kB / 1.335 GB, free: 9.273 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001598/0.4505, allocations: 326.8 kB / 1.335 GB, free: 8.945 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.981e-05/0.4506, allocations: 31.98 kB / 1.335 GB, free: 8.914 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003299/0.4509, allocations: 262.3 kB / 1.335 GB, free: 8.602 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001556/0.4511, allocations: 109.9 kB / 1.336 GB, free: 8.473 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.4511, allocations: 0 / 1.336 GB, free: 8.473 MB / 1.029 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002747/0.4513, allocations: 157.3 kB / 1.336 GB, free: 8.316 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/0.4513, allocations: 10.34 kB / 1.336 GB, free: 8.309 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.4514, allocations: 4 kB / 1.336 GB, free: 8.305 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.949e-05/0.4514, allocations: 4 kB / 1.336 GB, free: 8.301 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.735e-05/0.4515, allocations: 19.92 kB / 1.336 GB, free: 8.281 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.4515, allocations: 0 / 1.336 GB, free: 8.281 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002132/0.4517, allocations: 31.88 kB / 1.336 GB, free: 8.25 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.28e-05/0.4517, allocations: 8 kB / 1.336 GB, free: 8.242 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.0001463/0.4519, allocations: 140 kB / 1.336 GB, free: 8.094 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.397e-05/0.4519, allocations: 19.91 kB / 1.336 GB, free: 8.074 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.687e-05/0.4519, allocations: 25.45 kB / 1.336 GB, free: 8.043 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.4519, allocations: 4 kB / 1.336 GB, free: 8.039 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.4519, allocations: 3.938 kB / 1.336 GB, free: 8.035 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.531e-06/0.452, allocations: 4 kB / 1.336 GB, free: 8.031 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005819/0.4525, allocations: 390 kB / 1.336 GB, free: 7.613 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.4525, allocations: 0 / 1.336 GB, free: 7.613 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.825e-05/0.4526, allocations: 7.938 kB / 1.336 GB, free: 7.605 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.4526, allocations: 4 kB / 1.336 GB, free: 7.602 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.223e-05/0.4526, allocations: 4 kB / 1.336 GB, free: 7.598 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.4526, allocations: 0 / 1.336 GB, free: 7.598 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.4526, allocations: 7.984 kB / 1.336 GB, free: 7.59 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002479/0.4528, allocations: 236.1 kB / 1.337 GB, free: 7.34 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.795e-05/0.4529, allocations: 11.91 kB / 1.337 GB, free: 7.328 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.788e-05/0.4529, allocations: 11.92 kB / 1.337 GB, free: 7.316 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001279/0.453, allocations: 11.98 kB / 1.337 GB, free: 7.305 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.289e-05/0.4531, allocations: 23.91 kB / 1.337 GB, free: 7.281 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.793e-05/0.4531, allocations: 8 kB / 1.337 GB, free: 7.273 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001404/0.4533, allocations: 140.5 kB / 1.337 GB, free: 7.137 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4533, allocations: 3.938 kB / 1.337 GB, free: 7.133 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003183/0.4536, allocations: 47.92 kB / 1.337 GB, free: 7.086 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.0004306/0.454, allocations: 177.5 kB / 1.337 GB, free: 6.93 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002694/0.4543, allocations: 99.81 kB / 1.337 GB, free: 6.832 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.4543, allocations: 0 / 1.337 GB, free: 6.832 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001006/0.4544, allocations: 47.92 kB / 1.337 GB, free: 6.785 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000463/0.4549, allocations: 55.91 kB / 1.337 GB, free: 6.734 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006292/0.4555, allocations: 300.1 kB / 1.338 GB, free: 6.418 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001333/0.4556, allocations: 108.1 kB / 1.338 GB, free: 6.293 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 8.314e-05/0.4557, allocations: 25.62 kB / 1.338 GB, free: 6.27 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.76e-05/0.4558, allocations: 23.44 kB / 1.338 GB, free: 6.246 MB / 1.029 GB Notification: Performance of SimCode: time 4.31e-07/0.4558, allocations: 4 kB / 1.338 GB, free: 6.242 MB / 1.029 GB Notification: Performance of Templates: time 0.009001/0.4648, allocations: 4.042 MB / 1.342 GB, free: 2.281 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 -s cvode -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] Reference file matches [Calling sys.exit(0), Time elapsed: 9.739951079012826]