Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.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.001746/0.001746, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.001883/0.001883, allocations: 213.9 kB / 22.25 MB, free: 5.242 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.481/1.481, allocations: 230.6 MB / 256 MB, free: 7.797 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.866/2.866, allocations: 476 MB / 0.7699 GB, free: 4.781 MB / 0.6231 GB " [Timeout remaining time 176] 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.PlotterActivationAlwaysOn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn") [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.002142/0.002142, allocations: 69.23 kB / 1.117 GB, free: 41.09 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3227/0.3249, allocations: 170 MB / 1.283 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn): time 0.003218/0.3281, allocations: 1.617 MB / 1.285 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001303/0.3294, allocations: 0.5751 MB / 1.285 GB, free: 9.773 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.142e-05/0.3295, allocations: 3.938 kB / 1.285 GB, free: 9.77 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001816/0.3297, allocations: 23.73 kB / 1.285 GB, free: 9.746 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0003727/0.33, allocations: 111.5 kB / 1.285 GB, free: 9.637 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004506/0.3305, allocations: 154.1 kB / 1.285 GB, free: 9.488 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003866/0.3309, allocations: 219.5 kB / 1.286 GB, free: 9.273 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001218/0.331, allocations: 13.75 kB / 1.286 GB, free: 9.258 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001395/0.3311, allocations: 103.7 kB / 1.286 GB, free: 9.156 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01258/0.3437, allocations: 1.569 MB / 1.287 GB, free: 7.996 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 9.197e-05/0.3438, allocations: 19.94 kB / 1.287 GB, free: 7.977 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001561/0.344, allocations: 39.98 kB / 1.287 GB, free: 7.938 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 8.845e-05/0.3441, allocations: 31.84 kB / 1.287 GB, free: 7.906 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001299/0.3442, allocations: 75.69 kB / 1.287 GB, free: 7.832 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004526/0.3446, allocations: 191.3 kB / 1.288 GB, free: 7.645 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.253e-06/0.3446, allocations: 7.922 kB / 1.288 GB, free: 7.637 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.923e-06/0.3446, allocations: 0 / 1.288 GB, free: 7.637 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.247e-06/0.3447, allocations: 0 / 1.288 GB, free: 7.637 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.000874/0.3455, allocations: 460.8 kB / 1.288 GB, free: 7.145 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.3456, allocations: 8.031 kB / 1.288 GB, free: 7.137 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.732e-05/0.3457, allocations: 20.84 kB / 1.288 GB, free: 7.117 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003227/0.346, allocations: 174.2 kB / 1.288 GB, free: 6.922 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.156e-05/0.346, allocations: 11.94 kB / 1.288 GB, free: 6.91 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.19e-05/0.346, allocations: 19.94 kB / 1.288 GB, free: 6.891 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002037/0.3462, allocations: 77.66 kB / 1.288 GB, free: 6.809 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.3463, allocations: 0 / 1.288 GB, free: 6.809 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.524e-05/0.3463, allocations: 4 kB / 1.288 GB, free: 6.805 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.3463, allocations: 4 kB / 1.288 GB, free: 6.801 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001109/0.3464, allocations: 43.97 kB / 1.288 GB, free: 6.758 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008388/0.3472, allocations: 360.1 kB / 1.289 GB, free: 6.375 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001674/0.3474, allocations: 58.56 kB / 1.289 GB, free: 6.309 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.719e-05/0.3475, allocations: 28.84 kB / 1.289 GB, free: 6.277 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.912e-05/0.3475, allocations: 0 / 1.289 GB, free: 6.277 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002453/0.3477, allocations: 95.39 kB / 1.289 GB, free: 6.172 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=12): time 1.413e-06/0.3477, allocations: 0 / 1.289 GB, free: 6.172 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12): time 0.0003165/0.348, allocations: 129.5 kB / 1.289 GB, free: 6.039 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.324e-05/0.3481, allocations: 55.41 kB / 1.289 GB, free: 5.973 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002161/0.3483, allocations: 187.4 kB / 1.289 GB, free: 5.777 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.686e-05/0.3483, allocations: 33.7 kB / 1.289 GB, free: 5.738 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001036/0.3484, allocations: 124 kB / 1.289 GB, free: 5.613 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.104e-05/0.3485, allocations: 27.78 kB / 1.289 GB, free: 5.586 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001073/0.3486, allocations: 53.67 kB / 1.29 GB, free: 5.527 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001682/0.3487, allocations: 326.8 kB / 1.29 GB, free: 5.199 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.079e-05/0.3488, allocations: 31.92 kB / 1.29 GB, free: 5.168 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002995/0.3491, allocations: 228.4 kB / 1.29 GB, free: 4.895 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001338/0.3492, allocations: 94.34 kB / 1.29 GB, free: 4.789 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.3492, allocations: 0 / 1.29 GB, free: 4.789 MB / 0.9825 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002451/0.3495, allocations: 137.5 kB / 1.29 GB, free: 4.648 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.3495, allocations: 4 kB / 1.29 GB, free: 4.645 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.3495, allocations: 4 kB / 1.29 GB, free: 4.641 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/0.3495, allocations: 3.938 kB / 1.29 GB, free: 4.637 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.151e-05/0.3496, allocations: 15.98 kB / 1.29 GB, free: 4.621 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.119e-06/0.3496, allocations: 0 / 1.29 GB, free: 4.621 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001878/0.3498, allocations: 20.08 kB / 1.29 GB, free: 4.602 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.839e-05/0.3498, allocations: 19.97 kB / 1.29 GB, free: 4.582 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 15 (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,$whenCondition3,plotConfiguration.activate_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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.000143/0.35, allocations: 129.8 kB / 1.29 GB, free: 4.445 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.184e-05/0.35, allocations: 15.91 kB / 1.29 GB, free: 4.43 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.601e-05/0.35, allocations: 17.39 kB / 1.291 GB, free: 4.406 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.614e-06/0.35, allocations: 7.938 kB / 1.291 GB, free: 4.398 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.35, allocations: 0 / 1.291 GB, free: 4.398 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.35, allocations: 0 / 1.291 GB, free: 4.398 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005309/0.3506, allocations: 362.4 kB / 1.291 GB, free: 4.008 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.037e-06/0.3506, allocations: 3.938 kB / 1.291 GB, free: 4.004 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.412e-05/0.3506, allocations: 11.98 kB / 1.291 GB, free: 3.992 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.3506, allocations: 0 / 1.291 GB, free: 3.992 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.373e-05/0.3506, allocations: 8 kB / 1.291 GB, free: 3.984 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.3506, allocations: 0 / 1.291 GB, free: 3.984 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3506, allocations: 0 / 1.291 GB, free: 3.984 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002277/0.3509, allocations: 207.3 kB / 1.291 GB, free: 3.766 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.024e-05/0.3509, allocations: 19.84 kB / 1.291 GB, free: 3.746 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.293e-05/0.3509, allocations: 3.984 kB / 1.291 GB, free: 3.742 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.476e-05/0.351, allocations: 8 kB / 1.291 GB, free: 3.734 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.04e-05/0.3511, allocations: 15.97 kB / 1.291 GB, free: 3.719 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.982e-05/0.3511, allocations: 11.94 kB / 1.291 GB, free: 3.707 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001349/0.3512, allocations: 137.8 kB / 1.291 GB, free: 3.574 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3512, allocations: 0 / 1.291 GB, free: 3.574 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000316/0.3515, allocations: 39.94 kB / 1.291 GB, free: 3.535 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 (scaDel.sampleTrigger,sca.sampleTrigger,plotConfiguration.active,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0003849/0.3519, allocations: 163.8 kB / 1.291 GB, free: 3.395 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002149/0.3521, allocations: 81.84 kB / 1.292 GB, free: 3.316 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.3521, allocations: 0 / 1.292 GB, free: 3.316 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.269e-05/0.3522, allocations: 39.97 kB / 1.292 GB, free: 3.277 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003983/0.3526, allocations: 49.47 kB / 1.292 GB, free: 3.23 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006091/0.3532, allocations: 274.7 kB / 1.292 GB, free: 2.938 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001056/0.3534, allocations: 102.2 kB / 1.292 GB, free: 2.82 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 7.775e-05/0.3534, allocations: 21.47 kB / 1.292 GB, free: 2.797 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.66e-05/0.3535, allocations: 27.42 kB / 1.292 GB, free: 2.77 MB / 0.9825 GB Notification: Performance of SimCode: time 4.9e-07/0.3535, allocations: 0 / 1.292 GB, free: 2.77 MB / 0.9825 GB Notification: Performance of Templates: time 0.008386/0.3619, allocations: 3.617 MB / 1.296 GB, free: 15.23 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe ; mkfifo Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe >> ../files/Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.sim & ./Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.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.15316347591579]