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.001252/0.001252, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001374/0.001374, allocations: 224.4 kB / 23 MB, free: 4.914 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.432/1.432, allocations: 230.6 MB / 256.8 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] 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 3.252/3.252, allocations: 0.5107 GB / 0.8166 GB, free: 17.8 MB / 0.6231 GB " [Timeout remaining time 176] 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.002089/0.002089, allocations: 62.64 kB / 1.187 GB, free: 13.61 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3804/0.3825, allocations: 181.9 MB / 1.365 GB, free: 13.61 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn): time 0.003073/0.3856, allocations: 1.626 MB / 1.366 GB, free: 11.97 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001165/0.3867, allocations: 0.5666 MB / 1.367 GB, free: 11.4 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.792e-05/0.3868, allocations: 3.938 kB / 1.367 GB, free: 11.4 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.000186/0.387, allocations: 31.78 kB / 1.367 GB, free: 11.37 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0003592/0.3874, allocations: 107.5 kB / 1.367 GB, free: 11.26 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003476/0.3877, allocations: 150.7 kB / 1.367 GB, free: 11.12 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.000288/0.388, allocations: 215.5 kB / 1.367 GB, free: 10.91 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001143/0.3881, allocations: 17.75 kB / 1.367 GB, free: 10.89 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001344/0.3882, allocations: 103.7 kB / 1.367 GB, free: 10.79 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01226/0.4005, allocations: 1.575 MB / 1.369 GB, free: 9.617 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 7.631e-05/0.4006, allocations: 16 kB / 1.369 GB, free: 9.602 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001372/0.4007, allocations: 36 kB / 1.369 GB, free: 9.566 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 7.703e-05/0.4008, allocations: 39.84 kB / 1.369 GB, free: 9.527 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001045/0.4009, allocations: 67.62 kB / 1.369 GB, free: 9.461 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003595/0.4013, allocations: 199.2 kB / 1.369 GB, free: 9.266 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.4013, allocations: 0 / 1.369 GB, free: 9.266 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.753e-06/0.4013, allocations: 4 kB / 1.369 GB, free: 9.262 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.233e-06/0.4013, allocations: 0 / 1.369 GB, free: 9.262 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.0007606/0.402, allocations: 464.8 kB / 1.37 GB, free: 8.766 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/0.4021, allocations: 8.031 kB / 1.37 GB, free: 8.758 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.063e-05/0.4021, allocations: 20.84 kB / 1.37 GB, free: 8.738 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002903/0.4024, allocations: 178.2 kB / 1.37 GB, free: 8.539 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.2e-05/0.4025, allocations: 15.94 kB / 1.37 GB, free: 8.523 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.321e-05/0.4025, allocations: 8 kB / 1.37 GB, free: 8.516 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001795/0.4027, allocations: 84.41 kB / 1.37 GB, free: 8.43 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.4027, allocations: 4 kB / 1.37 GB, free: 8.426 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.424e-05/0.4027, allocations: 4 kB / 1.37 GB, free: 8.422 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.4027, allocations: 4 kB / 1.37 GB, free: 8.418 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.667e-05/0.4028, allocations: 43.97 kB / 1.37 GB, free: 8.375 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007191/0.4035, allocations: 352.2 kB / 1.37 GB, free: 8 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001498/0.4037, allocations: 58.56 kB / 1.37 GB, free: 7.934 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.87e-05/0.4037, allocations: 24.84 kB / 1.37 GB, free: 7.906 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.191e-05/0.4037, allocations: 12 kB / 1.37 GB, free: 7.895 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002177/0.404, allocations: 83.38 kB / 1.371 GB, free: 7.801 MB / 1.061 GB Notification: Performance of pre-optimization done (n=12): time 1.573e-06/0.404, allocations: 192 / 1.371 GB, free: 7.801 MB / 1.061 GB Notification: Performance of matching and sorting (n=12): time 0.0002939/0.4042, allocations: 133.4 kB / 1.371 GB, free: 7.664 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.046e-05/0.4043, allocations: 51.41 kB / 1.371 GB, free: 7.602 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002059/0.4045, allocations: 195.3 kB / 1.371 GB, free: 7.398 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.529e-05/0.4045, allocations: 33.7 kB / 1.371 GB, free: 7.359 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 9.703e-05/0.4046, allocations: 120 kB / 1.371 GB, free: 7.238 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.996e-05/0.4047, allocations: 31.75 kB / 1.371 GB, free: 7.207 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.341e-05/0.4047, allocations: 53.67 kB / 1.371 GB, free: 7.148 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001513/0.4049, allocations: 330.8 kB / 1.371 GB, free: 6.816 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.316e-05/0.4049, allocations: 23.98 kB / 1.371 GB, free: 6.793 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002881/0.4052, allocations: 232.8 kB / 1.372 GB, free: 6.516 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000124/0.4054, allocations: 92.16 kB / 1.372 GB, free: 6.41 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.4054, allocations: 0 / 1.372 GB, free: 6.41 MB / 1.061 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002127/0.4056, allocations: 128.5 kB / 1.372 GB, free: 6.281 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.4056, allocations: 12.12 kB / 1.372 GB, free: 6.27 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.4056, allocations: 0 / 1.372 GB, free: 6.27 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.4056, allocations: 7.875 kB / 1.372 GB, free: 6.262 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.141e-05/0.4057, allocations: 23.98 kB / 1.372 GB, free: 6.238 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.4057, allocations: 7.938 kB / 1.372 GB, free: 6.23 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001713/0.4059, allocations: 11.95 kB / 1.372 GB, free: 6.219 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.117e-05/0.4059, allocations: 8 kB / 1.372 GB, free: 6.211 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 0.0001308/0.406, allocations: 141.6 kB / 1.372 GB, free: 6.062 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.725e-05/0.406, allocations: 15.91 kB / 1.372 GB, free: 6.047 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.08e-05/0.4061, allocations: 25.39 kB / 1.372 GB, free: 6.016 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.4061, allocations: 3.938 kB / 1.372 GB, free: 6.012 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.4061, allocations: 0 / 1.372 GB, free: 6.012 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.4061, allocations: 0 / 1.372 GB, free: 6.012 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004931/0.4066, allocations: 369.8 kB / 1.372 GB, free: 5.613 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.4066, allocations: 3.938 kB / 1.372 GB, free: 5.609 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.948e-05/0.4066, allocations: 3.984 kB / 1.372 GB, free: 5.605 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.4066, allocations: 4 kB / 1.372 GB, free: 5.602 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.397e-06/0.4066, allocations: 0 / 1.372 GB, free: 5.602 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.4066, allocations: 0 / 1.372 GB, free: 5.602 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.4066, allocations: 4 kB / 1.372 GB, free: 5.598 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002057/0.4068, allocations: 203.9 kB / 1.373 GB, free: 5.383 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.59e-05/0.4069, allocations: 19.84 kB / 1.373 GB, free: 5.363 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.28e-05/0.4069, allocations: 3.984 kB / 1.373 GB, free: 5.359 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.191e-05/0.407, allocations: 8 kB / 1.373 GB, free: 5.352 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.805e-05/0.407, allocations: 11.97 kB / 1.373 GB, free: 5.34 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.343e-05/0.4071, allocations: 8 kB / 1.373 GB, free: 5.332 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001169/0.4072, allocations: 137.2 kB / 1.373 GB, free: 5.199 MB / 1.061 GB Notification: Performance of sort global known variables: time 8.1e-08/0.4072, allocations: 0 / 1.373 GB, free: 5.199 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002908/0.4075, allocations: 39.94 kB / 1.373 GB, free: 5.16 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.0004072/0.4079, allocations: 181.9 kB / 1.373 GB, free: 4.992 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002082/0.4081, allocations: 71.84 kB / 1.373 GB, free: 4.922 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.4081, allocations: 0 / 1.373 GB, free: 4.922 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 7.521e-05/0.4082, allocations: 35.98 kB / 1.373 GB, free: 4.887 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003745/0.4085, allocations: 48 kB / 1.373 GB, free: 4.844 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005906/0.4091, allocations: 288.6 kB / 1.373 GB, free: 4.531 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001122/0.4092, allocations: 114.2 kB / 1.374 GB, free: 4.398 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.077e-05/0.4093, allocations: 27.38 kB / 1.374 GB, free: 4.371 MB / 1.061 GB Notification: Performance of SimCode: time 2.8e-07/0.4093, allocations: 0 / 1.374 GB, free: 4.371 MB / 1.061 GB Notification: Performance of Templates: time 0.005254/0.4145, allocations: 2.95 MB / 1.377 GB, free: 1.434 MB / 1.061 GB " [Timeout remaining time 300] 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 -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: 12.0394537569955]