Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.Limiter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limiter1.u|limiter1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Limiter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limiter1.u|limiter1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001552/0.001552, allocations: 106.1 kB / 16.41 MB, free: 6.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001784/0.001784, allocations: 185.6 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.397/1.397, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.487/2.487, allocations: 437 MB / 0.7112 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001551/0.001551, allocations: 75.88 kB / 1.019 GB, free: 9.371 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.899/0.9005, allocations: 151.6 MB / 1.167 GB, free: 3.824 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Limiter): time 0.001903/0.9025, allocations: 0.6695 MB / 1.168 GB, free: 3.16 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001035/0.9035, allocations: 0.8414 MB / 1.169 GB, free: 2.309 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.537e-05/0.9036, allocations: 0 / 1.169 GB, free: 2.309 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.982e-05/0.9036, allocations: 3.938 kB / 1.169 GB, free: 2.305 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 6.052e-05/0.9037, allocations: 3.938 kB / 1.169 GB, free: 2.301 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.000169/0.9039, allocations: 15.98 kB / 1.169 GB, free: 2.285 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 7.869e-05/0.904, allocations: 31.92 kB / 1.169 GB, free: 2.254 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 9.296e-05/0.9041, allocations: 8 kB / 1.169 GB, free: 2.246 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 6.844e-05/0.9042, allocations: 15.92 kB / 1.169 GB, free: 2.23 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 7.572e-05/0.9042, allocations: 23.91 kB / 1.169 GB, free: 2.207 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.954e-05/0.9043, allocations: 0 / 1.169 GB, free: 2.207 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.127e-05/0.9043, allocations: 4 kB / 1.169 GB, free: 2.203 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.77e-05/0.9043, allocations: 7.938 kB / 1.169 GB, free: 2.195 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.226e-05/0.9043, allocations: 15.92 kB / 1.169 GB, free: 2.18 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 8.984e-05/0.9044, allocations: 35.88 kB / 1.169 GB, free: 2.145 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.9044, allocations: 0 / 1.169 GB, free: 2.145 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.693e-06/0.9045, allocations: 4 kB / 1.169 GB, free: 2.141 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.44e-06/0.9045, allocations: 0 / 1.169 GB, free: 2.141 MB / 0.8887 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.0005267/0.905, allocations: 355.2 kB / 1.169 GB, free: 1.746 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.088e-05/0.9051, allocations: 15.95 kB / 1.169 GB, free: 1.73 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.283e-05/0.9051, allocations: 0.9375 kB / 1.169 GB, free: 1.73 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001251/0.9052, allocations: 168.3 kB / 1.17 GB, free: 1.527 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.136e-05/0.9052, allocations: 4.375 kB / 1.17 GB, free: 1.523 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.642e-05/0.9053, allocations: 4.375 kB / 1.17 GB, free: 1.52 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00023/0.9055, allocations: 62.22 kB / 1.17 GB, free: 1.453 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.9055, allocations: 192 / 1.17 GB, free: 1.453 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.149e-05/0.9055, allocations: 3.938 kB / 1.17 GB, free: 1.449 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.9055, allocations: 3.984 kB / 1.17 GB, free: 1.445 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002367/0.9058, allocations: 55.94 kB / 1.17 GB, free: 1.391 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004022/0.9062, allocations: 276.9 kB / 1.17 GB, free: 1.07 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002024/0.9064, allocations: 62.47 kB / 1.17 GB, free: 1 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001215/0.9065, allocations: 32.89 kB / 1.17 GB, free: 0.9648 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.656e-05/0.9066, allocations: 4 kB / 1.17 GB, free: 0.9609 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.038e-05/0.9066, allocations: 30.56 kB / 1.17 GB, free: 0.9219 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 1.203e-06/0.9066, allocations: 0 / 1.17 GB, free: 0.9219 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.0004534/0.9071, allocations: 109.5 kB / 1.17 GB, free: 0.8086 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.674e-05/0.9071, allocations: 59.53 kB / 1.17 GB, free: 0.7383 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.464e-05/0.9072, allocations: 101.8 kB / 1.17 GB, free: 0.6289 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.309e-05/0.9072, allocations: 33.7 kB / 1.17 GB, free: 0.5898 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 5.35e-05/0.9073, allocations: 84.08 kB / 1.17 GB, free: 0.5039 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.066e-05/0.9073, allocations: 3.906 kB / 1.17 GB, free: 0.5 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.368e-05/0.9074, allocations: 21.7 kB / 1.17 GB, free: 484 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001127/0.9075, allocations: 310.8 kB / 1.171 GB, free: 164 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001343/0.9076, allocations: 36.83 kB / 1.171 GB, free: 124 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001359/0.9078, allocations: 41.69 kB / 1.171 GB, free: 76 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002219/0.908, allocations: 60.89 kB / 1.171 GB, free: 12 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.908, allocations: 0 / 1.171 GB, free: 12 kB / 0.8887 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003165/0.9083, allocations: 101.4 kB / 1.171 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.9084, allocations: 8 kB / 1.171 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.9084, allocations: 0 / 1.171 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.9084, allocations: 0 / 1.171 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001156/0.9085, allocations: 16.02 kB / 1.171 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.9085, allocations: 0 / 1.171 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.854e-05/0.9086, allocations: 13.81 kB / 1.171 GB, free: 15.87 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.545e-06/0.9086, allocations: 7.938 kB / 1.171 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001209/0.9088, allocations: 100.1 kB / 1.171 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 8.064e-05/0.9088, allocations: 25.7 kB / 1.171 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001424/0.909, allocations: 36.92 kB / 1.171 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.414e-06/0.909, allocations: 0 / 1.171 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of matching and sorting (n=2) (initialization_lambda0): time 0.0001923/0.9092, allocations: 77.53 kB / 1.171 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 8.887e-06/0.9092, allocations: 8 kB / 1.171 GB, free: 15.6 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.9092, allocations: 3.984 kB / 1.171 GB, free: 15.6 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.374e-06/0.9092, allocations: 0 / 1.171 GB, free: 15.6 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.195e-05/0.9093, allocations: 12.02 kB / 1.171 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.723e-06/0.9093, allocations: 0 / 1.171 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.022e-05/0.9094, allocations: 11.98 kB / 1.171 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.475e-06/0.9094, allocations: 0 / 1.171 GB, free: 15.57 MB / 0.9044 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 9.069e-05/0.9095, allocations: 186.4 kB / 1.171 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.512e-05/0.9095, allocations: 0 / 1.171 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.032e-05/0.9095, allocations: 7.531 kB / 1.171 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.9095, allocations: 0 / 1.171 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.9096, allocations: 8 kB / 1.171 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-06/0.9096, allocations: 0 / 1.171 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001723/0.9097, allocations: 161.8 kB / 1.172 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.104e-05/0.9098, allocations: 0 / 1.172 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.804e-05/0.9099, allocations: 23.91 kB / 1.172 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.9099, allocations: 4 kB / 1.172 GB, free: 15.13 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.093e-06/0.9099, allocations: 3.938 kB / 1.172 GB, free: 15.13 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.9099, allocations: 0 / 1.172 GB, free: 15.13 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.9099, allocations: 0 / 1.172 GB, free: 15.13 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003059/0.9102, allocations: 187.3 kB / 1.172 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.266e-05/0.9103, allocations: 81.09 kB / 1.172 GB, free: 14.83 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.263e-05/0.9103, allocations: 0 / 1.172 GB, free: 14.83 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.572e-05/0.9104, allocations: 11.98 kB / 1.172 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.684e-05/0.9104, allocations: 0 / 1.172 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.621e-06/0.9104, allocations: 8.031 kB / 1.172 GB, free: 14.81 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.843e-05/0.9105, allocations: 87.27 kB / 1.172 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1e-07/0.9105, allocations: 0 / 1.172 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002795/0.9108, allocations: 4 kB / 1.172 GB, free: 14.72 MB / 0.9044 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.000159/0.9109, allocations: 99.25 kB / 1.172 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003711/0.9113, allocations: 83.86 kB / 1.172 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.9113, allocations: 4 kB / 1.172 GB, free: 14.53 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001158/0.9115, allocations: 27.97 kB / 1.172 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002899/0.9118, allocations: 11.92 kB / 1.172 GB, free: 14.49 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004503/0.9122, allocations: 165.4 kB / 1.172 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002571/0.9125, allocations: 0.6768 MB / 1.173 GB, free: 13.6 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.598e-05/0.9125, allocations: 15.38 kB / 1.173 GB, free: 13.58 MB / 0.9044 GB Notification: Performance of SimCode: time 2.11e-07/0.9125, allocations: 0 / 1.173 GB, free: 13.58 MB / 0.9044 GB Notification: Performance of Templates: time 0.001954/0.9145, allocations: 0.6263 MB / 1.174 GB, free: 12.96 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Limiter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches