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.001344/0.001344, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001477/0.001477, allocations: 211.7 kB / 22.99 MB, free: 4.945 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.51/1.51, allocations: 230.6 MB / 256.8 MB, free: 7.824 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.879/2.879, allocations: 476 MB / 0.7707 GB, free: 4.723 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.002059/0.002059, allocations: 68.47 kB / 1.118 GB, free: 41.13 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3237/0.3258, allocations: 169.9 MB / 1.284 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn): time 0.003393/0.3292, allocations: 1.634 MB / 1.285 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001258/0.3304, allocations: 0.5595 MB / 1.286 GB, free: 9.746 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.616e-05/0.3305, allocations: 7.938 kB / 1.286 GB, free: 9.738 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0002072/0.3307, allocations: 27.72 kB / 1.286 GB, free: 9.711 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0003823/0.3311, allocations: 111.5 kB / 1.286 GB, free: 9.602 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003997/0.3315, allocations: 148.3 kB / 1.286 GB, free: 9.457 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003192/0.3318, allocations: 215.5 kB / 1.286 GB, free: 9.246 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001284/0.3319, allocations: 21.73 kB / 1.286 GB, free: 9.223 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001348/0.3321, allocations: 99.67 kB / 1.286 GB, free: 9.125 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01239/0.3445, allocations: 1.578 MB / 1.288 GB, free: 7.961 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 7.435e-05/0.3445, allocations: 16 kB / 1.288 GB, free: 7.945 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001285/0.3447, allocations: 35.98 kB / 1.288 GB, free: 7.91 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 8.004e-05/0.3447, allocations: 39.84 kB / 1.288 GB, free: 7.871 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001067/0.3448, allocations: 67.69 kB / 1.288 GB, free: 7.805 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003831/0.3452, allocations: 203.2 kB / 1.288 GB, free: 7.605 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.3452, allocations: 3.938 kB / 1.288 GB, free: 7.602 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.853e-06/0.3452, allocations: 0 / 1.288 GB, free: 7.602 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.221e-06/0.3452, allocations: 0 / 1.288 GB, free: 7.602 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.0007999/0.346, allocations: 456.9 kB / 1.289 GB, free: 7.113 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.3461, allocations: 12.03 kB / 1.289 GB, free: 7.102 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.02e-05/0.3462, allocations: 16.84 kB / 1.289 GB, free: 7.086 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000295/0.3465, allocations: 178.2 kB / 1.289 GB, free: 6.887 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.038e-05/0.3465, allocations: 15.94 kB / 1.289 GB, free: 6.871 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.111e-05/0.3465, allocations: 8 kB / 1.289 GB, free: 6.863 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000179/0.3467, allocations: 81.66 kB / 1.289 GB, free: 6.777 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.126e-06/0.3467, allocations: 0 / 1.289 GB, free: 6.777 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.388e-05/0.3467, allocations: 8 kB / 1.289 GB, free: 6.77 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.3467, allocations: 4 kB / 1.289 GB, free: 6.766 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001028/0.3468, allocations: 39.97 kB / 1.289 GB, free: 6.727 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007723/0.3476, allocations: 352.2 kB / 1.29 GB, free: 6.352 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001666/0.3478, allocations: 66.55 kB / 1.29 GB, free: 6.277 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.001e-05/0.3478, allocations: 20.86 kB / 1.29 GB, free: 6.254 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.089e-05/0.3478, allocations: 8 kB / 1.29 GB, free: 6.246 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002345/0.3481, allocations: 99.33 kB / 1.29 GB, free: 6.137 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=12): time 1.423e-06/0.3481, allocations: 0 / 1.29 GB, free: 6.137 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12): time 0.0003062/0.3484, allocations: 133.5 kB / 1.29 GB, free: 6 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.902e-05/0.3484, allocations: 55.41 kB / 1.29 GB, free: 5.934 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002101/0.3486, allocations: 183.3 kB / 1.29 GB, free: 5.742 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.552e-05/0.3487, allocations: 37.64 kB / 1.29 GB, free: 5.699 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001107/0.3488, allocations: 120.1 kB / 1.29 GB, free: 5.578 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.992e-05/0.3488, allocations: 27.83 kB / 1.29 GB, free: 5.551 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.587e-05/0.3489, allocations: 49.69 kB / 1.29 GB, free: 5.496 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001733/0.3491, allocations: 334.8 kB / 1.291 GB, free: 5.16 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.678e-05/0.3491, allocations: 27.98 kB / 1.291 GB, free: 5.133 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003024/0.3494, allocations: 226.4 kB / 1.291 GB, free: 4.859 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001275/0.3496, allocations: 84.22 kB / 1.291 GB, free: 4.762 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.3496, allocations: 4 kB / 1.291 GB, free: 4.758 MB / 0.9825 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002741/0.3498, allocations: 133.6 kB / 1.291 GB, free: 4.621 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.3498, allocations: 8 kB / 1.291 GB, free: 4.613 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-06/0.3499, allocations: 4 kB / 1.291 GB, free: 4.609 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.873e-05/0.3499, allocations: 7.938 kB / 1.291 GB, free: 4.602 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.173e-05/0.35, allocations: 12 kB / 1.291 GB, free: 4.59 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.122e-05/0.35, allocations: 7.984 kB / 1.291 GB, free: 4.582 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001823/0.3501, allocations: 19.88 kB / 1.291 GB, free: 4.562 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.278e-05/0.3502, allocations: 11.94 kB / 1.291 GB, free: 4.551 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.0001395/0.3503, allocations: 133.8 kB / 1.291 GB, free: 4.41 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.074e-05/0.3503, allocations: 15.91 kB / 1.291 GB, free: 4.395 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.454e-05/0.3504, allocations: 21.41 kB / 1.291 GB, free: 4.367 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.3504, allocations: 3.938 kB / 1.291 GB, free: 4.363 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.3504, allocations: 0 / 1.291 GB, free: 4.363 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-06/0.3504, allocations: 4 kB / 1.291 GB, free: 4.359 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005857/0.351, allocations: 365.9 kB / 1.292 GB, free: 3.965 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.576e-06/0.351, allocations: 3.938 kB / 1.292 GB, free: 3.961 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.216e-05/0.351, allocations: 4 kB / 1.292 GB, free: 3.957 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.351, allocations: 0 / 1.292 GB, free: 3.957 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.256e-06/0.351, allocations: 0 / 1.292 GB, free: 3.957 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.351, allocations: 3.984 kB / 1.292 GB, free: 3.953 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.351, allocations: 11.94 kB / 1.292 GB, free: 3.941 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000218/0.3512, allocations: 207.3 kB / 1.292 GB, free: 3.723 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.818e-05/0.3513, allocations: 15.84 kB / 1.292 GB, free: 3.707 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.15e-05/0.3513, allocations: 0 / 1.292 GB, free: 3.707 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.828e-05/0.3514, allocations: 11.98 kB / 1.292 GB, free: 3.695 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.043e-05/0.3514, allocations: 11.98 kB / 1.292 GB, free: 3.684 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.366e-05/0.3515, allocations: 11.98 kB / 1.292 GB, free: 3.672 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001252/0.3516, allocations: 129.8 kB / 1.292 GB, free: 3.547 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3516, allocations: 4 kB / 1.292 GB, free: 3.543 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003014/0.3519, allocations: 39.92 kB / 1.292 GB, free: 3.504 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.0004254/0.3523, allocations: 182.5 kB / 1.292 GB, free: 3.348 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002207/0.3525, allocations: 71.86 kB / 1.292 GB, free: 3.277 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.3525, allocations: 0 / 1.292 GB, free: 3.277 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 7.411e-05/0.3526, allocations: 31.98 kB / 1.292 GB, free: 3.246 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003977/0.353, allocations: 66.31 kB / 1.292 GB, free: 3.188 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006557/0.3537, allocations: 288.5 kB / 1.293 GB, free: 2.875 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001108/0.3538, allocations: 106.5 kB / 1.293 GB, free: 2.754 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.88e-05/0.3538, allocations: 27.42 kB / 1.293 GB, free: 2.727 MB / 0.9825 GB Notification: Performance of SimCode: time 2.9e-07/0.3538, allocations: 0 / 1.293 GB, free: 2.727 MB / 0.9825 GB Notification: Performance of Templates: time 0.005754/0.3596, allocations: 2.96 MB / 1.296 GB, free: 15.79 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/jenkins1/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: 12.092940993141383]