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.0009655/0.0009655, allocations: 71.75 kB / 20.97 MB, free: 3.582 MB / 18.57 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.0009844/0.0009844, allocations: 169.3 kB / 24.28 MB, free: 280 kB / 18.57 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 0.9229/0.9229, allocations: 177.1 MB / 204.6 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.894/1.894, allocations: 377.8 MB / 0.6239 GB, free: 8.562 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.834e-06/1.834e-06, allocations: 0 / 0.8115 GB, free: 2.102 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.494e-05/2.677e-05, allocations: 7.344 kB / 0.8115 GB, free: 2.094 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn): time 0.002175/0.002202, allocations: 1.692 MB / 0.8131 GB, free: 420 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0007857/0.002988, allocations: 0.5757 MB / 0.8137 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.841e-05/0.003046, allocations: 0 / 0.8137 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001499/0.003196, allocations: 27.67 kB / 0.8137 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0002548/0.003451, allocations: 116.3 kB / 0.8138 GB, free: 15.69 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002313/0.003682, allocations: 147.6 kB / 0.814 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001827/0.003865, allocations: 224.4 kB / 0.8142 GB, free: 15.33 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 9.084e-05/0.003956, allocations: 17.8 kB / 0.8142 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001128/0.004069, allocations: 128.3 kB / 0.8143 GB, free: 15.19 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006486/0.01055, allocations: 2.517 MB / 0.8168 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.159e-05/0.01059, allocations: 16 kB / 0.8168 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 6.617e-05/0.01065, allocations: 32.53 kB / 0.8168 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 4.564e-05/0.0107, allocations: 39.83 kB / 0.8169 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 5.908e-05/0.01076, allocations: 56.59 kB / 0.8169 GB, free: 13.56 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.00021/0.01097, allocations: 171.4 kB / 0.8171 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.653e-06/0.01097, allocations: 1.219 kB / 0.8171 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.082e-06/0.01097, allocations: 4 kB / 0.8171 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.146e-06/0.01097, allocations: 0 / 0.8171 GB, free: 13.39 MB / 0.7761 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.0004801/0.01145, allocations: 0.5514 MB / 0.8176 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 2.921e-05/0.01148, allocations: 8.031 kB / 0.8176 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.977e-05/0.01154, allocations: 30.78 kB / 0.8177 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001862/0.01173, allocations: 189 kB / 0.8178 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.355e-05/0.01174, allocations: 12.38 kB / 0.8179 GB, free: 12.53 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.031e-05/0.01176, allocations: 12.38 kB / 0.8179 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.801e-05/0.01186, allocations: 76.06 kB / 0.8179 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.01187, allocations: 1.375 kB / 0.8179 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.578e-06/0.01188, allocations: 4 kB / 0.8179 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.01188, allocations: 0 / 0.8179 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.04e-05/0.01193, allocations: 31.91 kB / 0.818 GB, free: 12.4 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004378/0.01237, allocations: 405.7 kB / 0.8184 GB, free: 11.97 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 8.884e-05/0.01246, allocations: 64.09 kB / 0.8184 GB, free: 11.9 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.866e-05/0.01249, allocations: 23.62 kB / 0.8184 GB, free: 11.87 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.376e-05/0.0125, allocations: 4.812 kB / 0.8185 GB, free: 11.87 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.804e-05/0.01259, allocations: 84.97 kB / 0.8185 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=12): time 1.032e-06/0.01259, allocations: 0.5312 kB / 0.8185 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of matching and sorting (n=12): time 0.0002003/0.01279, allocations: 118.9 kB / 0.8186 GB, free: 11.65 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.073e-05/0.01282, allocations: 59.34 kB / 0.8187 GB, free: 11.58 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000135/0.01296, allocations: 239.7 kB / 0.8189 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.202e-05/0.01298, allocations: 37.69 kB / 0.819 GB, free: 11.28 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.238e-05/0.01304, allocations: 159.7 kB / 0.8191 GB, free: 11.12 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.863e-05/0.01306, allocations: 27.89 kB / 0.8191 GB, free: 11.09 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.719e-05/0.01312, allocations: 64.16 kB / 0.8192 GB, free: 11.02 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001015/0.01322, allocations: 0.4962 MB / 0.8197 GB, free: 10.52 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.816e-05/0.01325, allocations: 21.27 kB / 0.8197 GB, free: 10.5 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001603/0.01341, allocations: 227.7 kB / 0.8199 GB, free: 10.21 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.695e-05/0.01348, allocations: 87.94 kB / 0.82 GB, free: 10.11 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.01349, allocations: 3.938 kB / 0.82 GB, free: 10.11 MB / 0.7761 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000129/0.01362, allocations: 130.9 kB / 0.8201 GB, free: 9.977 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 9.728e-06/0.01362, allocations: 8 kB / 0.8201 GB, free: 9.969 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.135e-06/0.01363, allocations: 0 / 0.8201 GB, free: 9.969 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.01364, allocations: 5 kB / 0.8202 GB, free: 9.965 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.644e-05/0.0137, allocations: 19.92 kB / 0.8202 GB, free: 9.945 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.0137, allocations: 7.344 kB / 0.8202 GB, free: 9.941 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.189e-05/0.01378, allocations: 27.81 kB / 0.8202 GB, free: 9.914 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.502e-06/0.01379, allocations: 4 kB / 0.8202 GB, free: 9.91 MB / 0.7761 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.0001117/0.0139, allocations: 176.3 kB / 0.8204 GB, free: 9.727 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.921e-05/0.01392, allocations: 23.91 kB / 0.8204 GB, free: 9.703 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.234e-05/0.01394, allocations: 17.45 kB / 0.8204 GB, free: 9.688 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.01395, allocations: 4 kB / 0.8204 GB, free: 9.684 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.384e-06/0.01395, allocations: 0 / 0.8204 GB, free: 9.684 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.01395, allocations: 4.438 kB / 0.8204 GB, free: 9.68 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002853/0.01424, allocations: 406.5 kB / 0.8208 GB, free: 9.242 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.01424, allocations: 0 / 0.8208 GB, free: 9.242 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.958e-06/0.01425, allocations: 7.938 kB / 0.8208 GB, free: 9.234 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.01425, allocations: 0.9375 kB / 0.8208 GB, free: 9.234 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.992e-06/0.01426, allocations: 3.938 kB / 0.8208 GB, free: 9.23 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.01426, allocations: 1.062 kB / 0.8208 GB, free: 9.23 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.82e-07/0.01426, allocations: 0 / 0.8208 GB, free: 9.23 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000124/0.01438, allocations: 251.8 kB / 0.8211 GB, free: 8.965 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.632e-05/0.0144, allocations: 21.11 kB / 0.8211 GB, free: 8.945 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.281e-05/0.01441, allocations: 3.938 kB / 0.8211 GB, free: 8.941 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.629e-05/0.01446, allocations: 11.98 kB / 0.8211 GB, free: 8.93 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.726e-05/0.0145, allocations: 9.078 kB / 0.8211 GB, free: 8.922 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.287e-05/0.01451, allocations: 4 kB / 0.8211 GB, free: 8.918 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 7.255e-05/0.01458, allocations: 173.1 kB / 0.8213 GB, free: 8.75 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.01458, allocations: 0.6562 kB / 0.8213 GB, free: 8.75 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001856/0.01477, allocations: 42.22 kB / 0.8213 GB, free: 8.711 MB / 0.7761 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.0002559/0.01502, allocations: 186.6 kB / 0.8215 GB, free: 8.547 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001225/0.01515, allocations: 72.52 kB / 0.8216 GB, free: 8.473 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.01515, allocations: 4 kB / 0.8216 GB, free: 8.469 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 4.324e-05/0.01519, allocations: 36.73 kB / 0.8216 GB, free: 8.43 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002309/0.01542, allocations: 50.89 kB / 0.8217 GB, free: 8.383 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003599/0.01578, allocations: 269.1 kB / 0.8219 GB, free: 8.09 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.721e-05/0.01582, allocations: 69.06 kB / 0.822 GB, free: 8.004 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.523e-05/0.01586, allocations: 21.47 kB / 0.822 GB, free: 7.98 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.429e-05/0.0159, allocations: 21.5 kB / 0.822 GB, free: 7.961 MB / 0.7761 GB Notification: Performance of SimCode: time 6.71e-07/0.0159, allocations: 0 / 0.822 GB, free: 7.961 MB / 0.7761 GB Notification: Performance of Templates: time 0.004745/0.02064, allocations: 3.552 MB / 0.8255 GB, free: 4.465 MB / 0.7761 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.137917727930471]