Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.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.001305/0.001305, allocations: 102.1 kB / 19.7 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.001484/0.001484, allocations: 218.6 kB / 23.01 MB, free: 4.609 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.438/1.438, allocations: 230.6 MB / 256.8 MB, free: 8.051 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.25/3.25, allocations: 0.49 GB / 0.7958 GB, free: 33.39 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.PlotterActivationGlobalInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput") [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.002092/0.002092, allocations: 63.19 kB / 1.155 GB, free: 25.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4231/0.4252, allocations: 176.1 MB / 1.327 GB, free: 1.492 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput): time 0.004297/0.4295, allocations: 1.77 MB / 1.329 GB, free: 15.71 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002368/0.4319, allocations: 0.963 MB / 1.33 GB, free: 14.75 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001127/0.432, allocations: 0 / 1.33 GB, free: 14.75 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002456/0.4322, allocations: 27.73 kB / 1.33 GB, free: 14.72 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0005633/0.4328, allocations: 123.4 kB / 1.33 GB, free: 14.6 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005367/0.4333, allocations: 164.8 kB / 1.33 GB, free: 14.44 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004372/0.4338, allocations: 251.3 kB / 1.33 GB, free: 14.19 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001543/0.4339, allocations: 21.75 kB / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001928/0.4341, allocations: 111.7 kB / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01838/0.4525, allocations: 1.715 MB / 1.332 GB, free: 12.79 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001201/0.4526, allocations: 16 kB / 1.332 GB, free: 12.77 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001979/0.4528, allocations: 40 kB / 1.332 GB, free: 12.73 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001083/0.4529, allocations: 39.84 kB / 1.332 GB, free: 12.7 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002103/0.4531, allocations: 91.56 kB / 1.332 GB, free: 12.61 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000726/0.4538, allocations: 215.1 kB / 1.332 GB, free: 12.39 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.4538, allocations: 4 kB / 1.333 GB, free: 12.39 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.042e-06/0.4538, allocations: 0 / 1.333 GB, free: 12.39 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.226e-05/0.4539, allocations: 0 / 1.333 GB, free: 12.39 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.001219/0.4551, allocations: 492.7 kB / 1.333 GB, free: 11.87 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.619e-05/0.4551, allocations: 12.03 kB / 1.333 GB, free: 11.86 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001354/0.4553, allocations: 24.78 kB / 1.333 GB, free: 11.83 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004296/0.4557, allocations: 189.7 kB / 1.333 GB, free: 11.62 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.476e-05/0.4557, allocations: 12 kB / 1.333 GB, free: 11.61 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.567e-05/0.4558, allocations: 12 kB / 1.333 GB, free: 11.6 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002728/0.456, allocations: 91.38 kB / 1.333 GB, free: 11.5 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.354e-05/0.4561, allocations: 3.984 kB / 1.333 GB, free: 11.5 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.001e-05/0.4561, allocations: 4 kB / 1.333 GB, free: 11.5 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.877e-06/0.4561, allocations: 7.938 kB / 1.333 GB, free: 11.49 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001765/0.4563, allocations: 51.97 kB / 1.333 GB, free: 11.44 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001189/0.4575, allocations: 439.4 kB / 1.334 GB, free: 10.96 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005801/0.458, allocations: 130.7 kB / 1.334 GB, free: 10.83 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001007/0.4581, allocations: 32.84 kB / 1.334 GB, free: 10.79 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.295e-05/0.4582, allocations: 0 / 1.334 GB, free: 10.79 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004456/0.4586, allocations: 111.2 kB / 1.334 GB, free: 10.67 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 1.934e-06/0.4586, allocations: 0 / 1.334 GB, free: 10.67 MB / 1.029 GB Notification: Performance of matching and sorting (n=16): time 0.0005193/0.4591, allocations: 177.5 kB / 1.334 GB, free: 10.49 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.728e-05/0.4592, allocations: 55.41 kB / 1.334 GB, free: 10.43 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003399/0.4595, allocations: 199.2 kB / 1.334 GB, free: 10.22 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.371e-05/0.4596, allocations: 37.69 kB / 1.334 GB, free: 10.18 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001367/0.4597, allocations: 116.5 kB / 1.335 GB, free: 10.06 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.871e-05/0.4598, allocations: 31.73 kB / 1.335 GB, free: 10.03 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001425/0.4599, allocations: 61.67 kB / 1.335 GB, free: 9.961 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000189/0.4601, allocations: 334.8 kB / 1.335 GB, free: 9.625 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001033/0.4602, allocations: 31.98 kB / 1.335 GB, free: 9.594 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003454/0.4606, allocations: 128.9 kB / 1.335 GB, free: 9.441 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002185/0.4608, allocations: 102.7 kB / 1.335 GB, free: 9.328 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.4608, allocations: 0 / 1.335 GB, free: 9.328 MB / 1.029 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003937/0.4612, allocations: 153.4 kB / 1.335 GB, free: 9.172 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.125e-05/0.4612, allocations: 8 kB / 1.335 GB, free: 9.164 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.4612, allocations: 0 / 1.335 GB, free: 9.164 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.408e-05/0.4612, allocations: 8.109 kB / 1.335 GB, free: 9.156 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001019/0.4613, allocations: 15.94 kB / 1.335 GB, free: 9.141 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.123e-05/0.4613, allocations: 4 kB / 1.335 GB, free: 9.137 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003054/0.4616, allocations: 23.92 kB / 1.335 GB, free: 9.113 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.615e-05/0.4617, allocations: 4 kB / 1.335 GB, free: 9.109 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition3,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,plotConfiguration.tActivateLast,$PRE.plotConfiguration.tActivateLast,plotConfiguration.active,$whenCondition1,$whenCondition2,$whenCondition4,$whenCondition5) * 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.0002083/0.4619, allocations: 144 kB / 1.336 GB, free: 8.957 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.843e-05/0.4619, allocations: 19.86 kB / 1.336 GB, free: 8.938 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.905e-05/0.462, allocations: 21.8 kB / 1.336 GB, free: 8.91 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/0.462, allocations: 8 kB / 1.336 GB, free: 8.902 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.462, allocations: 0 / 1.336 GB, free: 8.902 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.462, allocations: 0 / 1.336 GB, free: 8.902 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001037/0.463, allocations: 468.8 kB / 1.336 GB, free: 8.398 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.463, allocations: 0 / 1.336 GB, free: 8.398 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.054e-05/0.4631, allocations: 4 kB / 1.336 GB, free: 8.395 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.4631, allocations: 0 / 1.336 GB, free: 8.395 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.544e-05/0.4631, allocations: 7.984 kB / 1.336 GB, free: 8.387 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.127e-06/0.4631, allocations: 15.75 kB / 1.336 GB, free: 8.371 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.107e-06/0.4631, allocations: 8 kB / 1.336 GB, free: 8.363 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003868/0.4635, allocations: 231.3 kB / 1.336 GB, free: 8.121 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.945e-05/0.4635, allocations: 15.91 kB / 1.336 GB, free: 8.105 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.597e-05/0.4636, allocations: 0 / 1.336 GB, free: 8.105 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002033/0.4638, allocations: 19.92 kB / 1.336 GB, free: 8.086 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001028/0.4639, allocations: 27.91 kB / 1.336 GB, free: 8.059 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.405e-05/0.4639, allocations: 7.984 kB / 1.336 GB, free: 8.051 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002013/0.4641, allocations: 144.2 kB / 1.337 GB, free: 7.91 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.7e-07/0.4641, allocations: 4 kB / 1.337 GB, free: 7.906 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0005226/0.4646, allocations: 36 kB / 1.337 GB, free: 7.871 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 (scaDel.sampleTrigger,sca.sampleTrigger,plotConfiguration.active,booPul.y,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast,booPul.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * 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.000536/0.4652, allocations: 168.7 kB / 1.337 GB, free: 7.719 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003377/0.4655, allocations: 89.94 kB / 1.337 GB, free: 7.633 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.4655, allocations: 0 / 1.337 GB, free: 7.633 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001535/0.4657, allocations: 64.09 kB / 1.337 GB, free: 7.57 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000676/0.4663, allocations: 51.78 kB / 1.337 GB, free: 7.523 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001166/0.4675, allocations: 348.7 kB / 1.337 GB, free: 7.152 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005035/0.468, allocations: 0.7242 MB / 1.338 GB, free: 6.402 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.715e-05/0.4681, allocations: 23.44 kB / 1.338 GB, free: 6.379 MB / 1.029 GB Notification: Performance of SimCode: time 5.11e-07/0.4681, allocations: 0 / 1.338 GB, free: 6.379 MB / 1.029 GB Notification: Performance of Templates: time 0.009401/0.4775, allocations: 3.254 MB / 1.341 GB, free: 3.148 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; mkfifo Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe >> ../files/Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.sim & ./Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.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: 12.291769706003834]