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.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001527/0.001527, allocations: 107.4 kB / 18.19 MB, free: 4.117 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001591/0.001591, allocations: 193.9 kB / 21.34 MB, free: 0.9766 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.484/1.484, allocations: 225.6 MB / 249.9 MB, free: 3.227 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.858/2.858, allocations: 489.7 MB / 0.7761 GB, free: 2.461 MB / 0.6075 GB [Timeout remaining time 86] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=502,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=502,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.002541/0.002541, allocations: 59.91 kB / 1.127 GB, free: 5.207 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.179/1.182, allocations: 172.1 MB / 1.295 GB, free: 38.59 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn): time 0.00245/1.184, allocations: 1.623 MB / 1.296 GB, free: 37.46 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0008244/1.185, allocations: 0.5719 MB / 1.297 GB, free: 37.09 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.509e-05/1.185, allocations: 2.906 kB / 1.297 GB, free: 37.09 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001574/1.185, allocations: 33.27 kB / 1.297 GB, free: 37.07 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0002901/1.185, allocations: 108.2 kB / 1.297 GB, free: 37.01 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002666/1.186, allocations: 148.7 kB / 1.297 GB, free: 36.95 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002052/1.186, allocations: 226.6 kB / 1.297 GB, free: 36.85 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 9.263e-05/1.186, allocations: 20.94 kB / 1.297 GB, free: 36.84 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 8.956e-05/1.186, allocations: 104.6 kB / 1.298 GB, free: 36.8 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01151/1.198, allocations: 1.581 MB / 1.299 GB, free: 36.36 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 6.057e-05/1.198, allocations: 16.03 kB / 1.299 GB, free: 36.36 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001065/1.198, allocations: 31.8 kB / 1.299 GB, free: 36.36 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 6.144e-05/1.198, allocations: 31.14 kB / 1.299 GB, free: 36.34 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001067/1.198, allocations: 83.09 kB / 1.299 GB, free: 36.29 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002912/1.198, allocations: 198.1 kB / 1.299 GB, free: 36.21 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/1.198, allocations: 10.14 kB / 1.299 GB, free: 36.21 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.503e-06/1.198, allocations: 0 / 1.299 GB, free: 36.21 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.32e-06/1.198, allocations: 0 / 1.299 GB, free: 36.21 MB / 1.061 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.0006125/1.199, allocations: 0.5227 MB / 1.3 GB, free: 35.71 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.192e-05/1.199, allocations: 11.06 kB / 1.3 GB, free: 35.71 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.558e-05/1.199, allocations: 24.61 kB / 1.3 GB, free: 35.7 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002061/1.199, allocations: 233.7 kB / 1.3 GB, free: 35.47 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.591e-05/1.199, allocations: 19.81 kB / 1.3 GB, free: 35.46 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.043e-05/1.199, allocations: 8.344 kB / 1.3 GB, free: 35.46 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001468/1.199, allocations: 87.62 kB / 1.3 GB, free: 35.4 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.278e-06/1.199, allocations: 2.656 kB / 1.3 GB, free: 35.4 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/1.199, allocations: 0 / 1.3 GB, free: 35.4 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/1.199, allocations: 2.75 kB / 1.3 GB, free: 35.4 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.082e-05/1.199, allocations: 40.67 kB / 1.3 GB, free: 35.39 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006004/1.2, allocations: 446.3 kB / 1.301 GB, free: 35.05 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001108/1.2, allocations: 62.17 kB / 1.301 GB, free: 35.02 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.119e-05/1.2, allocations: 27.97 kB / 1.301 GB, free: 35 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.682e-05/1.2, allocations: 3.234 kB / 1.301 GB, free: 35 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000153/1.2, allocations: 92.66 kB / 1.301 GB, free: 34.93 MB / 1.061 GB Notification: Performance of pre-optimization done (n=12): time 1.442e-06/1.2, allocations: 0 / 1.301 GB, free: 34.93 MB / 1.061 GB Notification: Performance of matching and sorting (n=12): time 0.0002376/1.201, allocations: 136.5 kB / 1.301 GB, free: 34.86 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.807e-05/1.201, allocations: 54.31 kB / 1.301 GB, free: 34.79 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001272/1.201, allocations: 189.5 kB / 1.301 GB, free: 34.66 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.511e-05/1.201, allocations: 35.52 kB / 1.301 GB, free: 34.62 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.47e-05/1.201, allocations: 113.3 kB / 1.302 GB, free: 34.52 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.826e-05/1.201, allocations: 32.91 kB / 1.302 GB, free: 34.5 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.645e-05/1.201, allocations: 55.8 kB / 1.302 GB, free: 34.46 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.603e-05/1.201, allocations: 324 kB / 1.302 GB, free: 34.15 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.666e-05/1.201, allocations: 25.84 kB / 1.302 GB, free: 34.14 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001938/1.201, allocations: 122.3 kB / 1.302 GB, free: 34.05 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.901e-05/1.201, allocations: 90.91 kB / 1.302 GB, free: 33.98 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/1.201, allocations: 0 / 1.302 GB, free: 33.98 MB / 1.061 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001741/1.201, allocations: 128.8 kB / 1.302 GB, free: 33.91 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.234e-05/1.201, allocations: 5.688 kB / 1.302 GB, free: 33.91 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/1.201, allocations: 4.062 kB / 1.302 GB, free: 33.91 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/1.201, allocations: 6.688 kB / 1.302 GB, free: 33.9 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.476e-05/1.202, allocations: 19.94 kB / 1.302 GB, free: 33.89 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/1.202, allocations: 2.531 kB / 1.302 GB, free: 33.89 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001707/1.202, allocations: 22.28 kB / 1.302 GB, free: 33.89 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.185e-06/1.202, allocations: 11 kB / 1.302 GB, free: 33.88 MB / 1.061 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.082e-05/1.202, allocations: 126.3 kB / 1.302 GB, free: 33.76 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.315e-05/1.202, allocations: 17.81 kB / 1.302 GB, free: 33.75 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.379e-05/1.202, allocations: 24.5 kB / 1.302 GB, free: 33.73 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/1.202, allocations: 3 kB / 1.302 GB, free: 33.73 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/1.202, allocations: 0 / 1.302 GB, free: 33.73 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/1.202, allocations: 0 / 1.302 GB, free: 33.73 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003646/1.202, allocations: 440.4 kB / 1.303 GB, free: 33.37 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/1.202, allocations: 0 / 1.303 GB, free: 33.37 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.922e-05/1.202, allocations: 2.906 kB / 1.303 GB, free: 33.37 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/1.202, allocations: 0 / 1.303 GB, free: 33.37 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/1.202, allocations: 0 / 1.303 GB, free: 33.37 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.295e-06/1.202, allocations: 10.84 kB / 1.303 GB, free: 33.36 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/1.202, allocations: 0 / 1.303 GB, free: 33.36 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001362/1.202, allocations: 205.4 kB / 1.303 GB, free: 33.2 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.94e-05/1.202, allocations: 87.92 kB / 1.303 GB, free: 33.1 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.094e-05/1.202, allocations: 7.422 kB / 1.303 GB, free: 33.09 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.429e-05/1.203, allocations: 5.812 kB / 1.303 GB, free: 33.09 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.368e-05/1.203, allocations: 16.66 kB / 1.303 GB, free: 33.09 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.754e-05/1.203, allocations: 5.688 kB / 1.303 GB, free: 33.09 MB / 1.061 GB Notification: Performance of sorting global known variables: time 7.978e-05/1.203, allocations: 139.9 kB / 1.303 GB, free: 32.99 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/1.203, allocations: 0 / 1.303 GB, free: 32.99 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002777/1.203, allocations: 46.7 kB / 1.303 GB, free: 32.98 MB / 1.061 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.000315/1.203, allocations: 178.2 kB / 1.304 GB, free: 32.86 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001701/1.203, allocations: 77.67 kB / 1.304 GB, free: 32.83 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/1.203, allocations: 0 / 1.304 GB, free: 32.83 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 5.772e-05/1.204, allocations: 29.44 kB / 1.304 GB, free: 32.83 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003582/1.204, allocations: 57.66 kB / 1.304 GB, free: 32.8 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004751/1.204, allocations: 298.6 kB / 1.304 GB, free: 32.59 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001201/1.204, allocations: 0.7124 MB / 1.305 GB, free: 31.89 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.188e-05/1.205, allocations: 22.44 kB / 1.305 GB, free: 31.88 MB / 1.061 GB Notification: Performance of SimCode: time 3e-07/1.205, allocations: 4 kB / 1.305 GB, free: 31.88 MB / 1.061 GB Notification: Performance of Templates: time 0.004196/1.209, allocations: 2.921 MB / 1.308 GB, free: 31.55 MB / 1.061 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=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe 2>&1) [Timeout 400] 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