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.0008029/0.0008029, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0008205/0.0008205, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.8637/0.8637, allocations: 177.1 MB / 203.5 MB, free: 5.738 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 1.838/1.838, allocations: 389 MB / 0.6338 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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 1.683e-06/1.683e-06, allocations: 0 / 1.001 GB, free: 12.93 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.557e-05/2.725e-05, allocations: 9.312 kB / 1.001 GB, free: 12.92 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Round): time 0.001815/0.001842, allocations: 0.7417 MB / 1.002 GB, free: 12.18 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001157/0.002999, allocations: 0.8587 MB / 1.003 GB, free: 11.31 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.293e-05/0.003052, allocations: 4 kB / 1.003 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 3.778e-05/0.00309, allocations: 15.8 kB / 1.003 GB, free: 11.29 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 9.397e-05/0.003184, allocations: 7.875 kB / 1.003 GB, free: 11.28 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001794/0.003363, allocations: 23.97 kB / 1.003 GB, free: 11.26 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001116/0.003475, allocations: 71.83 kB / 1.003 GB, free: 11.19 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00013/0.003605, allocations: 23.92 kB / 1.003 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001087/0.003713, allocations: 43.89 kB / 1.003 GB, free: 11.12 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 6.901e-05/0.003782, allocations: 31.89 kB / 1.003 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 3.192e-05/0.003814, allocations: 4 kB / 1.003 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 1.259e-05/0.003827, allocations: 8 kB / 1.003 GB, free: 11.08 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.686e-05/0.003854, allocations: 19.92 kB / 1.003 GB, free: 11.06 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 3.414e-05/0.003888, allocations: 15.98 kB / 1.003 GB, free: 11.04 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001329/0.004021, allocations: 75.73 kB / 1.003 GB, free: 10.97 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.364e-06/0.004023, allocations: 0 / 1.003 GB, free: 10.97 MB / 0.9636 GB Notification: Performance of FrontEnd: time 7.51e-07/0.004024, allocations: 4 kB / 1.003 GB, free: 10.96 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.298e-06/0.004028, allocations: 4 kB / 1.003 GB, free: 10.96 MB / 0.9636 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.0005392/0.004567, allocations: 306 kB / 1.003 GB, free: 10.63 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/0.004609, allocations: 9.344 kB / 1.003 GB, free: 10.62 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.144e-05/0.00465, allocations: 8.891 kB / 1.003 GB, free: 10.61 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001272/0.004778, allocations: 121.7 kB / 1.003 GB, free: 10.47 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.996e-05/0.004798, allocations: 8.375 kB / 1.003 GB, free: 10.46 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.497e-05/0.004813, allocations: 4.375 kB / 1.003 GB, free: 10.46 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000213/0.005026, allocations: 82.14 kB / 1.003 GB, free: 10.37 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.447e-06/0.005035, allocations: 192 / 1.003 GB, free: 10.37 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.818e-05/0.005053, allocations: 8.375 kB / 1.003 GB, free: 10.36 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.00506, allocations: 4.375 kB / 1.003 GB, free: 10.36 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002067/0.005267, allocations: 63.88 kB / 1.003 GB, free: 10.3 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004297/0.005697, allocations: 244.5 kB / 1.004 GB, free: 10.03 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002304/0.005927, allocations: 86.47 kB / 1.004 GB, free: 9.934 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001067/0.006034, allocations: 41.7 kB / 1.004 GB, free: 9.891 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.871e-05/0.006052, allocations: 7.938 kB / 1.004 GB, free: 9.883 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.56e-05/0.006078, allocations: 34.67 kB / 1.004 GB, free: 9.84 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=6): time 1.603e-06/0.00608, allocations: 3.938 kB / 1.004 GB, free: 9.836 MB / 0.9636 GB Notification: Performance of matching and sorting (n=6): time 0.0004148/0.006494, allocations: 137.6 kB / 1.004 GB, free: 9.695 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.62e-05/0.006531, allocations: 55.34 kB / 1.004 GB, free: 9.629 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.292e-05/0.006623, allocations: 121.8 kB / 1.004 GB, free: 9.5 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.434e-05/0.006638, allocations: 25.7 kB / 1.004 GB, free: 9.469 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 5.502e-05/0.006693, allocations: 104 kB / 1.004 GB, free: 9.363 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.925e-05/0.006722, allocations: 23.86 kB / 1.004 GB, free: 9.34 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.332e-05/0.006765, allocations: 17.7 kB / 1.004 GB, free: 9.316 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001059/0.006871, allocations: 314.8 kB / 1.005 GB, free: 9 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.097e-05/0.006962, allocations: 31.97 kB / 1.005 GB, free: 8.969 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.825e-05/0.00705, allocations: 31.97 kB / 1.005 GB, free: 8.938 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001782/0.007229, allocations: 72.75 kB / 1.005 GB, free: 8.863 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.007231, allocations: 0 / 1.005 GB, free: 8.863 MB / 0.9636 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002191/0.00745, allocations: 109.5 kB / 1.005 GB, free: 8.75 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.007465, allocations: 4 kB / 1.005 GB, free: 8.746 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.007471, allocations: 0 / 1.005 GB, free: 8.746 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.007484, allocations: 4 kB / 1.005 GB, free: 8.742 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001037/0.007588, allocations: 11.98 kB / 1.005 GB, free: 8.73 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.249e-06/0.007593, allocations: 4 kB / 1.005 GB, free: 8.727 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.565e-05/0.007649, allocations: 19.88 kB / 1.005 GB, free: 8.707 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.146e-06/0.007657, allocations: 0 / 1.005 GB, free: 8.707 MB / 0.9636 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 7.422e-05/0.007731, allocations: 117.8 kB / 1.005 GB, free: 8.582 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.657e-05/0.007758, allocations: 7.938 kB / 1.005 GB, free: 8.574 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.335e-05/0.007781, allocations: 12.42 kB / 1.005 GB, free: 8.562 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.007784, allocations: 0 / 1.005 GB, free: 8.562 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.007789, allocations: 0 / 1.005 GB, free: 8.562 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.007792, allocations: 0 / 1.005 GB, free: 8.562 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001518/0.007944, allocations: 133.2 kB / 1.005 GB, free: 8.402 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.007945, allocations: 0 / 1.005 GB, free: 8.402 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.691e-05/0.008012, allocations: 16.42 kB / 1.005 GB, free: 8.387 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.008014, allocations: 3.938 kB / 1.005 GB, free: 8.383 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.035e-05/0.008025, allocations: 8 kB / 1.005 GB, free: 8.375 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.008027, allocations: 11.94 kB / 1.005 GB, free: 8.363 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.008028, allocations: 3.938 kB / 1.005 GB, free: 8.359 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002494/0.008278, allocations: 191.5 kB / 1.005 GB, free: 8.156 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.264e-05/0.00829, allocations: 7.938 kB / 1.005 GB, free: 8.148 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.762e-05/0.008308, allocations: 7.938 kB / 1.005 GB, free: 8.141 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.325e-05/0.008381, allocations: 4 kB / 1.005 GB, free: 8.137 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.01e-05/0.008441, allocations: 19.95 kB / 1.005 GB, free: 8.117 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.991e-06/0.008447, allocations: 4 kB / 1.005 GB, free: 8.113 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 5.127e-05/0.008498, allocations: 103.6 kB / 1.006 GB, free: 8.012 MB / 0.9636 GB Notification: Performance of sort global known variables: time 7.1e-08/0.008499, allocations: 0 / 1.006 GB, free: 8.012 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002364/0.008735, allocations: 12 kB / 1.006 GB, free: 8 MB / 0.9636 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 9.259e-05/0.008828, allocations: 91.25 kB / 1.006 GB, free: 7.898 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002312/0.009059, allocations: 75.88 kB / 1.006 GB, free: 7.824 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.00906, allocations: 0 / 1.006 GB, free: 7.824 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 9.597e-05/0.009156, allocations: 35.97 kB / 1.006 GB, free: 7.789 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002745/0.009431, allocations: 17.72 kB / 1.006 GB, free: 7.773 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000401/0.009832, allocations: 202.2 kB / 1.006 GB, free: 7.543 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.139e-05/0.009893, allocations: 75.33 kB / 1.006 GB, free: 7.449 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.346e-05/0.009946, allocations: 16.5 kB / 1.006 GB, free: 7.434 MB / 0.9636 GB Notification: Performance of SimCode: time 6.01e-07/0.009947, allocations: 3.938 kB / 1.006 GB, free: 7.43 MB / 0.9636 GB Notification: Performance of Templates: time 0.002369/0.01232, allocations: 1.085 MB / 1.007 GB, free: 6.352 MB / 0.9636 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe 2>&1) [Timeout 800] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Round.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.349901545792818]