Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001517/0.001517, allocations: 76.81 kB / 20.75 MB, free: 3.734 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.001848/0.001848, allocations: 161 kB / 24.17 MB, free: 324 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.019/1.019, allocations: 177.2 MB / 204.6 MB, free: 5.477 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 2/2, allocations: 377.9 MB / 0.624 GB, free: 8.32 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.Exp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Exp1.u|Exp1.y",fileNamePrefix="Buildings_12_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_12_Buildings.Controls.OBC.CDL.Reals.Validation.Exp") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 4.108e-06/4.108e-06, allocations: 4 kB / 0.7601 GB, free: 6.48 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.17e-05/3.581e-05, allocations: 2.312 kB / 0.7601 GB, free: 6.477 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Exp): time 0.001603/0.001639, allocations: 0.7277 MB / 0.7609 GB, free: 5.77 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001208/0.002846, allocations: 0.8572 MB / 0.7617 GB, free: 4.902 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.693e-05/0.002883, allocations: 0.9375 kB / 0.7617 GB, free: 4.902 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.76e-05/0.002911, allocations: 3.938 kB / 0.7617 GB, free: 4.898 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 6.826e-05/0.002979, allocations: 2.578 kB / 0.7617 GB, free: 4.898 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001693/0.003149, allocations: 20.78 kB / 0.7617 GB, free: 4.879 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 6.779e-05/0.003216, allocations: 19.72 kB / 0.7617 GB, free: 4.863 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 7.273e-05/0.003289, allocations: 9.922 kB / 0.7617 GB, free: 4.855 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 7.322e-05/0.003362, allocations: 12.53 kB / 0.7618 GB, free: 4.844 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 3.171e-05/0.003394, allocations: 4.984 kB / 0.7618 GB, free: 4.84 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.237e-05/0.003406, allocations: 0 / 0.7618 GB, free: 4.84 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 5.224e-05/0.003459, allocations: 12.81 kB / 0.7618 GB, free: 4.828 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.644e-05/0.003475, allocations: 12.95 kB / 0.7618 GB, free: 4.816 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.46e-05/0.00349, allocations: 5.688 kB / 0.7618 GB, free: 4.812 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 7.897e-05/0.003569, allocations: 13.41 kB / 0.7618 GB, free: 4.801 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.894e-06/0.003571, allocations: 4 kB / 0.7618 GB, free: 4.797 MB / 0.7136 GB Notification: Performance of FrontEnd: time 8.61e-07/0.003571, allocations: 0.875 kB / 0.7618 GB, free: 4.797 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.306e-06/0.003575, allocations: 0.5 kB / 0.7618 GB, free: 4.797 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002527/0.003827, allocations: 234.2 kB / 0.762 GB, free: 4.543 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.085e-05/0.003858, allocations: 8.031 kB / 0.762 GB, free: 4.535 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.87e-05/0.003947, allocations: 8.891 kB / 0.762 GB, free: 4.527 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.025e-05/0.004027, allocations: 114.2 kB / 0.7622 GB, free: 4.391 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.836e-06/0.004036, allocations: 1.094 kB / 0.7622 GB, free: 4.391 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.651e-06/0.004042, allocations: 1.141 kB / 0.7622 GB, free: 4.391 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.016e-05/0.004132, allocations: 59.41 kB / 0.7622 GB, free: 4.324 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.104e-06/0.004139, allocations: 1.125 kB / 0.7622 GB, free: 4.324 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.484e-06/0.004147, allocations: 4.375 kB / 0.7622 GB, free: 4.32 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.004152, allocations: 384 / 0.7622 GB, free: 4.32 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.011e-05/0.004172, allocations: 8.969 kB / 0.7622 GB, free: 4.312 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001851/0.004357, allocations: 140.4 kB / 0.7624 GB, free: 4.16 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 3.677e-05/0.004394, allocations: 27.89 kB / 0.7624 GB, free: 4.125 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.161e-05/0.004406, allocations: 8.922 kB / 0.7624 GB, free: 4.113 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.172e-05/0.004417, allocations: 1.781 kB / 0.7624 GB, free: 4.113 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.922e-05/0.004437, allocations: 30.56 kB / 0.7624 GB, free: 4.074 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.004438, allocations: 0 / 0.7624 GB, free: 4.074 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 9.884e-05/0.004536, allocations: 42.91 kB / 0.7625 GB, free: 4.027 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.834e-05/0.004565, allocations: 59.34 kB / 0.7625 GB, free: 3.957 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.699e-05/0.004612, allocations: 99.48 kB / 0.7626 GB, free: 3.848 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 8.506e-06/0.00462, allocations: 29.64 kB / 0.7626 GB, free: 3.812 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.551e-05/0.004646, allocations: 81.83 kB / 0.7627 GB, free: 3.73 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.619e-05/0.004662, allocations: 7.938 kB / 0.7627 GB, free: 3.723 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.339e-05/0.004685, allocations: 17.7 kB / 0.7628 GB, free: 3.699 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.782e-05/0.004753, allocations: 314.8 kB / 0.7631 GB, free: 3.383 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.644e-06/0.004761, allocations: 2.75 kB / 0.7631 GB, free: 3.383 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.264e-06/0.004768, allocations: 1.094 kB / 0.7631 GB, free: 3.383 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.262e-05/0.004791, allocations: 16.84 kB / 0.7631 GB, free: 3.363 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.004792, allocations: 4 kB / 0.7631 GB, free: 3.359 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.056e-05/0.004833, allocations: 29.7 kB / 0.7631 GB, free: 3.324 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/0.004845, allocations: 8 kB / 0.7631 GB, free: 3.316 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.00485, allocations: 1.969 kB / 0.7631 GB, free: 3.316 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.004862, allocations: 0 / 0.7631 GB, free: 3.316 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.607e-05/0.004918, allocations: 15.86 kB / 0.7631 GB, free: 3.301 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.264e-06/0.00492, allocations: 0 / 0.7631 GB, free: 3.301 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.499e-05/0.004935, allocations: 4 kB / 0.7631 GB, free: 3.297 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.328e-06/0.004939, allocations: 5.812 kB / 0.7631 GB, free: 3.293 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 (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.659e-05/0.004986, allocations: 110.6 kB / 0.7632 GB, free: 3.176 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.485e-05/0.005001, allocations: 4 kB / 0.7632 GB, free: 3.172 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.051e-05/0.005061, allocations: 41.75 kB / 0.7633 GB, free: 3.129 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.005064, allocations: 3.984 kB / 0.7633 GB, free: 3.125 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.005067, allocations: 4.625 kB / 0.7633 GB, free: 3.121 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.00507, allocations: 4 kB / 0.7633 GB, free: 3.117 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.589e-05/0.005146, allocations: 66.64 kB / 0.7634 GB, free: 3.035 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.005146, allocations: 0.9844 kB / 0.7634 GB, free: 3.035 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.04e-05/0.005167, allocations: 8.484 kB / 0.7634 GB, free: 3.027 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.61e-07/0.005168, allocations: 2.969 kB / 0.7634 GB, free: 3.027 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.517e-06/0.005171, allocations: 0 / 0.7634 GB, free: 3.027 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.21e-07/0.005172, allocations: 3.938 kB / 0.7634 GB, free: 3.023 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.005173, allocations: 192 / 0.7634 GB, free: 3.023 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.879e-05/0.005242, allocations: 139.5 kB / 0.7635 GB, free: 2.871 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.804e-06/0.00525, allocations: 11.94 kB / 0.7635 GB, free: 2.859 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.393e-06/0.005256, allocations: 0 / 0.7635 GB, free: 2.859 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.95e-05/0.005285, allocations: 7.75 kB / 0.7635 GB, free: 2.855 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.393e-05/0.005309, allocations: 4 kB / 0.7635 GB, free: 2.852 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.066e-06/0.005312, allocations: 3.984 kB / 0.7635 GB, free: 2.848 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.08e-05/0.005323, allocations: 12.8 kB / 0.7635 GB, free: 2.832 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4e-08/0.005323, allocations: 0 / 0.7635 GB, free: 2.832 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001131/0.005436, allocations: 4 kB / 0.7636 GB, free: 2.828 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 (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 8.033e-05/0.005517, allocations: 77.86 kB / 0.7636 GB, free: 2.742 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 4.894e-05/0.005566, allocations: 12.8 kB / 0.7636 GB, free: 2.727 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.005568, allocations: 1.031 kB / 0.7636 GB, free: 2.727 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.388e-05/0.005582, allocations: 12.84 kB / 0.7637 GB, free: 2.711 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000133/0.005715, allocations: 7.344 kB / 0.7637 GB, free: 2.707 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002072/0.005922, allocations: 117.1 kB / 0.7638 GB, free: 2.566 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.01e-05/0.005952, allocations: 54.33 kB / 0.7638 GB, free: 2.496 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.506e-05/0.005967, allocations: 0 / 0.7638 GB, free: 2.496 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.875e-05/0.006006, allocations: 51.38 kB / 0.7639 GB, free: 2.441 MB / 0.7136 GB Notification: Performance of SimCode: time 6.21e-07/0.006007, allocations: 0 / 0.7639 GB, free: 2.441 MB / 0.7136 GB Notification: Performance of Templates: time 0.001974/0.00798, allocations: 448.2 kB / 0.7643 GB, free: 2.02 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Exp -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Exp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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.121096654329449]