Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001367/0.001367, allocations: 101.9 kB / 16.45 MB, free: 6.449 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.0014/0.0014, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.451/1.451, allocations: 230.6 MB / 252.8 MB, free: 9.125 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.156/3.156, allocations: 0.4899 GB / 0.7915 GB, free: 33.4 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.PlotterActivationAlwaysOn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_12_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_12_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.002111/0.002111, allocations: 71.09 kB / 1.149 GB, free: 26.16 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3189/0.321, allocations: 176.1 MB / 1.321 GB, free: 2.844 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn): time 0.003243/0.3243, allocations: 1.648 MB / 1.323 GB, free: 1.184 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001217/0.3255, allocations: 0.5655 MB / 1.323 GB, free: 0.6172 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.224e-05/0.3256, allocations: 3.938 kB / 1.323 GB, free: 0.6133 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0002014/0.3258, allocations: 31.72 kB / 1.323 GB, free: 0.582 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0003614/0.3261, allocations: 107.5 kB / 1.324 GB, free: 488 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003659/0.3265, allocations: 154.8 kB / 1.324 GB, free: 336 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0002994/0.3268, allocations: 219.5 kB / 1.324 GB, free: 116 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001065/0.3269, allocations: 25.47 kB / 1.324 GB, free: 88 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001387/0.327, allocations: 95.78 kB / 1.324 GB, free: 15.99 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01264/0.3397, allocations: 1.578 MB / 1.326 GB, free: 14.82 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 6.876e-05/0.3398, allocations: 16 kB / 1.326 GB, free: 14.8 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000127/0.3399, allocations: 39.97 kB / 1.326 GB, free: 14.77 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.612e-05/0.34, allocations: 35.84 kB / 1.326 GB, free: 14.73 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001263/0.3401, allocations: 83.62 kB / 1.326 GB, free: 14.65 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003989/0.3405, allocations: 195.2 kB / 1.326 GB, free: 14.46 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.3405, allocations: 0 / 1.326 GB, free: 14.46 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.483e-06/0.3405, allocations: 4 kB / 1.326 GB, free: 14.45 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.346e-06/0.3405, allocations: 0 / 1.326 GB, free: 14.45 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0009035/0.3414, allocations: 0.5215 MB / 1.326 GB, free: 13.87 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.3414, allocations: 11.98 kB / 1.326 GB, free: 13.86 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.375e-05/0.3415, allocations: 28.8 kB / 1.326 GB, free: 13.83 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003249/0.3418, allocations: 232 kB / 1.327 GB, free: 13.57 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.554e-05/0.3419, allocations: 7.938 kB / 1.327 GB, free: 13.56 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.992e-05/0.3419, allocations: 16 kB / 1.327 GB, free: 13.54 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001808/0.3421, allocations: 81.59 kB / 1.327 GB, free: 13.46 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.3421, allocations: 0 / 1.327 GB, free: 13.46 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.749e-05/0.3421, allocations: 11.94 kB / 1.327 GB, free: 13.45 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.3421, allocations: 0 / 1.327 GB, free: 13.45 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001053/0.3422, allocations: 43.97 kB / 1.327 GB, free: 13.4 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008411/0.3431, allocations: 444.4 kB / 1.327 GB, free: 12.92 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001446/0.3432, allocations: 66.55 kB / 1.327 GB, free: 12.84 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.835e-05/0.3433, allocations: 20.86 kB / 1.327 GB, free: 12.82 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.281e-05/0.3433, allocations: 0 / 1.327 GB, free: 12.82 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000205/0.3435, allocations: 99.48 kB / 1.327 GB, free: 12.71 MB / 1.029 GB Notification: Performance of pre-optimization done (n=12): time 1.232e-06/0.3435, allocations: 0 / 1.327 GB, free: 12.71 MB / 1.029 GB Notification: Performance of matching and sorting (n=12): time 0.000317/0.3438, allocations: 133.4 kB / 1.328 GB, free: 12.57 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.61e-05/0.3438, allocations: 55.41 kB / 1.328 GB, free: 12.51 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002063/0.344, allocations: 187.2 kB / 1.328 GB, free: 12.31 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.154e-05/0.3441, allocations: 33.7 kB / 1.328 GB, free: 12.27 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.809e-05/0.3442, allocations: 116.2 kB / 1.328 GB, free: 12.16 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.229e-05/0.3442, allocations: 31.83 kB / 1.328 GB, free: 12.12 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.196e-05/0.3443, allocations: 49.69 kB / 1.328 GB, free: 12.07 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001515/0.3445, allocations: 330.8 kB / 1.328 GB, free: 11.74 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.856e-05/0.3445, allocations: 27.94 kB / 1.328 GB, free: 11.71 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002466/0.3448, allocations: 118.5 kB / 1.328 GB, free: 11.57 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001341/0.3449, allocations: 87.97 kB / 1.329 GB, free: 11.47 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.3449, allocations: 0 / 1.329 GB, free: 11.47 MB / 1.029 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000257/0.3452, allocations: 141.5 kB / 1.329 GB, free: 11.33 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.3452, allocations: 4 kB / 1.329 GB, free: 11.32 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.311e-06/0.3452, allocations: 7.938 kB / 1.329 GB, free: 11.32 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.3452, allocations: 0 / 1.329 GB, free: 11.32 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.212e-05/0.3453, allocations: 12 kB / 1.329 GB, free: 11.3 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.3453, allocations: 3.938 kB / 1.329 GB, free: 11.3 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001992/0.3455, allocations: 27.88 kB / 1.329 GB, free: 11.27 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.238e-05/0.3455, allocations: 8 kB / 1.329 GB, free: 11.27 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: 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.0001331/0.3456, allocations: 137.6 kB / 1.329 GB, free: 11.12 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.853e-05/0.3457, allocations: 15.94 kB / 1.329 GB, free: 11.11 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.337e-05/0.3457, allocations: 17.34 kB / 1.329 GB, free: 11.08 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.3457, allocations: 4 kB / 1.329 GB, free: 11.08 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.3457, allocations: 0 / 1.329 GB, free: 11.08 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.524e-06/0.3457, allocations: 0 / 1.329 GB, free: 11.08 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005793/0.3463, allocations: 442.1 kB / 1.329 GB, free: 10.59 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.3463, allocations: 0 / 1.329 GB, free: 10.59 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.448e-05/0.3463, allocations: 7.938 kB / 1.329 GB, free: 10.58 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.3463, allocations: 7.938 kB / 1.329 GB, free: 10.57 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.063e-05/0.3463, allocations: 3.984 kB / 1.329 GB, free: 10.57 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.3463, allocations: 0 / 1.329 GB, free: 10.57 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3463, allocations: 4 kB / 1.329 GB, free: 10.57 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002203/0.3466, allocations: 207.9 kB / 1.33 GB, free: 10.35 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.795e-05/0.3466, allocations: 85.02 kB / 1.33 GB, free: 10.25 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.092e-05/0.3466, allocations: 4 kB / 1.33 GB, free: 10.24 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001028/0.3467, allocations: 11.98 kB / 1.33 GB, free: 10.23 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.054e-05/0.3468, allocations: 11.98 kB / 1.33 GB, free: 10.22 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.369e-05/0.3468, allocations: 8 kB / 1.33 GB, free: 10.21 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001338/0.3469, allocations: 141.1 kB / 1.33 GB, free: 10.07 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.347, allocations: 0 / 1.33 GB, free: 10.07 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003046/0.3473, allocations: 39.94 kB / 1.33 GB, free: 10.04 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: 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.0003753/0.3476, allocations: 173 kB / 1.33 GB, free: 9.879 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002092/0.3478, allocations: 71.84 kB / 1.33 GB, free: 9.809 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3478, allocations: 4.25 kB / 1.33 GB, free: 9.805 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 7.314e-05/0.3479, allocations: 39.92 kB / 1.33 GB, free: 9.766 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003905/0.3483, allocations: 58.88 kB / 1.33 GB, free: 9.711 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006056/0.3489, allocations: 270.8 kB / 1.33 GB, free: 9.422 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003498/0.3493, allocations: 0.7163 MB / 1.331 GB, free: 8.68 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 7.099e-05/0.3493, allocations: 17.55 kB / 1.331 GB, free: 8.66 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.347e-05/0.3494, allocations: 23.42 kB / 1.331 GB, free: 8.637 MB / 1.029 GB Notification: Performance of SimCode: time 3.1e-07/0.3494, allocations: 0 / 1.331 GB, free: 8.637 MB / 1.029 GB Notification: Performance of Templates: time 0.008351/0.3577, allocations: 3.294 MB / 1.334 GB, free: 5.375 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe ; mkfifo Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe >> ../files/Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.sim & ./Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 8.829896104056388]