Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Log.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.001658/0.001658, allocations: 113.8 kB / 17.61 MB, free: 4.703 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.001881/0.001881, allocations: 186 kB / 20.78 MB, free: 1.547 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.627/1.627, allocations: 225.6 MB / 249.4 MB, free: 3.152 MB / 190.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 3.054/3.054, allocations: 476.7 MB / 0.7629 GB, free: 15.29 MB / 0.6075 GB " [Timeout remaining time 176] 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.Log,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|log1.u|log1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Log") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Log,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|log1.u|log1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Log") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00197/0.00197, allocations: 67.88 kB / 1.107 GB, free: 4.555 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.195/1.197, allocations: 168.7 MB / 1.272 GB, free: 8.145 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Log): time 0.002087/1.199, allocations: 0.6765 MB / 1.273 GB, free: 7.727 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001053/1.2, allocations: 0.8104 MB / 1.273 GB, free: 7.113 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.829e-05/1.2, allocations: 4.656 kB / 1.273 GB, free: 7.109 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.436e-05/1.2, allocations: 3.938 kB / 1.273 GB, free: 7.105 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.851e-05/1.2, allocations: 1.406 kB / 1.273 GB, free: 7.105 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001538/1.201, allocations: 13.02 kB / 1.273 GB, free: 7.098 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 8.685e-05/1.201, allocations: 16.19 kB / 1.274 GB, free: 7.094 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000123/1.201, allocations: 11.62 kB / 1.274 GB, free: 7.086 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.037e-05/1.201, allocations: 16.91 kB / 1.274 GB, free: 7.074 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.705e-05/1.201, allocations: 5.375 kB / 1.274 GB, free: 7.074 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.879e-05/1.201, allocations: 1.812 kB / 1.274 GB, free: 7.074 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.169e-05/1.201, allocations: 2 kB / 1.274 GB, free: 7.074 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.056e-05/1.201, allocations: 14.09 kB / 1.274 GB, free: 7.062 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.856e-05/1.201, allocations: 7 kB / 1.274 GB, free: 7.059 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 9.94e-05/1.201, allocations: 20.89 kB / 1.274 GB, free: 7.051 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/1.201, allocations: 0.7969 kB / 1.274 GB, free: 7.051 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.533e-06/1.201, allocations: 3.938 kB / 1.274 GB, free: 7.047 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.32e-06/1.201, allocations: 0.7188 kB / 1.274 GB, free: 7.047 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000465/1.202, allocations: 335 kB / 1.274 GB, free: 6.691 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.387e-05/1.202, allocations: 9.094 kB / 1.274 GB, free: 6.691 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.163e-05/1.202, allocations: 10.23 kB / 1.274 GB, free: 6.684 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001042/1.202, allocations: 167.9 kB / 1.274 GB, free: 6.484 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.417e-06/1.202, allocations: 0.9688 kB / 1.274 GB, free: 6.484 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.574e-05/1.202, allocations: 1.688 kB / 1.274 GB, free: 6.484 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001967/1.202, allocations: 50.11 kB / 1.274 GB, free: 6.449 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/1.202, allocations: 192 / 1.274 GB, free: 6.449 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.25e-05/1.202, allocations: 5.094 kB / 1.274 GB, free: 6.445 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/1.202, allocations: 0 / 1.274 GB, free: 6.445 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001671/1.202, allocations: 40.27 kB / 1.274 GB, free: 6.434 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003032/1.202, allocations: 245.2 kB / 1.274 GB, free: 6.164 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001229/1.203, allocations: 43.19 kB / 1.274 GB, free: 6.129 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.122e-05/1.203, allocations: 22.92 kB / 1.274 GB, free: 6.117 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.078e-05/1.203, allocations: 0.8125 kB / 1.274 GB, free: 6.117 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.676e-05/1.203, allocations: 39.34 kB / 1.275 GB, free: 6.07 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/1.203, allocations: 0 / 1.275 GB, free: 6.07 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0003466/1.203, allocations: 84.25 kB / 1.275 GB, free: 6.027 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.427e-05/1.203, allocations: 55.41 kB / 1.275 GB, free: 5.961 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.354e-05/1.203, allocations: 98.02 kB / 1.275 GB, free: 5.863 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.682e-06/1.203, allocations: 29.83 kB / 1.275 GB, free: 5.828 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.757e-05/1.203, allocations: 85.73 kB / 1.275 GB, free: 5.742 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.902e-05/1.203, allocations: 10.53 kB / 1.275 GB, free: 5.734 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.673e-05/1.203, allocations: 11.75 kB / 1.275 GB, free: 5.719 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.383e-05/1.203, allocations: 317.3 kB / 1.275 GB, free: 5.402 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.836e-05/1.203, allocations: 18.72 kB / 1.275 GB, free: 5.398 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.915e-05/1.203, allocations: 17.8 kB / 1.275 GB, free: 5.395 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001397/1.204, allocations: 45.11 kB / 1.275 GB, free: 5.375 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/1.204, allocations: 0 / 1.275 GB, free: 5.375 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001769/1.204, allocations: 69.36 kB / 1.275 GB, free: 5.336 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/1.204, allocations: 5.719 kB / 1.275 GB, free: 5.336 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/1.204, allocations: 0 / 1.275 GB, free: 5.336 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.654e-05/1.204, allocations: 5 kB / 1.275 GB, free: 5.332 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.904e-05/1.204, allocations: 6.766 kB / 1.275 GB, free: 5.332 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/1.204, allocations: 0.9062 kB / 1.275 GB, free: 5.332 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.429e-05/1.204, allocations: 4.938 kB / 1.275 GB, free: 5.332 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-06/1.204, allocations: 2.562 kB / 1.275 GB, free: 5.332 MB / 0.9981 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 (2): * Single equations (assignments): 2 * 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 5.436e-05/1.204, allocations: 112 kB / 1.275 GB, free: 5.215 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.123e-05/1.204, allocations: 4.875 kB / 1.275 GB, free: 5.211 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002219/1.204, allocations: 74.86 kB / 1.276 GB, free: 5.164 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/1.204, allocations: 4.875 kB / 1.276 GB, free: 5.16 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/1.204, allocations: 0 / 1.276 GB, free: 5.16 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/1.204, allocations: 1.719 kB / 1.276 GB, free: 5.16 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001351/1.204, allocations: 162.1 kB / 1.276 GB, free: 4.965 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/1.204, allocations: 0 / 1.276 GB, free: 4.965 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.408e-05/1.204, allocations: 7.5 kB / 1.276 GB, free: 4.965 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.313e-06/1.204, allocations: 0.7812 kB / 1.276 GB, free: 4.965 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.458e-06/1.204, allocations: 1.031 kB / 1.276 GB, free: 4.965 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/1.204, allocations: 7.969 kB / 1.276 GB, free: 4.957 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/1.204, allocations: 0.8125 kB / 1.276 GB, free: 4.957 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002069/1.205, allocations: 171 kB / 1.276 GB, free: 4.809 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.366e-05/1.205, allocations: 78.23 kB / 1.276 GB, free: 4.715 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.334e-05/1.205, allocations: 0.8125 kB / 1.276 GB, free: 4.715 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.098e-05/1.205, allocations: 6.625 kB / 1.276 GB, free: 4.715 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.369e-05/1.205, allocations: 6.219 kB / 1.276 GB, free: 4.711 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.519e-06/1.205, allocations: 0.7812 kB / 1.276 GB, free: 4.711 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.696e-05/1.205, allocations: 84.3 kB / 1.276 GB, free: 4.633 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/1.205, allocations: 1.031 kB / 1.276 GB, free: 4.633 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002034/1.205, allocations: 3 kB / 1.276 GB, free: 4.633 MB / 0.9981 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 (2): * Single equations (assignments): 2 * 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.0001647/1.205, allocations: 98.12 kB / 1.276 GB, free: 4.543 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002255/1.205, allocations: 39.06 kB / 1.276 GB, free: 4.535 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/1.205, allocations: 0.9375 kB / 1.276 GB, free: 4.535 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 8.352e-05/1.205, allocations: 23.41 kB / 1.276 GB, free: 4.527 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000304/1.206, allocations: 7.359 kB / 1.276 GB, free: 4.523 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003266/1.206, allocations: 122.5 kB / 1.276 GB, free: 4.414 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001257/1.206, allocations: 0.6754 MB / 1.277 GB, free: 3.719 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.584e-05/1.206, allocations: 7.438 kB / 1.277 GB, free: 3.715 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.679e-05/1.206, allocations: 8.344 kB / 1.277 GB, free: 3.707 MB / 0.9981 GB Notification: Performance of SimCode: time 6.51e-07/1.206, allocations: 0.9375 kB / 1.277 GB, free: 3.707 MB / 0.9981 GB Notification: Performance of Templates: time 0.002992/1.209, allocations: 449.2 kB / 1.277 GB, free: 3.641 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Log.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Log.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Log -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Log_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Log.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Log.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.98951746430248]