Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.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.001132/0.001132, allocations: 73.09 kB / 20.66 MB, free: 3.844 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.002017/0.002017, allocations: 169 kB / 24.06 MB, free: 456 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.09/1.09, allocations: 177.1 MB / 204.5 MB, free: 5.5 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.11/2.11, allocations: 429.5 MB / 0.6743 GB, free: 3.898 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.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.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.505e-06/2.505e-06, allocations: 0 / 0.8795 GB, free: 5.977 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.49e-05/2.74e-05, allocations: 2.312 kB / 0.8795 GB, free: 5.973 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Max): time 0.001469/0.001496, allocations: 0.7268 MB / 0.8802 GB, free: 5.273 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001131/0.002627, allocations: 0.8448 MB / 0.881 GB, free: 4.418 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.435e-05/0.002661, allocations: 1.125 kB / 0.881 GB, free: 4.418 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.486e-05/0.002686, allocations: 3.984 kB / 0.881 GB, free: 4.414 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 7.103e-05/0.002757, allocations: 14.23 kB / 0.881 GB, free: 4.402 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 9.688e-05/0.002854, allocations: 15.97 kB / 0.881 GB, free: 4.387 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 6.664e-05/0.002921, allocations: 43.86 kB / 0.8811 GB, free: 4.344 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 8.647e-05/0.003007, allocations: 12.58 kB / 0.8811 GB, free: 4.332 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 8.486e-05/0.003092, allocations: 16.86 kB / 0.8811 GB, free: 4.316 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.075e-05/0.003133, allocations: 19.92 kB / 0.8811 GB, free: 4.297 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.818e-05/0.003151, allocations: 4 kB / 0.8811 GB, free: 4.293 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 9.478e-06/0.00316, allocations: 5.094 kB / 0.8811 GB, free: 4.289 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.649e-05/0.003177, allocations: 7.984 kB / 0.8811 GB, free: 4.281 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.114e-05/0.003198, allocations: 16.95 kB / 0.8812 GB, free: 4.266 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 7.819e-05/0.003276, allocations: 27.84 kB / 0.8812 GB, free: 4.238 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.003279, allocations: 0 / 0.8812 GB, free: 4.238 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.012e-06/0.00328, allocations: 5.094 kB / 0.8812 GB, free: 4.234 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.837e-06/0.003284, allocations: 0 / 0.8812 GB, free: 4.234 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003168/0.003601, allocations: 377.2 kB / 0.8815 GB, free: 3.828 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.536e-05/0.003636, allocations: 12.03 kB / 0.8816 GB, free: 3.816 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.538e-05/0.003661, allocations: 5.906 kB / 0.8816 GB, free: 3.812 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.692e-05/0.003738, allocations: 116.5 kB / 0.8817 GB, free: 3.672 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.069e-05/0.003749, allocations: 8.375 kB / 0.8817 GB, free: 3.664 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.442e-06/0.003755, allocations: 1.125 kB / 0.8817 GB, free: 3.664 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001138/0.003869, allocations: 66.41 kB / 0.8817 GB, free: 3.594 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.041e-06/0.003875, allocations: 192 / 0.8817 GB, free: 3.594 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.063e-06/0.003882, allocations: 4.375 kB / 0.8817 GB, free: 3.59 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.003887, allocations: 384 / 0.8817 GB, free: 3.59 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.39e-05/0.003911, allocations: 11.88 kB / 0.8818 GB, free: 3.578 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00024/0.004151, allocations: 240.5 kB / 0.882 GB, free: 3.316 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 6.303e-05/0.004214, allocations: 35.03 kB / 0.882 GB, free: 3.27 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.98e-05/0.004233, allocations: 15.62 kB / 0.882 GB, free: 3.25 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.569e-05/0.004249, allocations: 0 / 0.882 GB, free: 3.25 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.087e-05/0.00427, allocations: 38.02 kB / 0.8821 GB, free: 3.203 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 8.31e-07/0.004271, allocations: 0.5938 kB / 0.8821 GB, free: 3.203 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0001304/0.004401, allocations: 57.61 kB / 0.8821 GB, free: 3.141 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.34e-05/0.004434, allocations: 52.25 kB / 0.8822 GB, free: 3.078 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.043e-05/0.004505, allocations: 165.9 kB / 0.8823 GB, free: 2.898 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.034e-05/0.004515, allocations: 26.52 kB / 0.8824 GB, free: 2.867 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.684e-05/0.004562, allocations: 138.9 kB / 0.8825 GB, free: 2.727 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.861e-05/0.004581, allocations: 13.42 kB / 0.8825 GB, free: 2.715 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.747e-05/0.004608, allocations: 19.38 kB / 0.8825 GB, free: 2.688 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001214/0.00473, allocations: 496.1 kB / 0.883 GB, free: 2.191 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.613e-05/0.004746, allocations: 8 kB / 0.883 GB, free: 2.184 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.375e-05/0.004759, allocations: 7.984 kB / 0.883 GB, free: 2.176 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.195e-05/0.004791, allocations: 23.62 kB / 0.883 GB, free: 2.148 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.004793, allocations: 0 / 0.883 GB, free: 2.148 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.411e-05/0.004858, allocations: 37.69 kB / 0.8831 GB, free: 2.105 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.004871, allocations: 8 kB / 0.8831 GB, free: 2.098 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.004875, allocations: 0 / 0.8831 GB, free: 2.098 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.746e-06/0.004884, allocations: 3.938 kB / 0.8831 GB, free: 2.094 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.005e-05/0.004954, allocations: 8 kB / 0.8831 GB, free: 2.086 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.215e-06/0.004956, allocations: 0 / 0.8831 GB, free: 2.086 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.411e-05/0.004981, allocations: 11.98 kB / 0.8831 GB, free: 2.074 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-06/0.004986, allocations: 4 kB / 0.8831 GB, free: 2.07 MB / 0.8386 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 (3): * Single equations (assignments): 3 * 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.929e-05/0.005046, allocations: 156.6 kB / 0.8833 GB, free: 1.906 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.639e-05/0.005062, allocations: 3.953 kB / 0.8833 GB, free: 1.902 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.078e-05/0.005143, allocations: 53.61 kB / 0.8833 GB, free: 1.844 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.005146, allocations: 7.938 kB / 0.8833 GB, free: 1.836 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.763e-06/0.005148, allocations: 0 / 0.8833 GB, free: 1.836 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.005151, allocations: 0 / 0.8833 GB, free: 1.836 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.339e-05/0.005244, allocations: 105.2 kB / 0.8834 GB, free: 1.707 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.005246, allocations: 0 / 0.8834 GB, free: 1.707 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.609e-05/0.005282, allocations: 8 kB / 0.8834 GB, free: 1.699 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.005285, allocations: 8 kB / 0.8834 GB, free: 1.691 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.729e-06/0.00529, allocations: 0 / 0.8834 GB, free: 1.691 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.81e-07/0.005291, allocations: 0 / 0.8834 GB, free: 1.691 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.005292, allocations: 3.938 kB / 0.8834 GB, free: 1.688 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001102/0.005402, allocations: 200.2 kB / 0.8836 GB, free: 1.473 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 9.739e-06/0.005412, allocations: 7.938 kB / 0.8836 GB, free: 1.465 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.867e-06/0.005421, allocations: 8.047 kB / 0.8836 GB, free: 1.457 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.937e-05/0.00546, allocations: 7.984 kB / 0.8837 GB, free: 1.449 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.435e-05/0.005495, allocations: 7.922 kB / 0.8837 GB, free: 1.441 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.437e-06/0.005498, allocations: 0 / 0.8837 GB, free: 1.441 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.986e-05/0.005538, allocations: 127.2 kB / 0.8838 GB, free: 1.316 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6e-08/0.005538, allocations: 4 kB / 0.8838 GB, free: 1.312 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001362/0.005674, allocations: 8 kB / 0.8838 GB, free: 1.305 MB / 0.8386 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 (3): * Single equations (assignments): 3 * 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 9.329e-05/0.005767, allocations: 98.23 kB / 0.8839 GB, free: 1.199 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 6.549e-05/0.005833, allocations: 15.69 kB / 0.8839 GB, free: 1.18 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.005835, allocations: 4 kB / 0.8839 GB, free: 1.176 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.11e-05/0.005857, allocations: 19.61 kB / 0.8839 GB, free: 1.152 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001888/0.006045, allocations: 8 kB / 0.8839 GB, free: 1.145 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002248/0.00627, allocations: 134.3 kB / 0.8841 GB, free: 0.9844 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.656e-05/0.006307, allocations: 55.36 kB / 0.8841 GB, free: 0.9102 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.895e-05/0.006326, allocations: 0 / 0.8841 GB, free: 0.9102 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.358e-05/0.006379, allocations: 82.19 kB / 0.8842 GB, free: 0.8281 MB / 0.8386 GB Notification: Performance of SimCode: time 7.01e-07/0.00638, allocations: 0 / 0.8842 GB, free: 0.8281 MB / 0.8386 GB Notification: Performance of Templates: time 0.002171/0.008551, allocations: 0.8224 MB / 0.885 GB, free: 20 kB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Max.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.61134031182155]