Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Round.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.001412/0.001412, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.001705/0.001705, allocations: 161 kB / 24.16 MB, free: 332 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 1.007/1.007, allocations: 177.1 MB / 204.6 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.991/1.991, allocations: 377.9 MB / 0.624 GB, free: 8.383 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.Validation.Round,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|round1.u|round1.y|round2.u|round2.y|round3.u|round3.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Round") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Round,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|round1.u|round1.y|round2.u|round2.y|round3.u|round3.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Round") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.314e-06/2.314e-06, allocations: 0 / 0.7601 GB, free: 6.578 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.478e-05/2.709e-05, allocations: 7.344 kB / 0.7601 GB, free: 6.57 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Round): time 0.001574/0.001601, allocations: 0.7656 MB / 0.7608 GB, free: 5.824 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0009409/0.002542, allocations: 0.8838 MB / 0.7617 GB, free: 4.93 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.73e-05/0.002589, allocations: 0 / 0.7617 GB, free: 4.93 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 3.185e-05/0.002621, allocations: 11.86 kB / 0.7617 GB, free: 4.918 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 8.767e-05/0.002709, allocations: 11.55 kB / 0.7617 GB, free: 4.91 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001475/0.002857, allocations: 31.89 kB / 0.7617 GB, free: 4.879 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 9.332e-05/0.00295, allocations: 72.59 kB / 0.7618 GB, free: 4.816 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 9.446e-05/0.003044, allocations: 12.83 kB / 0.7618 GB, free: 4.805 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001017/0.003146, allocations: 47.78 kB / 0.7619 GB, free: 4.762 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 5.56e-05/0.003202, allocations: 26.59 kB / 0.7619 GB, free: 4.738 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.496e-05/0.003227, allocations: 8.875 kB / 0.7619 GB, free: 4.73 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 1.089e-05/0.003237, allocations: 8 kB / 0.7619 GB, free: 4.723 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 3.056e-05/0.003268, allocations: 21.12 kB / 0.7619 GB, free: 4.703 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.439e-05/0.003292, allocations: 20.52 kB / 0.762 GB, free: 4.684 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001031/0.003395, allocations: 55.73 kB / 0.762 GB, free: 4.629 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.003399, allocations: 5.281 kB / 0.762 GB, free: 4.625 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.352e-06/0.003401, allocations: 0 / 0.762 GB, free: 4.625 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.057e-06/0.003405, allocations: 0 / 0.762 GB, free: 4.625 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0003621/0.003767, allocations: 266.1 kB / 0.7623 GB, free: 4.34 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.341e-05/0.0038, allocations: 8.031 kB / 0.7623 GB, free: 4.332 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.197e-05/0.003832, allocations: 4.938 kB / 0.7623 GB, free: 4.328 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.014e-05/0.003922, allocations: 127.1 kB / 0.7624 GB, free: 4.18 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.115e-05/0.003943, allocations: 8.375 kB / 0.7624 GB, free: 4.172 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.226e-05/0.003956, allocations: 384 / 0.7624 GB, free: 4.172 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001312/0.004087, allocations: 74.86 kB / 0.7625 GB, free: 4.09 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.004096, allocations: 5.438 kB / 0.7625 GB, free: 4.086 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.004106, allocations: 4.375 kB / 0.7625 GB, free: 4.082 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.004112, allocations: 4.312 kB / 0.7625 GB, free: 4.078 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.93e-05/0.004151, allocations: 20.86 kB / 0.7625 GB, free: 4.059 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002962/0.004447, allocations: 189.1 kB / 0.7627 GB, free: 3.859 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.334e-05/0.00453, allocations: 38.56 kB / 0.7627 GB, free: 3.812 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.471e-05/0.004555, allocations: 17.55 kB / 0.7627 GB, free: 3.793 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.256e-05/0.004568, allocations: 1.781 kB / 0.7627 GB, free: 3.793 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.097e-05/0.004589, allocations: 34.55 kB / 0.7628 GB, free: 3.75 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=6): time 1.803e-06/0.004591, allocations: 0 / 0.7628 GB, free: 3.75 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6): time 0.0001326/0.004723, allocations: 61.56 kB / 0.7628 GB, free: 3.684 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.895e-05/0.004752, allocations: 52.47 kB / 0.7629 GB, free: 3.621 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.475e-05/0.004817, allocations: 134.6 kB / 0.763 GB, free: 3.477 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.026e-05/0.004827, allocations: 25.7 kB / 0.763 GB, free: 3.445 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.167e-05/0.004859, allocations: 88.84 kB / 0.7631 GB, free: 3.355 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.438e-05/0.004883, allocations: 27.77 kB / 0.7632 GB, free: 3.328 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.979e-05/0.004913, allocations: 14.47 kB / 0.7632 GB, free: 3.309 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.724e-05/0.00499, allocations: 326.8 kB / 0.7635 GB, free: 2.98 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.824e-05/0.005008, allocations: 4.5 kB / 0.7635 GB, free: 2.977 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.635e-05/0.005025, allocations: 10.12 kB / 0.7635 GB, free: 2.969 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.357e-05/0.005068, allocations: 33.2 kB / 0.7635 GB, free: 2.934 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.00507, allocations: 0 / 0.7635 GB, free: 2.934 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6) (initialization): time 7.67e-05/0.005147, allocations: 53.62 kB / 0.7636 GB, free: 2.875 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.00516, allocations: 9.188 kB / 0.7636 GB, free: 2.867 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.005165, allocations: 0 / 0.7636 GB, free: 2.867 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.005178, allocations: 0 / 0.7636 GB, free: 2.867 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.522e-05/0.005263, allocations: 16.09 kB / 0.7636 GB, free: 2.852 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.645e-06/0.005266, allocations: 4.719 kB / 0.7636 GB, free: 2.848 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.872e-05/0.005295, allocations: 6.359 kB / 0.7636 GB, free: 2.844 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-06/0.005302, allocations: 7.984 kB / 0.7636 GB, free: 2.836 MB / 0.7136 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 (6): * Single equations (assignments): 6 * 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 5.707e-05/0.005359, allocations: 109.8 kB / 0.7637 GB, free: 2.719 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.623e-05/0.005375, allocations: 4 kB / 0.7637 GB, free: 2.715 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.192e-05/0.005397, allocations: 16.36 kB / 0.7637 GB, free: 2.699 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.065e-06/0.0054, allocations: 4 kB / 0.7637 GB, free: 2.695 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-06/0.005402, allocations: 2.75 kB / 0.7638 GB, free: 2.695 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.005404, allocations: 0 / 0.7638 GB, free: 2.695 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.602e-05/0.0055, allocations: 77.88 kB / 0.7638 GB, free: 2.602 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.005503, allocations: 4 kB / 0.7638 GB, free: 2.598 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.32e-05/0.005546, allocations: 19.92 kB / 0.7638 GB, free: 2.578 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.142e-06/0.005547, allocations: 0 / 0.7638 GB, free: 2.578 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.04e-06/0.005552, allocations: 0 / 0.7638 GB, free: 2.578 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.005553, allocations: 1.281 kB / 0.7638 GB, free: 2.578 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.005555, allocations: 3.938 kB / 0.7639 GB, free: 2.574 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001061/0.005661, allocations: 147.5 kB / 0.764 GB, free: 2.414 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.122e-05/0.005673, allocations: 12.89 kB / 0.764 GB, free: 2.402 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.036e-05/0.005683, allocations: 4.125 kB / 0.764 GB, free: 2.398 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.29e-05/0.005726, allocations: 11.98 kB / 0.764 GB, free: 2.387 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.253e-05/0.005768, allocations: 16.86 kB / 0.764 GB, free: 2.371 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.406e-06/0.005772, allocations: 0 / 0.764 GB, free: 2.371 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.949e-05/0.005791, allocations: 18.06 kB / 0.7641 GB, free: 2.352 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.005791, allocations: 0 / 0.7641 GB, free: 2.352 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000124/0.005915, allocations: 19.94 kB / 0.7641 GB, free: 2.332 MB / 0.7136 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 (6): * Single equations (assignments): 6 * 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.0001011/0.006016, allocations: 77.98 kB / 0.7641 GB, free: 2.25 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.916e-05/0.006106, allocations: 32.84 kB / 0.7642 GB, free: 2.215 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.006109, allocations: 0 / 0.7642 GB, free: 2.215 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.734e-05/0.006146, allocations: 29.42 kB / 0.7642 GB, free: 2.184 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000151/0.006297, allocations: 14.83 kB / 0.7642 GB, free: 2.172 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002935/0.006591, allocations: 164.2 kB / 0.7644 GB, free: 1.988 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.424e-05/0.006625, allocations: 63.34 kB / 0.7644 GB, free: 1.906 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.34e-05/0.006659, allocations: 4 kB / 0.7644 GB, free: 1.902 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.416e-05/0.006723, allocations: 69.83 kB / 0.7645 GB, free: 1.836 MB / 0.7136 GB Notification: Performance of SimCode: time 4.91e-07/0.006723, allocations: 0 / 0.7645 GB, free: 1.836 MB / 0.7136 GB Notification: Performance of Templates: time 0.003031/0.009754, allocations: 1.382 MB / 0.7659 GB, free: 0.5156 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Round.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Round.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Round -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Round_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Round.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.215572251006961]