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.001014/0.001014, allocations: 93.06 kB / 19.65 MB, free: 280 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.001158/0.001158, allocations: 173 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 0.9731/0.9731, allocations: 177.1 MB / 203.4 MB, free: 5.652 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.055/2.055, allocations: 429.5 MB / 0.6732 GB, free: 4.059 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 2.194e-06/2.194e-06, allocations: 0 / 0.8782 GB, free: 6.254 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.432e-05/2.651e-05, allocations: 3.031 kB / 0.8782 GB, free: 6.25 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Round): time 0.001378/0.001405, allocations: 0.7786 MB / 0.879 GB, free: 5.496 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001125/0.00253, allocations: 0.8798 MB / 0.8799 GB, free: 4.605 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.005e-05/0.00257, allocations: 4 kB / 0.8799 GB, free: 4.602 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.244e-05/0.002602, allocations: 7.281 kB / 0.8799 GB, free: 4.598 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 8.08e-05/0.002683, allocations: 11.86 kB / 0.8799 GB, free: 4.586 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.000157/0.00284, allocations: 39.83 kB / 0.8799 GB, free: 4.547 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 8.831e-05/0.002928, allocations: 63.84 kB / 0.88 GB, free: 4.484 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001068/0.003035, allocations: 19.97 kB / 0.88 GB, free: 4.465 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 8.878e-05/0.003124, allocations: 39.91 kB / 0.88 GB, free: 4.426 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 5.829e-05/0.003182, allocations: 31.89 kB / 0.8801 GB, free: 4.395 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.324e-05/0.003215, allocations: 8 kB / 0.8801 GB, free: 4.387 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.183e-05/0.003227, allocations: 4.875 kB / 0.8801 GB, free: 4.383 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.32e-05/0.00325, allocations: 19.97 kB / 0.8801 GB, free: 4.363 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.749e-05/0.003278, allocations: 21.02 kB / 0.8801 GB, free: 4.344 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001028/0.003381, allocations: 51.81 kB / 0.8802 GB, free: 4.293 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.415e-06/0.003383, allocations: 0 / 0.8802 GB, free: 4.293 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.082e-06/0.003384, allocations: 1.125 kB / 0.8802 GB, free: 4.293 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.408e-06/0.003389, allocations: 0 / 0.8802 GB, free: 4.293 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.0003913/0.00378, allocations: 397.4 kB / 0.8805 GB, free: 3.867 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.003819, allocations: 15.97 kB / 0.8806 GB, free: 3.852 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.257e-05/0.003862, allocations: 8.891 kB / 0.8806 GB, free: 3.844 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.557e-05/0.003957, allocations: 125.1 kB / 0.8807 GB, free: 3.695 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.12e-05/0.003978, allocations: 8.375 kB / 0.8807 GB, free: 3.688 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.204e-05/0.00399, allocations: 5.094 kB / 0.8807 GB, free: 3.684 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001446/0.004135, allocations: 82.3 kB / 0.8808 GB, free: 3.598 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.004142, allocations: 192 / 0.8808 GB, free: 3.598 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.523e-05/0.004158, allocations: 4.375 kB / 0.8808 GB, free: 3.594 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.553e-06/0.004164, allocations: 384 / 0.8808 GB, free: 3.594 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.772e-05/0.004222, allocations: 35.84 kB / 0.8808 GB, free: 3.559 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003512/0.004573, allocations: 299.6 kB / 0.8811 GB, free: 3.23 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000108/0.004681, allocations: 59.09 kB / 0.8812 GB, free: 3.16 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.687e-05/0.004718, allocations: 20.25 kB / 0.8812 GB, free: 3.137 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.496e-05/0.004733, allocations: 5.031 kB / 0.8812 GB, free: 3.133 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.464e-05/0.004757, allocations: 41.39 kB / 0.8812 GB, free: 3.082 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=6): time 1.222e-06/0.004759, allocations: 0 / 0.8812 GB, free: 3.082 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6): time 0.0001865/0.004945, allocations: 71.77 kB / 0.8813 GB, free: 3.008 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.777e-05/0.004973, allocations: 51.41 kB / 0.8813 GB, free: 2.945 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.331e-05/0.005056, allocations: 182 kB / 0.8815 GB, free: 2.75 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.439e-05/0.005071, allocations: 29.7 kB / 0.8815 GB, free: 2.715 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.104e-05/0.005122, allocations: 138.8 kB / 0.8817 GB, free: 2.574 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.552e-05/0.005147, allocations: 27.78 kB / 0.8817 GB, free: 2.547 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.418e-05/0.005181, allocations: 27.38 kB / 0.8817 GB, free: 2.512 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001104/0.005292, allocations: 496.1 kB / 0.8822 GB, free: 2.016 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.215e-05/0.005324, allocations: 16.19 kB / 0.8822 GB, free: 2 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.334e-05/0.005347, allocations: 11.98 kB / 0.8822 GB, free: 1.988 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.655e-05/0.005404, allocations: 31.69 kB / 0.8823 GB, free: 1.953 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.005406, allocations: 0 / 0.8823 GB, free: 1.953 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6) (initialization): time 9.424e-05/0.0055, allocations: 73.56 kB / 0.8823 GB, free: 1.875 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.005512, allocations: 4 kB / 0.8823 GB, free: 1.871 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/0.005516, allocations: 4 kB / 0.8823 GB, free: 1.867 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.027e-05/0.005527, allocations: 0 / 0.8823 GB, free: 1.867 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.862e-05/0.005615, allocations: 19.92 kB / 0.8824 GB, free: 1.848 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.02e-06/0.00562, allocations: 0 / 0.8824 GB, free: 1.848 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.82e-05/0.005648, allocations: 4 kB / 0.8824 GB, free: 1.844 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.132e-06/0.005655, allocations: 0 / 0.8824 GB, free: 1.844 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 6.477e-05/0.005719, allocations: 156.6 kB / 0.8825 GB, free: 1.68 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.9e-05/0.005738, allocations: 15.88 kB / 0.8825 GB, free: 1.664 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.223e-05/0.005761, allocations: 12.44 kB / 0.8825 GB, free: 1.652 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.005763, allocations: 0 / 0.8825 GB, free: 1.652 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.005766, allocations: 4 kB / 0.8825 GB, free: 1.648 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.005769, allocations: 0 / 0.8825 GB, free: 1.648 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001065/0.005875, allocations: 140.6 kB / 0.8827 GB, free: 1.477 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.005876, allocations: 0 / 0.8827 GB, free: 1.477 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.069e-05/0.005917, allocations: 11.98 kB / 0.8827 GB, free: 1.465 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.00592, allocations: 3.938 kB / 0.8827 GB, free: 1.461 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.047e-06/0.005929, allocations: 4 kB / 0.8827 GB, free: 1.457 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.00593, allocations: 0 / 0.8827 GB, free: 1.457 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.005931, allocations: 0 / 0.8827 GB, free: 1.457 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001434/0.006074, allocations: 220 kB / 0.8829 GB, free: 1.223 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.226e-05/0.006087, allocations: 15.95 kB / 0.8829 GB, free: 1.207 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.312e-05/0.0061, allocations: 3.938 kB / 0.8829 GB, free: 1.203 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.218e-05/0.006142, allocations: 4 kB / 0.8829 GB, free: 1.199 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.35e-05/0.006195, allocations: 11.97 kB / 0.8829 GB, free: 1.188 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.007e-06/0.006199, allocations: 7.938 kB / 0.8829 GB, free: 1.18 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.566e-05/0.006245, allocations: 135.2 kB / 0.8831 GB, free: 1.047 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.006245, allocations: 0 / 0.8831 GB, free: 1.047 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001452/0.00639, allocations: 16 kB / 0.8831 GB, free: 1.031 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 8.16e-05/0.006472, allocations: 95.19 kB / 0.8832 GB, free: 0.9297 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001087/0.006581, allocations: 47.59 kB / 0.8832 GB, free: 0.8789 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.006582, allocations: 0 / 0.8832 GB, free: 0.8789 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 4.23e-05/0.006624, allocations: 31.67 kB / 0.8833 GB, free: 0.8438 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001861/0.00681, allocations: 4 kB / 0.8833 GB, free: 0.8398 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003224/0.007133, allocations: 166 kB / 0.8834 GB, free: 0.6484 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.379e-05/0.007167, allocations: 63.34 kB / 0.8835 GB, free: 0.5664 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.19e-05/0.007199, allocations: 11.98 kB / 0.8835 GB, free: 0.5547 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.028e-05/0.007249, allocations: 20.44 kB / 0.8835 GB, free: 0.5312 MB / 0.8386 GB Notification: Performance of SimCode: time 5.81e-07/0.007249, allocations: 0 / 0.8835 GB, free: 0.5312 MB / 0.8386 GB Notification: Performance of Templates: time 0.002935/0.01018, allocations: 1.435 MB / 0.8849 GB, free: 15.12 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.3098107180558145]