Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.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.00102/0.00102, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001196/0.001196, allocations: 161 kB / 23.81 MB, free: 0.7539 MB / 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.9636/0.9636, allocations: 177.2 MB / 204.2 MB, free: 5.629 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.89/1.89, allocations: 377.8 MB / 0.6236 GB, free: 8.543 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.Controls.OBC.CDL.Reals.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.506e-06/3.506e-06, allocations: 0 / 0.8116 GB, free: 1.656 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.928e-05/3.278e-05, allocations: 3.562 kB / 0.8116 GB, free: 1.652 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant): time 0.001463/0.001495, allocations: 0.5895 MB / 0.8122 GB, free: 1.082 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 5.84e-05/0.001554, allocations: 9.312 kB / 0.8122 GB, free: 1.074 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.102e-05/0.001585, allocations: 0 / 0.8122 GB, free: 1.074 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.402e-05/0.001619, allocations: 0 / 0.8122 GB, free: 1.074 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 3.819e-05/0.001657, allocations: 1.031 kB / 0.8122 GB, free: 1.074 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 4.21e-05/0.001699, allocations: 0 / 0.8122 GB, free: 1.074 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 8.132e-05/0.00178, allocations: 0 / 0.8122 GB, free: 1.074 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 5.933e-05/0.00184, allocations: 16.69 kB / 0.8122 GB, free: 1.059 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 3.791e-05/0.001878, allocations: 0 / 0.8122 GB, free: 1.059 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 2.987e-05/0.001908, allocations: 1.688 kB / 0.8122 GB, free: 1.059 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.926e-05/0.001927, allocations: 0 / 0.8122 GB, free: 1.059 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 4.308e-06/0.001931, allocations: 0 / 0.8122 GB, free: 1.059 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.269e-05/0.001944, allocations: 0 / 0.8122 GB, free: 1.059 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 2.036e-05/0.001964, allocations: 4 kB / 0.8122 GB, free: 1.055 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 6.677e-05/0.002031, allocations: 5.531 kB / 0.8122 GB, free: 1.051 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.002033, allocations: 0 / 0.8122 GB, free: 1.051 MB / 0.7605 GB Notification: Performance of FrontEnd: time 9.22e-07/0.002034, allocations: 0 / 0.8122 GB, free: 1.051 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.378e-06/0.002038, allocations: 0 / 0.8122 GB, free: 1.051 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002771/0.002316, allocations: 342.2 kB / 0.8125 GB, free: 0.6797 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.002354, allocations: 8.031 kB / 0.8125 GB, free: 0.6719 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.591e-05/0.00239, allocations: 4.938 kB / 0.8125 GB, free: 0.668 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.534e-05/0.002475, allocations: 104.6 kB / 0.8126 GB, free: 0.5391 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.253e-05/0.002488, allocations: 4.312 kB / 0.8127 GB, free: 0.5352 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.136e-06/0.002496, allocations: 1.562 kB / 0.8127 GB, free: 0.5352 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.389e-05/0.00257, allocations: 34.27 kB / 0.8127 GB, free: 0.4961 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.002578, allocations: 1.781 kB / 0.8127 GB, free: 0.4961 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.927e-06/0.002587, allocations: 384 / 0.8127 GB, free: 0.4961 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.225e-06/0.002595, allocations: 384 / 0.8127 GB, free: 0.4961 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.059e-05/0.002605, allocations: 3.938 kB / 0.8127 GB, free: 0.4922 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002895/0.002895, allocations: 470.2 kB / 0.8131 GB, free: 16 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 8.811e-05/0.002983, allocations: 276 kB / 0.8134 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.395e-05/0.003017, allocations: 126.9 kB / 0.8135 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.469e-05/0.003042, allocations: 123.1 kB / 0.8136 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.126e-05/0.003083, allocations: 156.6 kB / 0.8138 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=0): time 6.91e-07/0.003084, allocations: 0 / 0.8138 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0): time 5.5e-05/0.003139, allocations: 33.58 kB / 0.8138 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.876e-05/0.003197, allocations: 171.3 kB / 0.814 GB, free: 15.08 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.052e-05/0.003278, allocations: 162.5 kB / 0.8141 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 8.746e-06/0.003287, allocations: 25.7 kB / 0.8142 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 3.931e-05/0.003326, allocations: 128.5 kB / 0.8143 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.983e-06/0.003328, allocations: 0 / 0.8143 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.993e-05/0.003348, allocations: 15.38 kB / 0.8143 GB, free: 14.72 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000117/0.003465, allocations: 496.1 kB / 0.8148 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.229e-06/0.00347, allocations: 0.6562 kB / 0.8148 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.767e-06/0.003474, allocations: 0 / 0.8148 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.238e-05/0.003506, allocations: 120.1 kB / 0.8149 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-05/0.003532, allocations: 119.2 kB / 0.815 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0) (initialization): time 3.773e-05/0.00357, allocations: 31.2 kB / 0.815 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 3.697e-05/0.003607, allocations: 123.2 kB / 0.8152 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.996e-05/0.003637, allocations: 131 kB / 0.8153 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.074e-05/0.003697, allocations: 243.8 kB / 0.8155 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003064/0.004004, allocations: 127.1 kB / 0.8156 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.122e-05/0.004055, allocations: 242.5 kB / 0.8159 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.06e-05/0.004106, allocations: 123.2 kB / 0.816 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.609e-05/0.004132, allocations: 124.2 kB / 0.8161 GB, free: 12.86 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * 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.000107/0.004239, allocations: 391 kB / 0.8165 GB, free: 12.47 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.84e-05/0.004287, allocations: 153.7 kB / 0.8166 GB, free: 12.31 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.219e-05/0.004339, allocations: 159.8 kB / 0.8168 GB, free: 12.15 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.796e-05/0.004397, allocations: 264.1 kB / 0.817 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.2e-05/0.004459, allocations: 276.5 kB / 0.8173 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.892e-05/0.004518, allocations: 264.9 kB / 0.8175 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001963/0.004715, allocations: 0.4921 MB / 0.818 GB, free: 10.8 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.828e-05/0.004753, allocations: 150.9 kB / 0.8182 GB, free: 10.65 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.298e-05/0.004786, allocations: 144.9 kB / 0.8183 GB, free: 10.5 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.974e-05/0.004846, allocations: 272 kB / 0.8186 GB, free: 10.23 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.9e-05/0.004915, allocations: 272 kB / 0.8188 GB, free: 9.957 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.064e-05/0.004975, allocations: 268 kB / 0.8191 GB, free: 9.688 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.476e-05/0.00504, allocations: 272 kB / 0.8193 GB, free: 9.414 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001393/0.005179, allocations: 452.4 kB / 0.8198 GB, free: 8.945 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 4.423e-05/0.005224, allocations: 151.4 kB / 0.8199 GB, free: 8.793 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.19e-05/0.005285, allocations: 268.1 kB / 0.8202 GB, free: 8.523 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.115e-05/0.005337, allocations: 152.8 kB / 0.8203 GB, free: 8.367 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.876e-05/0.005395, allocations: 268.1 kB / 0.8206 GB, free: 8.098 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.345e-05/0.005429, allocations: 153.2 kB / 0.8207 GB, free: 7.941 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.994e-05/0.005469, allocations: 123.2 kB / 0.8208 GB, free: 7.82 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.005469, allocations: 1.75 kB / 0.8208 GB, free: 7.82 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001539/0.005623, allocations: 0 / 0.8208 GB, free: 7.82 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.0001397/0.005762, allocations: 216.8 kB / 0.821 GB, free: 7.602 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 4.608e-05/0.005809, allocations: 0.5312 kB / 0.821 GB, free: 7.602 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.00581, allocations: 0 / 0.821 GB, free: 7.602 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.002e-06/0.005811, allocations: 0.5625 kB / 0.821 GB, free: 7.602 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00029/0.006101, allocations: 0.7127 MB / 0.8217 GB, free: 6.891 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002227/0.006324, allocations: 216.6 kB / 0.8219 GB, free: 6.648 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.553e-05/0.006359, allocations: 55.34 kB / 0.822 GB, free: 6.574 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.953e-06/0.006361, allocations: 0 / 0.822 GB, free: 6.574 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.193e-05/0.006373, allocations: 9.156 kB / 0.822 GB, free: 6.566 MB / 0.7761 GB Notification: Performance of SimCode: time 9.02e-07/0.006374, allocations: 0 / 0.822 GB, free: 6.566 MB / 0.7761 GB Notification: Performance of Templates: time 0.001582/0.007956, allocations: 167.3 kB / 0.8222 GB, free: 6.41 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Constant.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.14206199394539]