Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Round.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001371/0.001371, allocations: 114.8 kB / 18.89 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001585/0.001585, allocations: 202.2 kB / 22.17 MB, free: 5.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.493/1.493, allocations: 225.6 MB / 250.9 MB, free: 13.26 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.781/2.781, allocations: 476.7 MB / 0.7645 GB, free: 10.09 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_11_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_11_Buildings.Controls.OBC.CDL.Reals.Validation.Round") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001986/0.001986, allocations: 63.91 kB / 1.109 GB, free: 6.465 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7717/0.7737, allocations: 168.7 MB / 1.274 GB, free: 4.508 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Round): time 0.00199/0.7757, allocations: 0.7704 MB / 1.275 GB, free: 3.738 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001032/0.7767, allocations: 0.8467 MB / 1.276 GB, free: 2.879 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.086e-05/0.7768, allocations: 4 kB / 1.276 GB, free: 2.875 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.709e-05/0.7768, allocations: 7.875 kB / 1.276 GB, free: 2.867 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.665e-05/0.7769, allocations: 3.938 kB / 1.276 GB, free: 2.863 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001698/0.7771, allocations: 35.88 kB / 1.276 GB, free: 2.828 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001195/0.7772, allocations: 67.91 kB / 1.276 GB, free: 2.762 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001233/0.7773, allocations: 19.98 kB / 1.276 GB, free: 2.742 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 8.282e-05/0.7774, allocations: 27.86 kB / 1.276 GB, free: 2.715 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 8.611e-05/0.7775, allocations: 47.81 kB / 1.276 GB, free: 2.668 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.798e-05/0.7775, allocations: 8 kB / 1.276 GB, free: 2.66 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.369e-05/0.7775, allocations: 4 kB / 1.276 GB, free: 2.656 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.428e-05/0.7776, allocations: 11.98 kB / 1.276 GB, free: 2.645 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.354e-05/0.7776, allocations: 31.8 kB / 1.276 GB, free: 2.613 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001272/0.7777, allocations: 78.34 kB / 1.276 GB, free: 2.539 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.7777, allocations: 4 kB / 1.276 GB, free: 2.535 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.512e-06/0.7777, allocations: 4 kB / 1.276 GB, free: 2.531 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.691e-06/0.7778, allocations: 0 / 1.276 GB, free: 2.531 MB / 0.9669 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.0006181/0.7784, allocations: 375.2 kB / 1.276 GB, free: 2.113 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/0.7784, allocations: 8.031 kB / 1.276 GB, free: 2.105 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.043e-05/0.7784, allocations: 8.891 kB / 1.276 GB, free: 2.098 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000165/0.7786, allocations: 184.2 kB / 1.277 GB, free: 1.879 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.7786, allocations: 4.375 kB / 1.277 GB, free: 1.875 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.704e-05/0.7787, allocations: 8.375 kB / 1.277 GB, free: 1.867 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002666/0.7789, allocations: 82.2 kB / 1.277 GB, free: 1.781 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.7789, allocations: 4.125 kB / 1.277 GB, free: 1.777 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.562e-05/0.7789, allocations: 3.938 kB / 1.277 GB, free: 1.773 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.7789, allocations: 0 / 1.277 GB, free: 1.773 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002586/0.7792, allocations: 67.94 kB / 1.277 GB, free: 1.707 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005126/0.7797, allocations: 328.7 kB / 1.277 GB, free: 1.336 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002743/0.78, allocations: 86.47 kB / 1.277 GB, free: 1.242 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000133/0.7801, allocations: 32.94 kB / 1.277 GB, free: 1.207 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.889e-05/0.7802, allocations: 11.98 kB / 1.277 GB, free: 1.195 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.969e-05/0.7802, allocations: 30.56 kB / 1.277 GB, free: 1.156 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=6): time 1.392e-06/0.7802, allocations: 0 / 1.277 GB, free: 1.156 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6): time 0.0005192/0.7807, allocations: 133.6 kB / 1.277 GB, free: 1.02 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.709e-05/0.7808, allocations: 55.34 kB / 1.277 GB, free: 0.9531 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001156/0.7809, allocations: 129.8 kB / 1.278 GB, free: 0.8164 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.107e-05/0.7809, allocations: 25.7 kB / 1.278 GB, free: 0.7852 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.898e-05/0.7809, allocations: 92.14 kB / 1.278 GB, free: 0.6914 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.058e-05/0.781, allocations: 23.78 kB / 1.278 GB, free: 0.668 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.653e-05/0.781, allocations: 21.72 kB / 1.278 GB, free: 0.6406 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001414/0.7812, allocations: 322.8 kB / 1.278 GB, free: 324 kB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001271/0.7813, allocations: 31.97 kB / 1.278 GB, free: 292 kB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001125/0.7814, allocations: 27.98 kB / 1.278 GB, free: 264 kB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002372/0.7816, allocations: 73.17 kB / 1.278 GB, free: 188 kB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.7816, allocations: 4 kB / 1.278 GB, free: 184 kB / 0.9669 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002945/0.7819, allocations: 101.6 kB / 1.278 GB, free: 76 kB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.782, allocations: 11.92 kB / 1.278 GB, free: 64 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.782, allocations: 0 / 1.278 GB, free: 64 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.807e-05/0.782, allocations: 3.984 kB / 1.278 GB, free: 60 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001479/0.7821, allocations: 15.98 kB / 1.278 GB, free: 44 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.7821, allocations: 0 / 1.278 GB, free: 44 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.896e-05/0.7822, allocations: 7.984 kB / 1.278 GB, free: 36 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.304e-05/0.7822, allocations: 8 kB / 1.278 GB, free: 28 kB / 0.9669 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 0.0001065/0.7823, allocations: 117.8 kB / 1.278 GB, free: 15.9 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.353e-05/0.7824, allocations: 7.953 kB / 1.278 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.328e-05/0.7824, allocations: 12.38 kB / 1.278 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.7824, allocations: 0 / 1.278 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.7824, allocations: 0 / 1.278 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.7824, allocations: 3.984 kB / 1.278 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002439/0.7827, allocations: 189.6 kB / 1.279 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-06/0.7827, allocations: 0 / 1.279 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001265/0.7828, allocations: 19.98 kB / 1.279 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.7828, allocations: 0 / 1.279 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.307e-05/0.7828, allocations: 4 kB / 1.279 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.7828, allocations: 0 / 1.279 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.7828, allocations: 3.938 kB / 1.279 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003619/0.7832, allocations: 207.4 kB / 1.279 GB, free: 15.39 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.353e-05/0.7832, allocations: 85.06 kB / 1.279 GB, free: 15.29 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.771e-05/0.7832, allocations: 4 kB / 1.279 GB, free: 15.29 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001165/0.7834, allocations: 11.92 kB / 1.279 GB, free: 15.28 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.836e-05/0.7834, allocations: 15.92 kB / 1.279 GB, free: 15.26 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.688e-06/0.7834, allocations: 8.125 kB / 1.279 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.644e-05/0.7835, allocations: 95.27 kB / 1.279 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.7835, allocations: 0 / 1.279 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002358/0.7837, allocations: 12 kB / 1.279 GB, free: 15.15 MB / 0.9825 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.0001427/0.7839, allocations: 99.78 kB / 1.279 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003211/0.7842, allocations: 79.81 kB / 1.279 GB, free: 14.96 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.7842, allocations: 0 / 1.279 GB, free: 14.96 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001521/0.7844, allocations: 39.97 kB / 1.279 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003069/0.7847, allocations: 4.766 kB / 1.279 GB, free: 14.92 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004931/0.7852, allocations: 203.9 kB / 1.279 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002979/0.7855, allocations: 0.6924 MB / 1.28 GB, free: 13.98 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.559e-05/0.7855, allocations: 4 kB / 1.28 GB, free: 13.98 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.573e-05/0.7856, allocations: 15.42 kB / 1.28 GB, free: 13.96 MB / 0.9825 GB Notification: Performance of SimCode: time 3.41e-07/0.7856, allocations: 4 kB / 1.28 GB, free: 13.96 MB / 0.9825 GB Notification: Performance of Templates: time 0.004114/0.7897, allocations: 1.258 MB / 1.281 GB, free: 12.71 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Round.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Round.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Round -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Round_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Round.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 8.732482846826315]