Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.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.0009826/0.0009826, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.0009713/0.0009713, allocations: 181 kB / 23.36 MB, free: 1.133 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.9672/0.9672, allocations: 177.1 MB / 203.8 MB, free: 5.461 MB / 186.7 MB " [Timeout remaining time 179] 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 2.395/2.395, allocations: 438.8 MB / 0.6826 GB, free: 13.64 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.Controls.OBC.CDL.Reals.Validation.Exp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Exp1.u|Exp1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Exp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Exp1.u|Exp1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 0.8386 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.266e-05/2.43e-05, allocations: 6.25 kB / 0.8387 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Exp): time 0.001449/0.001473, allocations: 0.6824 MB / 0.8393 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0009172/0.00239, allocations: 0.8508 MB / 0.8401 GB, free: 12.61 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.59e-05/0.002426, allocations: 8 kB / 0.8402 GB, free: 12.61 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 2.931e-05/0.002455, allocations: 7.922 kB / 0.8402 GB, free: 12.6 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 6.242e-05/0.002518, allocations: 0 / 0.8402 GB, free: 12.6 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001562/0.002674, allocations: 11.94 kB / 0.8402 GB, free: 12.59 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0003248/0.002999, allocations: 23.92 kB / 0.8402 GB, free: 12.56 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 7.052e-05/0.003069, allocations: 7.984 kB / 0.8402 GB, free: 12.55 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 7.847e-05/0.003148, allocations: 19.92 kB / 0.8402 GB, free: 12.54 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 3.089e-05/0.003179, allocations: 3.984 kB / 0.8402 GB, free: 12.53 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.345e-05/0.003192, allocations: 4 kB / 0.8402 GB, free: 12.53 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 4.039e-05/0.003232, allocations: 7.938 kB / 0.8402 GB, free: 12.52 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.435e-05/0.003247, allocations: 8 kB / 0.8402 GB, free: 12.51 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.23e-05/0.003259, allocations: 4 kB / 0.8403 GB, free: 12.51 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 8.404e-05/0.003343, allocations: 27.89 kB / 0.8403 GB, free: 12.48 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.003346, allocations: 0 / 0.8403 GB, free: 12.48 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.102e-06/0.003347, allocations: 0 / 0.8403 GB, free: 12.48 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 2.775e-06/0.00335, allocations: 0 / 0.8403 GB, free: 12.48 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002642/0.003614, allocations: 225 kB / 0.8405 GB, free: 12.23 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.159e-05/0.003646, allocations: 12.62 kB / 0.8405 GB, free: 12.22 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.859e-05/0.003724, allocations: 4.938 kB / 0.8405 GB, free: 12.22 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.265e-05/0.003797, allocations: 117.7 kB / 0.8406 GB, free: 12.08 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.097e-06/0.003806, allocations: 384 / 0.8406 GB, free: 12.08 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.796e-06/0.003815, allocations: 8.375 kB / 0.8406 GB, free: 12.07 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.771e-05/0.003903, allocations: 50.89 kB / 0.8407 GB, free: 12.01 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.181e-06/0.003909, allocations: 4.188 kB / 0.8407 GB, free: 12.01 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.281e-06/0.003915, allocations: 384 / 0.8407 GB, free: 12.01 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.003921, allocations: 384 / 0.8407 GB, free: 12.01 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.012e-05/0.003941, allocations: 11.92 kB / 0.8407 GB, free: 12 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001866/0.004127, allocations: 144.3 kB / 0.8408 GB, free: 11.84 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 3.798e-05/0.004165, allocations: 22.52 kB / 0.8409 GB, free: 11.81 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.062e-05/0.004176, allocations: 4.859 kB / 0.8409 GB, free: 11.8 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.637e-05/0.004192, allocations: 16.08 kB / 0.8409 GB, free: 11.79 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.826e-05/0.00421, allocations: 30.56 kB / 0.8409 GB, free: 11.75 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=2): time 5.62e-07/0.004211, allocations: 0 / 0.8409 GB, free: 11.75 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2): time 9.467e-05/0.004306, allocations: 33.7 kB / 0.8409 GB, free: 11.71 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.976e-05/0.004335, allocations: 55.34 kB / 0.841 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.816e-05/0.004384, allocations: 106.7 kB / 0.8411 GB, free: 11.52 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 8.696e-06/0.004392, allocations: 29.7 kB / 0.8411 GB, free: 11.49 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.6e-05/0.004418, allocations: 84.14 kB / 0.8412 GB, free: 11.4 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.524e-05/0.004434, allocations: 7.891 kB / 0.8412 GB, free: 11.39 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.119e-05/0.004455, allocations: 17.66 kB / 0.8412 GB, free: 11.37 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.724e-05/0.004522, allocations: 318.9 kB / 0.8415 GB, free: 11.05 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.574e-06/0.00453, allocations: 4 kB / 0.8415 GB, free: 11.05 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.765e-06/0.004537, allocations: 4 kB / 0.8415 GB, free: 11.04 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.038e-05/0.004558, allocations: 12.86 kB / 0.8415 GB, free: 11.03 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.004559, allocations: 0 / 0.8415 GB, free: 11.03 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2) (initialization): time 3.828e-05/0.004597, allocations: 37.69 kB / 0.8416 GB, free: 10.98 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.024e-05/0.004608, allocations: 4 kB / 0.8416 GB, free: 10.98 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.004611, allocations: 0 / 0.8416 GB, free: 10.98 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.097e-05/0.004622, allocations: 0 / 0.8416 GB, free: 10.98 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.87e-05/0.004681, allocations: 11.97 kB / 0.8416 GB, free: 10.97 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.705e-06/0.004684, allocations: 8 kB / 0.8416 GB, free: 10.96 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.517e-05/0.004699, allocations: 3.984 kB / 0.8416 GB, free: 10.96 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.608e-06/0.004704, allocations: 4 kB / 0.8416 GB, free: 10.95 MB / 0.8073 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 (2): * Single equations (assignments): 2 * 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 4.589e-05/0.004749, allocations: 109.8 kB / 0.8417 GB, free: 10.84 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.186e-05/0.004761, allocations: 0 / 0.8417 GB, free: 10.84 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.803e-05/0.004819, allocations: 41 kB / 0.8418 GB, free: 10.79 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.004821, allocations: 4 kB / 0.8418 GB, free: 10.79 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.305e-06/0.004824, allocations: 3.938 kB / 0.8418 GB, free: 10.78 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.004826, allocations: 0 / 0.8418 GB, free: 10.78 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.422e-05/0.0049, allocations: 69.92 kB / 0.8418 GB, free: 10.7 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.004901, allocations: 0 / 0.8418 GB, free: 10.7 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.796e-05/0.004919, allocations: 4 kB / 0.8418 GB, free: 10.69 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.162e-06/0.00492, allocations: 0 / 0.8418 GB, free: 10.69 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.069e-06/0.004926, allocations: 8 kB / 0.8418 GB, free: 10.68 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.41e-07/0.004926, allocations: 0 / 0.8418 GB, free: 10.68 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.004928, allocations: 3.938 kB / 0.8418 GB, free: 10.68 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.229e-05/0.005, allocations: 131.5 kB / 0.842 GB, free: 10.54 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 5.009e-06/0.005005, allocations: 0 / 0.842 GB, free: 10.54 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.492e-06/0.005012, allocations: 4 kB / 0.842 GB, free: 10.53 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.845e-05/0.00504, allocations: 8.016 kB / 0.842 GB, free: 10.52 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.541e-05/0.005066, allocations: 4 kB / 0.842 GB, free: 10.52 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.794e-06/0.005067, allocations: 0 / 0.842 GB, free: 10.52 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.241e-05/0.00508, allocations: 16.78 kB / 0.842 GB, free: 10.5 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6.1e-08/0.00508, allocations: 0 / 0.842 GB, free: 10.5 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001126/0.005193, allocations: 3.938 kB / 0.842 GB, free: 10.5 MB / 0.8073 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 (2): * Single equations (assignments): 2 * 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 7.989e-05/0.005272, allocations: 84.41 kB / 0.8421 GB, free: 10.41 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 4.76e-05/0.00532, allocations: 12.8 kB / 0.8421 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.005322, allocations: 0 / 0.8421 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.209e-05/0.005335, allocations: 12.92 kB / 0.8421 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001261/0.005461, allocations: 4 kB / 0.8421 GB, free: 10.37 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001914/0.005652, allocations: 112.6 kB / 0.8422 GB, free: 10.23 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.764e-05/0.00568, allocations: 55.34 kB / 0.8423 GB, free: 10.16 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.406e-05/0.005694, allocations: 4 kB / 0.8423 GB, free: 10.16 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.368e-05/0.005727, allocations: 47.38 kB / 0.8423 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of SimCode: time 5.01e-07/0.005728, allocations: 0 / 0.8423 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of Templates: time 0.001789/0.007517, allocations: 465.5 kB / 0.8428 GB, free: 9.664 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Exp.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.264997740741819]