Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001843/0.001843, allocations: 78.09 kB / 19.76 MB, free: 1.875 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.002197/0.002197, allocations: 159.7 kB / 23.01 MB, free: 4.594 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.403/1.403, allocations: 177.2 MB / 203.4 MB, free: 8.988 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.847/2.847, allocations: 394.2 MB / 0.6386 GB, free: 11.95 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.002179/0.002179, allocations: 71.88 kB / 1.009 GB, free: 14.52 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7835/0.7857, allocations: 181.8 MB / 1.187 GB, free: 16.18 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn): time 0.002484/0.7882, allocations: 1.617 MB / 1.188 GB, free: 15.08 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001013/0.7892, allocations: 0.5721 MB / 1.189 GB, free: 14.72 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.693e-05/0.7893, allocations: 5.219 kB / 1.189 GB, free: 14.71 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0001562/0.7894, allocations: 18.44 kB / 1.189 GB, free: 14.7 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.000305/0.7897, allocations: 119.9 kB / 1.189 GB, free: 14.64 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003108/0.7901, allocations: 154.4 kB / 1.189 GB, free: 14.56 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0002424/0.7903, allocations: 212 kB / 1.189 GB, free: 14.48 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 9.192e-05/0.7904, allocations: 19.48 kB / 1.189 GB, free: 14.46 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001138/0.7905, allocations: 100.3 kB / 1.189 GB, free: 14.43 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01226/0.8028, allocations: 1.58 MB / 1.191 GB, free: 13.98 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 5.231e-05/0.8028, allocations: 15.16 kB / 1.191 GB, free: 13.98 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001034/0.8029, allocations: 40.23 kB / 1.191 GB, free: 13.97 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 6.812e-05/0.803, allocations: 39.14 kB / 1.191 GB, free: 13.95 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 9.988e-05/0.8031, allocations: 66.91 kB / 1.191 GB, free: 13.91 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0003202/0.8034, allocations: 199.6 kB / 1.191 GB, free: 13.84 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.8034, allocations: 0 / 1.191 GB, free: 13.84 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.262e-06/0.8034, allocations: 0 / 1.191 GB, free: 13.84 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.8034, allocations: 3.938 kB / 1.191 GB, free: 13.83 MB / 1.076 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.0006011/0.804, allocations: 461.6 kB / 1.192 GB, free: 13.43 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.22e-05/0.8041, allocations: 10.09 kB / 1.192 GB, free: 13.43 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.846e-05/0.8041, allocations: 19.05 kB / 1.192 GB, free: 13.43 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002132/0.8043, allocations: 175 kB / 1.192 GB, free: 13.27 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.674e-05/0.8044, allocations: 13.56 kB / 1.192 GB, free: 13.26 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.873e-05/0.8044, allocations: 13.97 kB / 1.192 GB, free: 13.25 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000149/0.8045, allocations: 86.64 kB / 1.192 GB, free: 13.2 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.8045, allocations: 1.125 kB / 1.192 GB, free: 13.2 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.397e-05/0.8046, allocations: 5.703 kB / 1.192 GB, free: 13.2 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.8046, allocations: 1.031 kB / 1.192 GB, free: 13.2 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.143e-05/0.8046, allocations: 41.39 kB / 1.192 GB, free: 13.18 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006373/0.8053, allocations: 358.5 kB / 1.192 GB, free: 12.92 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001268/0.8054, allocations: 58.62 kB / 1.192 GB, free: 12.89 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.588e-05/0.8055, allocations: 26.61 kB / 1.192 GB, free: 12.87 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.524e-05/0.8055, allocations: 1.375 kB / 1.192 GB, free: 12.87 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001537/0.8056, allocations: 96.67 kB / 1.193 GB, free: 12.8 MB / 1.076 GB Notification: Performance of pre-optimization done (n=12): time 1.442e-06/0.8056, allocations: 0 / 1.193 GB, free: 12.8 MB / 1.076 GB Notification: Performance of matching and sorting (n=12): time 0.0002678/0.8059, allocations: 127.9 kB / 1.193 GB, free: 12.74 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.923e-05/0.8059, allocations: 54.28 kB / 1.193 GB, free: 12.68 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001619/0.8061, allocations: 193.2 kB / 1.193 GB, free: 12.54 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.519e-05/0.8061, allocations: 37.62 kB / 1.193 GB, free: 12.5 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 5.896e-05/0.8062, allocations: 113 kB / 1.193 GB, free: 12.4 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.35e-05/0.8062, allocations: 30.41 kB / 1.193 GB, free: 12.38 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.764e-05/0.8063, allocations: 55.73 kB / 1.193 GB, free: 12.34 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 4.631e-05/0.8063, allocations: 328.6 kB / 1.193 GB, free: 12.02 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.275e-05/0.8064, allocations: 30.16 kB / 1.193 GB, free: 12.01 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002232/0.8066, allocations: 235.4 kB / 1.194 GB, free: 11.79 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.983e-05/0.8067, allocations: 91.69 kB / 1.194 GB, free: 11.72 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.8067, allocations: 1.062 kB / 1.194 GB, free: 11.72 MB / 1.076 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001971/0.8069, allocations: 133.1 kB / 1.194 GB, free: 11.65 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.8069, allocations: 5.281 kB / 1.194 GB, free: 11.65 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.8069, allocations: 1.609 kB / 1.194 GB, free: 11.65 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.8069, allocations: 6.156 kB / 1.194 GB, free: 11.64 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.638e-05/0.807, allocations: 12.64 kB / 1.194 GB, free: 11.64 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.807, allocations: 2.156 kB / 1.194 GB, free: 11.64 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001851/0.8072, allocations: 25.02 kB / 1.194 GB, free: 11.63 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.011e-05/0.8072, allocations: 8.094 kB / 1.194 GB, free: 11.63 MB / 1.076 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 8.456e-05/0.8073, allocations: 134.9 kB / 1.194 GB, free: 11.5 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.612e-05/0.8073, allocations: 16.11 kB / 1.194 GB, free: 11.49 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.283e-05/0.8073, allocations: 19.42 kB / 1.194 GB, free: 11.48 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.8074, allocations: 4.656 kB / 1.194 GB, free: 11.47 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.8074, allocations: 0.75 kB / 1.194 GB, free: 11.47 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.8074, allocations: 1.797 kB / 1.194 GB, free: 11.47 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003982/0.8078, allocations: 361.6 kB / 1.194 GB, free: 11.19 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.8078, allocations: 9.125 kB / 1.194 GB, free: 11.18 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.148e-05/0.8078, allocations: 6.766 kB / 1.194 GB, free: 11.18 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.8078, allocations: 0.9688 kB / 1.194 GB, free: 11.18 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.496e-06/0.8078, allocations: 1.688 kB / 1.194 GB, free: 11.18 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.993e-06/0.8078, allocations: 1.766 kB / 1.194 GB, free: 11.18 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.8078, allocations: 1.125 kB / 1.194 GB, free: 11.18 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001561/0.8079, allocations: 208.1 kB / 1.195 GB, free: 11.02 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 2.117e-05/0.808, allocations: 16.86 kB / 1.195 GB, free: 11 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.034e-05/0.808, allocations: 3.375 kB / 1.195 GB, free: 11 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.764e-05/0.8081, allocations: 6.094 kB / 1.195 GB, free: 11 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.199e-05/0.8081, allocations: 20.03 kB / 1.195 GB, free: 11 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.995e-05/0.8082, allocations: 10.06 kB / 1.195 GB, free: 10.99 MB / 1.076 GB Notification: Performance of sorting global known variables: time 9.5e-05/0.8083, allocations: 134.6 kB / 1.195 GB, free: 10.9 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.8083, allocations: 0 / 1.195 GB, free: 10.9 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003087/0.8086, allocations: 44.08 kB / 1.195 GB, free: 10.89 MB / 1.076 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.0003172/0.8089, allocations: 166.4 kB / 1.195 GB, free: 10.77 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0001864/0.8091, allocations: 79.62 kB / 1.195 GB, free: 10.75 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.8091, allocations: 1 kB / 1.195 GB, free: 10.75 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 6.706e-05/0.8091, allocations: 32.58 kB / 1.195 GB, free: 10.74 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003789/0.8095, allocations: 58.61 kB / 1.195 GB, free: 10.72 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004837/0.81, allocations: 272.1 kB / 1.195 GB, free: 10.53 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.168e-05/0.8101, allocations: 108.2 kB / 1.196 GB, free: 10.44 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 6.456e-05/0.8101, allocations: 17.83 kB / 1.196 GB, free: 10.44 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.472e-05/0.8102, allocations: 25.81 kB / 1.196 GB, free: 10.43 MB / 1.076 GB Notification: Performance of SimCode: time 3.8e-07/0.8102, allocations: 1.312 kB / 1.196 GB, free: 10.43 MB / 1.076 GB Notification: Performance of Templates: time 0.007543/0.8177, allocations: 3.528 MB / 1.199 GB, free: 9.984 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.sim & ./Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.74698327400256]