Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001141/0.001141, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.001214/0.001214, allocations: 169 kB / 23.02 MB, free: 1.551 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.033/1.033, allocations: 177.1 MB / 203.4 MB, free: 5.625 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.152/2.152, allocations: 429.5 MB / 0.6732 GB, free: 4.035 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.Round,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|round1.u|round1.y|round2.u|round2.y|round3.u|round3.y",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.196e-06/3.196e-06, allocations: 0 / 0.8782 GB, free: 6.23 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.059e-05/3.378e-05, allocations: 3.406 kB / 0.8782 GB, free: 6.227 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Round): time 0.002189/0.002223, allocations: 0.7796 MB / 0.879 GB, free: 5.473 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.000898/0.003121, allocations: 0.8793 MB / 0.8799 GB, free: 4.582 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.87e-05/0.00316, allocations: 0.5 kB / 0.8799 GB, free: 4.582 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.707e-05/0.003187, allocations: 5.281 kB / 0.8799 GB, free: 4.578 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 7.385e-05/0.003261, allocations: 16.97 kB / 0.8799 GB, free: 4.562 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001365/0.003397, allocations: 27.91 kB / 0.8799 GB, free: 4.535 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 7.763e-05/0.003475, allocations: 72.66 kB / 0.88 GB, free: 4.465 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 9.181e-05/0.003567, allocations: 19.98 kB / 0.88 GB, free: 4.445 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 7.592e-05/0.003643, allocations: 45.17 kB / 0.88 GB, free: 4.402 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 5.037e-05/0.003693, allocations: 31.89 kB / 0.8801 GB, free: 4.371 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.812e-05/0.003711, allocations: 8 kB / 0.8801 GB, free: 4.363 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.144e-05/0.003723, allocations: 8 kB / 0.8801 GB, free: 4.355 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.785e-05/0.00374, allocations: 12.89 kB / 0.8801 GB, free: 4.344 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.397e-05/0.003774, allocations: 27.91 kB / 0.8801 GB, free: 4.316 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 9.07e-05/0.003865, allocations: 48.47 kB / 0.8802 GB, free: 4.27 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.003868, allocations: 0 / 0.8802 GB, free: 4.27 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.203e-06/0.003869, allocations: 0.6562 kB / 0.8802 GB, free: 4.27 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.003874, allocations: 0 / 0.8802 GB, free: 4.27 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0004087/0.004283, allocations: 397.9 kB / 0.8806 GB, free: 3.844 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.00432, allocations: 8.031 kB / 0.8806 GB, free: 3.836 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.465e-05/0.004365, allocations: 16.89 kB / 0.8806 GB, free: 3.82 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.221e-05/0.004457, allocations: 125.8 kB / 0.8807 GB, free: 3.672 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.067e-05/0.004478, allocations: 4.375 kB / 0.8807 GB, free: 3.668 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.327e-05/0.004491, allocations: 4.375 kB / 0.8807 GB, free: 3.664 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000143/0.004634, allocations: 82.05 kB / 0.8808 GB, free: 3.578 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.405e-06/0.004642, allocations: 192 / 0.8808 GB, free: 3.578 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.198e-05/0.004654, allocations: 4.375 kB / 0.8808 GB, free: 3.574 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.004662, allocations: 4.375 kB / 0.8808 GB, free: 3.57 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.407e-05/0.004746, allocations: 23.91 kB / 0.8808 GB, free: 3.547 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004508/0.005197, allocations: 307.6 kB / 0.8811 GB, free: 3.211 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001477/0.005345, allocations: 59.62 kB / 0.8812 GB, free: 3.141 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.744e-05/0.005392, allocations: 21.12 kB / 0.8812 GB, free: 3.117 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.166e-05/0.005414, allocations: 3.938 kB / 0.8812 GB, free: 3.113 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.6e-05/0.00544, allocations: 33.39 kB / 0.8812 GB, free: 3.07 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=6): time 1.873e-06/0.005442, allocations: 3.938 kB / 0.8812 GB, free: 3.066 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6): time 0.0002495/0.005691, allocations: 77.86 kB / 0.8813 GB, free: 2.984 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.251e-05/0.005724, allocations: 51.41 kB / 0.8814 GB, free: 2.922 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001105/0.005834, allocations: 185.8 kB / 0.8815 GB, free: 2.723 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.427e-05/0.005848, allocations: 25.7 kB / 0.8816 GB, free: 2.691 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.004e-05/0.005908, allocations: 138.8 kB / 0.8817 GB, free: 2.551 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.261e-05/0.005941, allocations: 27.89 kB / 0.8817 GB, free: 2.523 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.118e-05/0.005982, allocations: 23.31 kB / 0.8817 GB, free: 2.492 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001408/0.006123, allocations: 0.4923 MB / 0.8822 GB, free: 1.988 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.804e-05/0.006161, allocations: 4 kB / 0.8822 GB, free: 1.984 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.5e-05/0.006196, allocations: 24.05 kB / 0.8822 GB, free: 1.961 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.62e-05/0.006272, allocations: 27.62 kB / 0.8823 GB, free: 1.93 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/0.006276, allocations: 4 kB / 0.8823 GB, free: 1.926 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001322/0.006408, allocations: 69.56 kB / 0.8823 GB, free: 1.852 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.006426, allocations: 8 kB / 0.8823 GB, free: 1.844 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.006431, allocations: 0 / 0.8823 GB, free: 1.844 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/0.006449, allocations: 0 / 0.8823 GB, free: 1.844 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001148/0.006564, allocations: 11.98 kB / 0.8824 GB, free: 1.832 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.006571, allocations: 4 kB / 0.8824 GB, free: 1.828 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.049e-05/0.006612, allocations: 8 kB / 0.8824 GB, free: 1.82 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.576e-06/0.00662, allocations: 4 kB / 0.8824 GB, free: 1.816 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 (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 9.291e-05/0.006713, allocations: 156.5 kB / 0.8825 GB, free: 1.652 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.426e-05/0.006747, allocations: 15.88 kB / 0.8825 GB, free: 1.637 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.044e-05/0.006778, allocations: 12.44 kB / 0.8825 GB, free: 1.625 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.00678, allocations: 0 / 0.8825 GB, free: 1.625 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.006784, allocations: 0 / 0.8825 GB, free: 1.625 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.006786, allocations: 0 / 0.8825 GB, free: 1.625 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000153/0.006939, allocations: 136.6 kB / 0.8827 GB, free: 1.457 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.006941, allocations: 0 / 0.8827 GB, free: 1.457 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.808e-05/0.007009, allocations: 19.98 kB / 0.8827 GB, free: 1.438 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.918e-06/0.007013, allocations: 3.938 kB / 0.8827 GB, free: 1.434 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.667e-06/0.007022, allocations: 0 / 0.8827 GB, free: 1.434 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.007023, allocations: 0 / 0.8827 GB, free: 1.434 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.007025, allocations: 192 / 0.8827 GB, free: 1.434 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003489/0.007374, allocations: 223.8 kB / 0.8829 GB, free: 1.195 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.195e-05/0.007386, allocations: 3.953 kB / 0.8829 GB, free: 1.191 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.905e-05/0.007405, allocations: 7.938 kB / 0.8829 GB, free: 1.184 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.401e-05/0.007479, allocations: 7.984 kB / 0.8829 GB, free: 1.176 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.447e-05/0.007543, allocations: 15.97 kB / 0.883 GB, free: 1.16 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.615e-06/0.007551, allocations: 4 kB / 0.883 GB, free: 1.156 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.786e-05/0.007609, allocations: 143.1 kB / 0.8831 GB, free: 1.016 MB / 0.8386 GB Notification: Performance of sort global known variables: time 8e-08/0.007609, allocations: 0 / 0.8831 GB, free: 1.016 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002423/0.007851, allocations: 8 kB / 0.8831 GB, free: 1.008 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 (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.000116/0.007967, allocations: 103.2 kB / 0.8832 GB, free: 0.8984 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001383/0.008105, allocations: 39.66 kB / 0.8832 GB, free: 0.8555 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.008107, allocations: 0 / 0.8832 GB, free: 0.8555 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 5.875e-05/0.008166, allocations: 27.61 kB / 0.8833 GB, free: 0.8242 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002815/0.008447, allocations: 16 kB / 0.8833 GB, free: 0.8086 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000405/0.008852, allocations: 166 kB / 0.8834 GB, free: 0.6172 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.614e-05/0.008898, allocations: 59.34 kB / 0.8835 GB, free: 0.5391 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 4.675e-05/0.008945, allocations: 15.98 kB / 0.8835 GB, free: 0.5234 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.956e-05/0.009005, allocations: 12.5 kB / 0.8835 GB, free: 0.5078 MB / 0.8386 GB Notification: Performance of SimCode: time 9.92e-07/0.009006, allocations: 0 / 0.8835 GB, free: 0.5078 MB / 0.8386 GB Notification: Performance of Templates: time 0.003886/0.01289, allocations: 1.356 MB / 0.8848 GB, free: 15.17 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.703763034194708]