Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001696/0.001696, allocations: 110 kB / 18.93 MB, free: 2.945 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.00164/0.00164, allocations: 187.8 kB / 22.23 MB, free: 5.16 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.54/1.54, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.748/2.748, allocations: 443.4 MB / 0.7321 GB, free: 12.25 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.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_10_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_10_Buildings.Controls.OBC.CDL.Reals.Validation.Round") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00219/0.00219, allocations: 67.89 kB / 1.062 GB, free: 1.488 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.079/1.081, allocations: 160.8 MB / 1.219 GB, free: 4.387 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Round): time 0.002361/1.084, allocations: 0.7644 MB / 1.219 GB, free: 3.633 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001231/1.085, allocations: 0.8546 MB / 1.22 GB, free: 2.766 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.402e-05/1.085, allocations: 0 / 1.22 GB, free: 2.766 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.518e-05/1.085, allocations: 7.875 kB / 1.22 GB, free: 2.758 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 9.805e-05/1.085, allocations: 7.922 kB / 1.22 GB, free: 2.75 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001866/1.085, allocations: 35.89 kB / 1.22 GB, free: 2.715 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001197/1.086, allocations: 63.91 kB / 1.22 GB, free: 2.652 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001271/1.086, allocations: 19.98 kB / 1.22 GB, free: 2.633 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001066/1.086, allocations: 31.86 kB / 1.22 GB, free: 2.602 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 8.241e-05/1.086, allocations: 47.81 kB / 1.22 GB, free: 2.555 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.783e-05/1.086, allocations: 8 kB / 1.22 GB, free: 2.547 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.764e-05/1.086, allocations: 8 kB / 1.22 GB, free: 2.539 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.652e-05/1.086, allocations: 11.98 kB / 1.22 GB, free: 2.527 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.86e-05/1.086, allocations: 35.73 kB / 1.22 GB, free: 2.492 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001417/1.086, allocations: 75.41 kB / 1.22 GB, free: 2.422 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/1.086, allocations: 0 / 1.22 GB, free: 2.422 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.543e-06/1.086, allocations: 0 / 1.22 GB, free: 2.422 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.909e-06/1.086, allocations: 0 / 1.22 GB, free: 2.422 MB / 0.92 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.000657/1.087, allocations: 381.9 kB / 1.221 GB, free: 2 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/1.087, allocations: 8.031 kB / 1.221 GB, free: 1.992 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.206e-05/1.087, allocations: 8.891 kB / 1.221 GB, free: 1.984 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002018/1.087, allocations: 184.2 kB / 1.221 GB, free: 1.766 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.751e-05/1.087, allocations: 8.375 kB / 1.221 GB, free: 1.758 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.569e-05/1.087, allocations: 4.375 kB / 1.221 GB, free: 1.754 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002394/1.087, allocations: 90.08 kB / 1.221 GB, free: 1.66 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/1.087, allocations: 192 / 1.221 GB, free: 1.66 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.317e-05/1.087, allocations: 7.875 kB / 1.221 GB, free: 1.652 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/1.087, allocations: 8 kB / 1.221 GB, free: 1.645 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002274/1.088, allocations: 63.94 kB / 1.221 GB, free: 1.582 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005923/1.088, allocations: 324.7 kB / 1.221 GB, free: 1.215 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002575/1.088, allocations: 82.5 kB / 1.222 GB, free: 1.125 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001265/1.089, allocations: 44.89 kB / 1.222 GB, free: 1.078 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.24e-05/1.089, allocations: 0 / 1.222 GB, free: 1.078 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.216e-05/1.089, allocations: 34.56 kB / 1.222 GB, free: 1.035 MB / 0.92 GB Notification: Performance of pre-optimization done (n=6): time 8.52e-07/1.089, allocations: 0 / 1.222 GB, free: 1.035 MB / 0.92 GB Notification: Performance of matching and sorting (n=6): time 0.0004676/1.089, allocations: 137.5 kB / 1.222 GB, free: 0.8945 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.559e-05/1.089, allocations: 59.41 kB / 1.222 GB, free: 0.8242 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001184/1.089, allocations: 125.8 kB / 1.222 GB, free: 0.6914 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.161e-05/1.089, allocations: 29.69 kB / 1.222 GB, free: 0.6562 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.462e-05/1.089, allocations: 88.14 kB / 1.222 GB, free: 0.5664 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.113e-05/1.089, allocations: 19.8 kB / 1.222 GB, free: 0.5469 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.757e-05/1.089, allocations: 21.7 kB / 1.222 GB, free: 0.5195 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001729/1.09, allocations: 326.8 kB / 1.222 GB, free: 196 kB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001149/1.09, allocations: 31.98 kB / 1.222 GB, free: 164 kB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001079/1.09, allocations: 27.97 kB / 1.222 GB, free: 136 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002019/1.09, allocations: 68.81 kB / 1.223 GB, free: 64 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/1.09, allocations: 0 / 1.223 GB, free: 64 kB / 0.92 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002799/1.09, allocations: 105.5 kB / 1.223 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/1.09, allocations: 6.656 kB / 1.223 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/1.09, allocations: 8.438 kB / 1.223 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/1.09, allocations: 0 / 1.223 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001557/1.091, allocations: 19.97 kB / 1.223 GB, free: 15.92 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/1.091, allocations: 0 / 1.223 GB, free: 15.92 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.922e-05/1.091, allocations: 8 kB / 1.223 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.101e-05/1.091, allocations: 3.984 kB / 1.223 GB, free: 15.91 MB / 0.9356 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.0001031/1.091, allocations: 121.7 kB / 1.223 GB, free: 15.78 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.97e-05/1.091, allocations: 7.953 kB / 1.223 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.742e-05/1.091, allocations: 16.36 kB / 1.223 GB, free: 15.76 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.552e-06/1.091, allocations: 0 / 1.223 GB, free: 15.76 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.94e-06/1.091, allocations: 0 / 1.223 GB, free: 15.76 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/1.091, allocations: 0 / 1.223 GB, free: 15.76 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002393/1.091, allocations: 201.5 kB / 1.223 GB, free: 15.51 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/1.091, allocations: 0 / 1.223 GB, free: 15.51 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001138/1.091, allocations: 19.91 kB / 1.223 GB, free: 15.49 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/1.091, allocations: 4 kB / 1.223 GB, free: 15.49 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.018e-05/1.091, allocations: 0 / 1.223 GB, free: 15.49 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/1.091, allocations: 0 / 1.223 GB, free: 15.49 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/1.091, allocations: 0 / 1.223 GB, free: 15.49 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003417/1.091, allocations: 211.3 kB / 1.223 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.419e-05/1.092, allocations: 81.06 kB / 1.223 GB, free: 15.17 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.11e-05/1.092, allocations: 7.984 kB / 1.223 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001051/1.092, allocations: 4 kB / 1.223 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.569e-05/1.092, allocations: 15.97 kB / 1.223 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.216e-06/1.092, allocations: 11.94 kB / 1.223 GB, free: 15.13 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.778e-05/1.092, allocations: 91.27 kB / 1.223 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8e-08/1.092, allocations: 0 / 1.223 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002292/1.092, allocations: 16 kB / 1.223 GB, free: 15.02 MB / 0.9356 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.0001615/1.092, allocations: 99.17 kB / 1.224 GB, free: 14.92 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002964/1.092, allocations: 75.88 kB / 1.224 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/1.093, allocations: 4 kB / 1.224 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001334/1.093, allocations: 39.97 kB / 1.224 GB, free: 14.8 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003345/1.093, allocations: 11.88 kB / 1.224 GB, free: 14.79 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005228/1.093, allocations: 173.4 kB / 1.224 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003811/1.094, allocations: 0.6885 MB / 1.225 GB, free: 13.88 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.829e-05/1.094, allocations: 8 kB / 1.225 GB, free: 13.87 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.11e-05/1.094, allocations: 11.44 kB / 1.225 GB, free: 13.86 MB / 0.9356 GB Notification: Performance of SimCode: time 4.81e-07/1.094, allocations: 0 / 1.225 GB, free: 13.86 MB / 0.9356 GB Notification: Performance of Templates: time 0.004232/1.098, allocations: 1.267 MB / 1.226 GB, free: 12.6 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Round.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Round.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Round -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Round_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Round.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 9.299564939923584]