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.001289/0.001289, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001526/0.001526, allocations: 177.4 kB / 23.36 MB, free: 1.129 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 1.008/1.008, allocations: 177.2 MB / 203.8 MB, free: 5.473 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.518/2.518, allocations: 438.8 MB / 0.6826 GB, free: 13.57 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 2.284e-06/2.284e-06, allocations: 0 / 0.8387 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.815e-05/3.044e-05, allocations: 2.312 kB / 0.8387 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Exp): time 0.002668/0.002699, allocations: 0.722 MB / 0.8394 GB, free: 13.35 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001327/0.004026, allocations: 0.8548 MB / 0.8402 GB, free: 12.48 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.554e-05/0.004072, allocations: 0 / 0.8402 GB, free: 12.48 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 3.301e-05/0.004105, allocations: 0 / 0.8402 GB, free: 12.48 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 8.109e-05/0.004186, allocations: 7.875 kB / 0.8402 GB, free: 12.48 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001897/0.004376, allocations: 23.91 kB / 0.8403 GB, free: 12.45 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 8.635e-05/0.004462, allocations: 23.92 kB / 0.8403 GB, free: 12.43 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 9.363e-05/0.004556, allocations: 4 kB / 0.8403 GB, free: 12.43 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 9.833e-05/0.004654, allocations: 11.98 kB / 0.8403 GB, free: 12.41 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 4.347e-05/0.004697, allocations: 4 kB / 0.8403 GB, free: 12.41 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.547e-05/0.004713, allocations: 0 / 0.8403 GB, free: 12.41 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 8.083e-05/0.004794, allocations: 15.98 kB / 0.8403 GB, free: 12.39 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 2.004e-05/0.004814, allocations: 3.938 kB / 0.8403 GB, free: 12.39 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 2.019e-05/0.004834, allocations: 7.984 kB / 0.8403 GB, free: 12.38 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001137/0.004948, allocations: 19.92 kB / 0.8404 GB, free: 12.36 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.00495, allocations: 0 / 0.8404 GB, free: 12.36 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.392e-06/0.004952, allocations: 4 kB / 0.8404 GB, free: 12.36 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 5.209e-06/0.004957, allocations: 0 / 0.8404 GB, free: 12.36 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.0003587/0.005316, allocations: 237 kB / 0.8406 GB, free: 12.1 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.592e-05/0.005362, allocations: 8.625 kB / 0.8406 GB, free: 12.09 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001244/0.005486, allocations: 4.938 kB / 0.8406 GB, free: 12.09 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001138/0.0056, allocations: 113.7 kB / 0.8407 GB, free: 11.95 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.277e-05/0.005613, allocations: 384 / 0.8407 GB, free: 11.95 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.548e-06/0.005622, allocations: 4.359 kB / 0.8407 GB, free: 11.95 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001408/0.005763, allocations: 50.95 kB / 0.8408 GB, free: 11.89 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.005773, allocations: 192 / 0.8408 GB, free: 11.89 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.005784, allocations: 8.375 kB / 0.8408 GB, free: 11.88 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.622e-06/0.005791, allocations: 384 / 0.8408 GB, free: 11.88 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.176e-05/0.005823, allocations: 19.81 kB / 0.8408 GB, free: 11.86 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002704/0.006093, allocations: 140.3 kB / 0.8409 GB, free: 11.71 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 5.443e-05/0.006147, allocations: 18.58 kB / 0.8409 GB, free: 11.68 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.927e-05/0.006167, allocations: 8.922 kB / 0.841 GB, free: 11.67 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.58e-05/0.006182, allocations: 0 / 0.841 GB, free: 11.67 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.757e-05/0.00621, allocations: 38.56 kB / 0.841 GB, free: 11.62 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=2): time 1.272e-06/0.006211, allocations: 0 / 0.841 GB, free: 11.62 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2): time 0.0001343/0.006346, allocations: 41.67 kB / 0.841 GB, free: 11.58 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.688e-05/0.006382, allocations: 59.34 kB / 0.8411 GB, free: 11.51 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.303e-05/0.006455, allocations: 110.7 kB / 0.8412 GB, free: 11.39 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.473e-05/0.00647, allocations: 25.7 kB / 0.8412 GB, free: 11.36 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.999e-05/0.00651, allocations: 80.14 kB / 0.8413 GB, free: 11.27 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.054e-05/0.006531, allocations: 7.953 kB / 0.8413 GB, free: 11.27 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.29e-05/0.006564, allocations: 13.7 kB / 0.8413 GB, free: 11.25 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001007/0.006664, allocations: 314.8 kB / 0.8416 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.367e-05/0.006678, allocations: 0 / 0.8416 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.139e-05/0.006689, allocations: 3.984 kB / 0.8416 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.242e-05/0.006732, allocations: 28.98 kB / 0.8416 GB, free: 10.89 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.006734, allocations: 0 / 0.8416 GB, free: 10.89 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.128e-05/0.006805, allocations: 33.69 kB / 0.8417 GB, free: 10.86 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.994e-05/0.006825, allocations: 8 kB / 0.8417 GB, free: 10.85 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.006831, allocations: 0 / 0.8417 GB, free: 10.85 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.006847, allocations: 0 / 0.8417 GB, free: 10.85 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.403e-05/0.006941, allocations: 7.938 kB / 0.8417 GB, free: 10.84 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.075e-06/0.006944, allocations: 0 / 0.8417 GB, free: 10.84 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.575e-05/0.006969, allocations: 4 kB / 0.8417 GB, free: 10.84 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.809e-06/0.006974, allocations: 0 / 0.8417 GB, free: 10.84 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 8.12e-05/0.007055, allocations: 113.9 kB / 0.8418 GB, free: 10.71 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.575e-05/0.007081, allocations: 4 kB / 0.8418 GB, free: 10.71 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001059/0.007187, allocations: 44.94 kB / 0.8418 GB, free: 10.66 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.00719, allocations: 0 / 0.8418 GB, free: 10.66 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-06/0.007194, allocations: 7.938 kB / 0.8419 GB, free: 10.65 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.007198, allocations: 0 / 0.8419 GB, free: 10.65 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001252/0.007324, allocations: 65.89 kB / 0.8419 GB, free: 10.57 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.007326, allocations: 0 / 0.8419 GB, free: 10.57 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.478e-05/0.00738, allocations: 7.984 kB / 0.8419 GB, free: 10.56 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.007383, allocations: 3.938 kB / 0.8419 GB, free: 10.56 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.6e-06/0.007389, allocations: 4.031 kB / 0.8419 GB, free: 10.55 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.464e-06/0.007391, allocations: 0 / 0.8419 GB, free: 10.55 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.007393, allocations: 4 kB / 0.8419 GB, free: 10.55 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001105/0.007503, allocations: 135.4 kB / 0.8421 GB, free: 10.4 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 7.454e-06/0.007511, allocations: 0 / 0.8421 GB, free: 10.4 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.065e-05/0.007521, allocations: 0 / 0.8421 GB, free: 10.4 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.854e-05/0.00759, allocations: 4 kB / 0.8421 GB, free: 10.4 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.558e-05/0.007626, allocations: 7.984 kB / 0.8421 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.44e-06/0.007631, allocations: 4 kB / 0.8421 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.723e-05/0.007648, allocations: 12.8 kB / 0.8421 GB, free: 10.37 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1e-07/0.007648, allocations: 4.031 kB / 0.8421 GB, free: 10.37 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002091/0.007857, allocations: 4 kB / 0.8421 GB, free: 10.36 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 0.0001384/0.007996, allocations: 72.42 kB / 0.8422 GB, free: 10.29 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 7.158e-05/0.008067, allocations: 16.84 kB / 0.8422 GB, free: 10.27 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.008071, allocations: 0 / 0.8422 GB, free: 10.27 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.065e-05/0.008092, allocations: 12.8 kB / 0.8422 GB, free: 10.25 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002109/0.008303, allocations: 7.938 kB / 0.8422 GB, free: 10.24 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002913/0.008594, allocations: 108.8 kB / 0.8423 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.339e-05/0.008637, allocations: 59.34 kB / 0.8424 GB, free: 10.03 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.887e-05/0.008666, allocations: 0 / 0.8424 GB, free: 10.03 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.434e-05/0.008721, allocations: 51.38 kB / 0.8424 GB, free: 9.98 MB / 0.8073 GB Notification: Performance of SimCode: time 6.61e-07/0.008721, allocations: 0 / 0.8424 GB, free: 9.98 MB / 0.8073 GB Notification: Performance of Templates: time 0.002782/0.0115, allocations: 461.6 kB / 0.8429 GB, free: 9.539 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 -s gbode -gbm=radauIIA3 -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.400324787944555]