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.001021/0.001021, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.001875/0.001875, allocations: 181 kB / 24.09 MB, free: 420 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.978/0.978, allocations: 177.1 MB / 204.5 MB, free: 5.492 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.904/1.904, allocations: 377.9 MB / 0.6239 GB, free: 8.398 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 4.188e-06/4.188e-06, allocations: 4 kB / 0.812 GB, free: 1.402 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.033e-05/3.452e-05, allocations: 2.312 kB / 0.8121 GB, free: 1.398 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant): time 0.001612/0.001647, allocations: 0.6015 MB / 0.8126 GB, free: 0.8164 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 4.275e-05/0.001689, allocations: 3.938 kB / 0.8126 GB, free: 0.8125 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.778e-05/0.001717, allocations: 0.875 kB / 0.8126 GB, free: 0.8125 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 2.334e-05/0.001741, allocations: 0 / 0.8126 GB, free: 0.8125 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 2.813e-05/0.001769, allocations: 0 / 0.8126 GB, free: 0.8125 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 3.094e-05/0.0018, allocations: 8.781 kB / 0.8127 GB, free: 0.8047 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 4.637e-05/0.001846, allocations: 3.938 kB / 0.8127 GB, free: 0.8008 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 3.609e-05/0.001882, allocations: 1.688 kB / 0.8127 GB, free: 0.8008 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 2.835e-05/0.00191, allocations: 0 / 0.8127 GB, free: 0.8008 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 2.109e-05/0.001932, allocations: 4 kB / 0.8127 GB, free: 0.7969 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.552e-05/0.001947, allocations: 0 / 0.8127 GB, free: 0.7969 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 3.446e-06/0.001951, allocations: 1.531 kB / 0.8127 GB, free: 0.7969 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.115e-05/0.001962, allocations: 0 / 0.8127 GB, free: 0.7969 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 1.474e-05/0.001976, allocations: 0 / 0.8127 GB, free: 0.7969 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 5.014e-05/0.002027, allocations: 0 / 0.8127 GB, free: 0.7969 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 1.683e-06/0.002028, allocations: 0 / 0.8127 GB, free: 0.7969 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.183e-06/0.002029, allocations: 0.5 kB / 0.8127 GB, free: 0.7969 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.168e-06/0.002034, allocations: 0.9062 kB / 0.8127 GB, free: 0.7969 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.0002108/0.002244, allocations: 348.4 kB / 0.813 GB, free: 428 kB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.725e-05/0.002292, allocations: 12.69 kB / 0.813 GB, free: 416 kB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.215e-05/0.002314, allocations: 4.875 kB / 0.813 GB, free: 412 kB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.224e-05/0.002386, allocations: 110.2 kB / 0.8131 GB, free: 276 kB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.042e-05/0.002396, allocations: 4.375 kB / 0.8131 GB, free: 272 kB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.469e-06/0.002401, allocations: 384 / 0.8131 GB, free: 272 kB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.041e-05/0.002461, allocations: 30.25 kB / 0.8132 GB, free: 236 kB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.704e-06/0.002469, allocations: 0.7188 kB / 0.8132 GB, free: 236 kB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.821e-06/0.002475, allocations: 1.094 kB / 0.8132 GB, free: 236 kB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.00248, allocations: 384 / 0.8132 GB, free: 236 kB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.08e-05/0.002491, allocations: 12.41 kB / 0.8132 GB, free: 224 kB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002593/0.00275, allocations: 460.4 kB / 0.8136 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 9.297e-05/0.002843, allocations: 261.4 kB / 0.8139 GB, free: 15.47 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.817e-05/0.002881, allocations: 126.9 kB / 0.814 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.127e-05/0.002913, allocations: 123.2 kB / 0.8141 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.559e-05/0.002968, allocations: 157.2 kB / 0.8142 GB, free: 15.06 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=0): time 1.222e-06/0.00297, allocations: 0 / 0.8142 GB, free: 15.06 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0): time 6.382e-05/0.003033, allocations: 34.23 kB / 0.8143 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.656e-05/0.0031, allocations: 175.3 kB / 0.8144 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.877e-05/0.003189, allocations: 149.9 kB / 0.8146 GB, free: 14.67 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.022e-05/0.003199, allocations: 26.77 kB / 0.8146 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.884e-05/0.003248, allocations: 130.9 kB / 0.8147 GB, free: 14.51 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 9.21e-07/0.003249, allocations: 1.375 kB / 0.8147 GB, free: 14.51 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.395e-05/0.003273, allocations: 19.38 kB / 0.8148 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001395/0.003412, allocations: 492.1 kB / 0.8152 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.847e-06/0.003416, allocations: 0 / 0.8152 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.118e-06/0.00342, allocations: 1.75 kB / 0.8152 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.171e-05/0.003452, allocations: 119.2 kB / 0.8153 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.539e-05/0.003487, allocations: 127.2 kB / 0.8155 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.964e-05/0.003547, allocations: 33.97 kB / 0.8155 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 4.225e-05/0.003589, allocations: 123.2 kB / 0.8156 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.249e-05/0.003621, allocations: 125.4 kB / 0.8157 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.231e-05/0.003694, allocations: 242.3 kB / 0.816 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001814/0.003875, allocations: 123.1 kB / 0.8161 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.244e-05/0.003938, allocations: 246.5 kB / 0.8163 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.261e-05/0.00401, allocations: 123.1 kB / 0.8164 GB, free: 12.74 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3e-05/0.00404, allocations: 119.2 kB / 0.8165 GB, free: 12.62 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.0001282/0.004168, allocations: 401.8 kB / 0.8169 GB, free: 12.22 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.03e-05/0.004229, allocations: 148.8 kB / 0.8171 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.791e-05/0.004287, allocations: 151.9 kB / 0.8172 GB, free: 11.91 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.349e-05/0.00436, allocations: 272 kB / 0.8175 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.669e-05/0.004427, allocations: 268 kB / 0.8177 GB, free: 11.37 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.868e-05/0.004496, allocations: 268.1 kB / 0.818 GB, free: 11.1 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002065/0.004702, allocations: 484.5 kB / 0.8184 GB, free: 10.59 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.422e-05/0.004746, allocations: 150.3 kB / 0.8186 GB, free: 10.44 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.151e-05/0.004788, allocations: 148.9 kB / 0.8187 GB, free: 10.29 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.272e-05/0.004861, allocations: 279.9 kB / 0.819 GB, free: 10.01 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.566e-05/0.004936, allocations: 264.7 kB / 0.8193 GB, free: 9.742 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.039e-05/0.005007, allocations: 272 kB / 0.8195 GB, free: 9.469 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.617e-05/0.005083, allocations: 264.6 kB / 0.8198 GB, free: 9.203 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001503/0.005233, allocations: 451.8 kB / 0.8202 GB, free: 8.734 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 4.707e-05/0.00528, allocations: 153.5 kB / 0.8203 GB, free: 8.578 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.455e-05/0.005355, allocations: 272.6 kB / 0.8206 GB, free: 8.305 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.368e-05/0.005428, allocations: 144.9 kB / 0.8207 GB, free: 8.156 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.018e-05/0.005508, allocations: 269.4 kB / 0.821 GB, free: 7.887 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.58e-05/0.005554, allocations: 157.1 kB / 0.8211 GB, free: 7.727 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.29e-05/0.005597, allocations: 119.2 kB / 0.8213 GB, free: 7.609 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.005597, allocations: 2.562 kB / 0.8213 GB, free: 7.609 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002669/0.005864, allocations: 0 / 0.8213 GB, free: 7.609 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.0001561/0.00602, allocations: 218.4 kB / 0.8215 GB, free: 7.387 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 4.24e-05/0.006063, allocations: 0 / 0.8215 GB, free: 7.387 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.006064, allocations: 4 kB / 0.8215 GB, free: 7.383 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.363e-06/0.006066, allocations: 0.8125 kB / 0.8215 GB, free: 7.383 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003962/0.006462, allocations: 0.7031 MB / 0.8222 GB, free: 6.676 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002235/0.006685, allocations: 208.8 kB / 0.8224 GB, free: 6.441 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.709e-05/0.006722, allocations: 59.28 kB / 0.8224 GB, free: 6.363 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.285e-06/0.006725, allocations: 1.219 kB / 0.8224 GB, free: 6.363 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.138e-05/0.006756, allocations: 66.2 kB / 0.8225 GB, free: 6.297 MB / 0.7761 GB Notification: Performance of SimCode: time 6.71e-07/0.006757, allocations: 0 / 0.8225 GB, free: 6.297 MB / 0.7761 GB Notification: Performance of Templates: time 0.001748/0.008505, allocations: 178.1 kB / 0.8227 GB, free: 6.129 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.052886427380145]