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.001889/0.001889, allocations: 79.44 kB / 19.18 MB, free: 2.52 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.002288/0.002288, allocations: 166.2 kB / 22.46 MB, free: 5.379 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.498/1.498, allocations: 177.2 MB / 202.8 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.753/2.753, allocations: 359 MB / 0.6037 GB, free: 15.02 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 1.884e-06/1.884e-06, allocations: 3.938 kB / 0.9509 GB, free: 11.68 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.301e-05/3.49e-05, allocations: 6.281 kB / 0.9509 GB, free: 11.67 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn): time 0.00318/0.003215, allocations: 1.621 MB / 0.9525 GB, free: 10.02 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001241/0.004456, allocations: 0.566 MB / 0.9531 GB, free: 9.457 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.086e-05/0.004527, allocations: 3.938 kB / 0.9531 GB, free: 9.453 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001878/0.004715, allocations: 31.7 kB / 0.9531 GB, free: 9.422 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003557/0.00507, allocations: 111.4 kB / 0.9532 GB, free: 9.312 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003716/0.005442, allocations: 151.6 kB / 0.9534 GB, free: 9.164 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003067/0.005749, allocations: 219.4 kB / 0.9536 GB, free: 8.949 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001083/0.005857, allocations: 17.8 kB / 0.9536 GB, free: 8.93 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000192/0.006049, allocations: 135.8 kB / 0.9537 GB, free: 8.797 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01291/0.01895, allocations: 1.549 MB / 0.9552 GB, free: 7.656 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 8.302e-05/0.01904, allocations: 16 kB / 0.9552 GB, free: 7.641 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001347/0.01917, allocations: 39.92 kB / 0.9553 GB, free: 7.602 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 8.133e-05/0.01925, allocations: 35.84 kB / 0.9553 GB, free: 7.566 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.000116/0.01937, allocations: 59.81 kB / 0.9554 GB, free: 7.508 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004251/0.01979, allocations: 223.3 kB / 0.9556 GB, free: 7.289 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.0198, allocations: 0 / 0.9556 GB, free: 7.289 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.503e-06/0.0198, allocations: 0 / 0.9556 GB, free: 7.289 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.272e-06/0.01981, allocations: 4 kB / 0.9556 GB, free: 7.285 MB / 0.8575 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.0007922/0.0206, allocations: 456.9 kB / 0.956 GB, free: 6.797 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.02064, allocations: 8.031 kB / 0.956 GB, free: 6.789 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.645e-05/0.02071, allocations: 24.8 kB / 0.956 GB, free: 6.766 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002769/0.02099, allocations: 177.4 kB / 0.9562 GB, free: 6.566 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.057e-05/0.02101, allocations: 12.38 kB / 0.9562 GB, free: 6.555 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.183e-05/0.02104, allocations: 8.375 kB / 0.9562 GB, free: 6.547 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001888/0.02123, allocations: 92.27 kB / 0.9563 GB, free: 6.453 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.02124, allocations: 8 kB / 0.9563 GB, free: 6.445 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.38e-05/0.02126, allocations: 0 / 0.9563 GB, free: 6.445 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.678e-06/0.02127, allocations: 0 / 0.9563 GB, free: 6.445 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001035/0.02137, allocations: 51.84 kB / 0.9564 GB, free: 6.395 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007511/0.02212, allocations: 352.1 kB / 0.9567 GB, free: 6.02 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000156/0.02228, allocations: 66.53 kB / 0.9568 GB, free: 5.945 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.566e-05/0.02233, allocations: 32.84 kB / 0.9568 GB, free: 5.91 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.019e-05/0.02235, allocations: 4.188 kB / 0.9568 GB, free: 5.906 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002168/0.02257, allocations: 87.31 kB / 0.9569 GB, free: 5.809 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=12): time 1.744e-06/0.02257, allocations: 0 / 0.9569 GB, free: 5.809 MB / 0.8575 GB Notification: Performance of matching and sorting (n=12): time 0.0003138/0.02289, allocations: 125.5 kB / 0.957 GB, free: 5.68 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.438e-05/0.02293, allocations: 55.41 kB / 0.9571 GB, free: 5.613 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002126/0.02314, allocations: 191.1 kB / 0.9573 GB, free: 5.414 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 4.336e-05/0.02319, allocations: 37.69 kB / 0.9573 GB, free: 5.371 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001064/0.02329, allocations: 119.9 kB / 0.9574 GB, free: 5.25 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.764e-05/0.02332, allocations: 23.86 kB / 0.9574 GB, free: 5.227 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.518e-05/0.02342, allocations: 65.61 kB / 0.9575 GB, free: 5.156 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001456/0.02356, allocations: 326.8 kB / 0.9578 GB, free: 4.828 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.871e-05/0.02362, allocations: 23.98 kB / 0.9578 GB, free: 4.805 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003129/0.02393, allocations: 229.6 kB / 0.958 GB, free: 4.531 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001295/0.02406, allocations: 90.72 kB / 0.9581 GB, free: 4.43 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.02406, allocations: 0 / 0.9581 GB, free: 4.43 MB / 0.8575 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002352/0.0243, allocations: 133.5 kB / 0.9583 GB, free: 4.293 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.02432, allocations: 8 kB / 0.9583 GB, free: 4.285 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.02432, allocations: 0 / 0.9583 GB, free: 4.285 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.02434, allocations: 0 / 0.9583 GB, free: 4.285 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.534e-05/0.02442, allocations: 16 kB / 0.9583 GB, free: 4.27 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.917e-06/0.02443, allocations: 3.938 kB / 0.9583 GB, free: 4.266 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001992/0.02463, allocations: 27.81 kB / 0.9583 GB, free: 4.238 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.398e-05/0.02464, allocations: 8 kB / 0.9583 GB, free: 4.23 MB / 0.8575 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.0001359/0.02478, allocations: 133.7 kB / 0.9584 GB, free: 4.09 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.849e-05/0.02481, allocations: 19.91 kB / 0.9585 GB, free: 4.07 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.786e-05/0.02485, allocations: 17.47 kB / 0.9585 GB, free: 4.059 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.02485, allocations: 0 / 0.9585 GB, free: 4.059 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.02485, allocations: 0 / 0.9585 GB, free: 4.059 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.564e-06/0.02486, allocations: 7.922 kB / 0.9585 GB, free: 4.051 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000513/0.02537, allocations: 365.9 kB / 0.9588 GB, free: 3.656 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.02538, allocations: 0 / 0.9588 GB, free: 3.656 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.365e-05/0.0254, allocations: 3.984 kB / 0.9588 GB, free: 3.652 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.077e-06/0.02541, allocations: 7.984 kB / 0.9589 GB, free: 3.645 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.304e-05/0.02542, allocations: 7.922 kB / 0.9589 GB, free: 3.637 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.02542, allocations: 4 kB / 0.9589 GB, free: 3.633 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.02543, allocations: 7.938 kB / 0.9589 GB, free: 3.625 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000232/0.02566, allocations: 207.9 kB / 0.9591 GB, free: 3.406 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.567e-05/0.02568, allocations: 15.91 kB / 0.9591 GB, free: 3.391 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.557e-05/0.02571, allocations: 3.938 kB / 0.9591 GB, free: 3.387 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001048/0.02581, allocations: 11.98 kB / 0.9591 GB, free: 3.375 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.768e-05/0.02588, allocations: 11.97 kB / 0.9591 GB, free: 3.363 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.183e-05/0.0259, allocations: 4 kB / 0.9591 GB, free: 3.359 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001269/0.02603, allocations: 145.1 kB / 0.9593 GB, free: 3.219 MB / 0.8575 GB Notification: Performance of sort global known variables: time 8.1e-08/0.02603, allocations: 0 / 0.9593 GB, free: 3.219 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003168/0.02635, allocations: 47.89 kB / 0.9593 GB, free: 3.172 MB / 0.8575 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.0004161/0.02676, allocations: 165 kB / 0.9595 GB, free: 3.027 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001999/0.02696, allocations: 71.84 kB / 0.9595 GB, free: 2.957 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.02696, allocations: 4 kB / 0.9595 GB, free: 2.953 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 7.457e-05/0.02704, allocations: 35.92 kB / 0.9596 GB, free: 2.918 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004018/0.02744, allocations: 46.3 kB / 0.9596 GB, free: 2.875 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005995/0.02804, allocations: 274.3 kB / 0.9599 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.99e-05/0.02814, allocations: 102.3 kB / 0.96 GB, free: 2.465 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 6.568e-05/0.02821, allocations: 25.45 kB / 0.96 GB, free: 2.441 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.109e-05/0.02827, allocations: 20.5 kB / 0.96 GB, free: 2.422 MB / 0.8575 GB Notification: Performance of SimCode: time 3.41e-07/0.02827, allocations: 0 / 0.96 GB, free: 2.422 MB / 0.8575 GB Notification: Performance of Templates: time 0.008064/0.03633, allocations: 3.518 MB / 0.9634 GB, free: 14.98 MB / 0.8731 GB " [Timeout remaining time 300] 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: 7.943524617701769]