Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.007356/0.007363, allocations: 102.6 kB / 15.73 MB, free: 6.062 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.001314/0.001314, allocations: 193.8 kB / 16.67 MB, free: 5.973 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.474/1.474, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.736/2.736, allocations: 461.9 MB / 0.7348 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001229, allocations: 72.06 kB / 1.054 GB, free: 7.652 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.111/1.112, allocations: 157.4 MB / 1.208 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Limiter): time 0.001976/1.114, allocations: 0.6686 MB / 1.208 GB, free: 12.95 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001077/1.116, allocations: 0.8351 MB / 1.209 GB, free: 12.1 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.207e-05/1.116, allocations: 0 / 1.209 GB, free: 12.1 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.301e-05/1.116, allocations: 3.938 kB / 1.209 GB, free: 12.1 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.027e-05/1.116, allocations: 7.938 kB / 1.209 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.000174/1.116, allocations: 15.97 kB / 1.209 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 9.088e-05/1.116, allocations: 35.91 kB / 1.209 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001161/1.116, allocations: 12 kB / 1.209 GB, free: 12.03 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 7.024e-05/1.116, allocations: 15.92 kB / 1.209 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.321e-05/1.116, allocations: 11.98 kB / 1.209 GB, free: 12 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.064e-05/1.116, allocations: 7.938 kB / 1.209 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.107e-05/1.116, allocations: 0 / 1.209 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.021e-05/1.116, allocations: 11.98 kB / 1.209 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.106e-05/1.116, allocations: 11.92 kB / 1.209 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 9.548e-05/1.116, allocations: 35.89 kB / 1.209 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/1.117, allocations: 0 / 1.209 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.984e-06/1.117, allocations: 4 kB / 1.209 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.002e-06/1.117, allocations: 0 / 1.209 GB, free: 11.93 MB / 0.9356 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.0006632/1.117, allocations: 351.2 kB / 1.21 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/1.117, allocations: 11.97 kB / 1.21 GB, free: 11.53 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.559e-05/1.117, allocations: 8.875 kB / 1.21 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001476/1.117, allocations: 168.3 kB / 1.21 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.161e-05/1.117, allocations: 8.375 kB / 1.21 GB, free: 11.31 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.348e-05/1.117, allocations: 384 / 1.21 GB, free: 11.31 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002317/1.118, allocations: 66.22 kB / 1.21 GB, free: 11.24 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/1.118, allocations: 7.938 kB / 1.21 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/1.118, allocations: 0 / 1.21 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/1.118, allocations: 0 / 1.21 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002404/1.118, allocations: 51.94 kB / 1.21 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004332/1.118, allocations: 268.9 kB / 1.21 GB, free: 10.87 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002017/1.119, allocations: 62.47 kB / 1.21 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001268/1.119, allocations: 32.89 kB / 1.21 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.873e-05/1.119, allocations: 4 kB / 1.21 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.557e-05/1.119, allocations: 34.55 kB / 1.21 GB, free: 10.72 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/1.119, allocations: 0 / 1.21 GB, free: 10.72 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0004676/1.119, allocations: 113.5 kB / 1.211 GB, free: 10.6 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.719e-05/1.119, allocations: 55.53 kB / 1.211 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.657e-05/1.119, allocations: 105.8 kB / 1.211 GB, free: 10.42 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.801e-05/1.119, allocations: 25.7 kB / 1.211 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.049e-05/1.12, allocations: 88.12 kB / 1.211 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.895e-05/1.12, allocations: 7.906 kB / 1.211 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.155e-05/1.12, allocations: 13.66 kB / 1.211 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001324/1.12, allocations: 322.8 kB / 1.211 GB, free: 9.949 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001296/1.12, allocations: 36.83 kB / 1.211 GB, free: 9.91 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001322/1.12, allocations: 37.69 kB / 1.211 GB, free: 9.867 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002392/1.12, allocations: 64.89 kB / 1.211 GB, free: 9.801 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/1.12, allocations: 3.938 kB / 1.211 GB, free: 9.797 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002773/1.121, allocations: 89.48 kB / 1.211 GB, free: 9.703 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.301e-05/1.121, allocations: 4 kB / 1.211 GB, free: 9.699 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/1.121, allocations: 0 / 1.211 GB, free: 9.699 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.073e-05/1.121, allocations: 0 / 1.211 GB, free: 9.699 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001103/1.121, allocations: 24 kB / 1.211 GB, free: 9.676 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/1.121, allocations: 0 / 1.211 GB, free: 9.676 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.2e-05/1.121, allocations: 13.81 kB / 1.211 GB, free: 9.664 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.975e-06/1.121, allocations: 4 kB / 1.211 GB, free: 9.66 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001148/1.121, allocations: 92.12 kB / 1.211 GB, free: 9.566 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 8.195e-05/1.121, allocations: 33.69 kB / 1.212 GB, free: 9.527 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001384/1.121, allocations: 40.92 kB / 1.212 GB, free: 9.484 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.434e-06/1.121, allocations: 0 / 1.212 GB, free: 9.484 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2) (initialization_lambda0): time 0.000181/1.121, allocations: 73.53 kB / 1.212 GB, free: 9.406 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 7.354e-06/1.121, allocations: 4 kB / 1.212 GB, free: 9.402 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-06/1.121, allocations: 0 / 1.212 GB, free: 9.402 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-06/1.121, allocations: 3.938 kB / 1.212 GB, free: 9.398 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.047e-05/1.121, allocations: 16.02 kB / 1.212 GB, free: 9.383 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.122e-06/1.121, allocations: 0 / 1.212 GB, free: 9.383 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.82e-05/1.122, allocations: 11.98 kB / 1.212 GB, free: 9.371 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.555e-06/1.122, allocations: 4 kB / 1.212 GB, free: 9.367 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 (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.664e-05/1.122, allocations: 180.2 kB / 1.212 GB, free: 9.184 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.221e-05/1.122, allocations: 0 / 1.212 GB, free: 9.184 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.191e-05/1.122, allocations: 7.531 kB / 1.212 GB, free: 9.168 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/1.122, allocations: 256 / 1.212 GB, free: 9.168 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/1.122, allocations: 4 kB / 1.212 GB, free: 9.164 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/1.122, allocations: 4 kB / 1.212 GB, free: 9.16 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001665/1.122, allocations: 169.6 kB / 1.212 GB, free: 8.945 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/1.122, allocations: 0 / 1.212 GB, free: 8.945 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.422e-05/1.122, allocations: 11.98 kB / 1.212 GB, free: 8.934 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.866e-06/1.122, allocations: 3.984 kB / 1.212 GB, free: 8.93 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.107e-06/1.122, allocations: 11.86 kB / 1.212 GB, free: 8.918 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.051e-06/1.122, allocations: 0 / 1.212 GB, free: 8.918 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/1.122, allocations: 0 / 1.212 GB, free: 8.918 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003183/1.122, allocations: 187.3 kB / 1.212 GB, free: 8.719 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.997e-05/1.122, allocations: 81.11 kB / 1.212 GB, free: 8.621 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.189e-05/1.122, allocations: 0 / 1.212 GB, free: 8.621 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.705e-05/1.123, allocations: 7.984 kB / 1.212 GB, free: 8.613 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.063e-05/1.123, allocations: 7.984 kB / 1.212 GB, free: 8.605 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.238e-06/1.123, allocations: 4.031 kB / 1.212 GB, free: 8.602 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.263e-05/1.123, allocations: 83.28 kB / 1.212 GB, free: 8.52 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/1.123, allocations: 0 / 1.212 GB, free: 8.52 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002559/1.123, allocations: 8 kB / 1.212 GB, free: 8.512 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 (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.0001715/1.123, allocations: 99.23 kB / 1.213 GB, free: 8.406 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003801/1.123, allocations: 87.86 kB / 1.213 GB, free: 8.32 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/1.123, allocations: 0 / 1.213 GB, free: 8.32 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001203/1.124, allocations: 23.97 kB / 1.213 GB, free: 8.297 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002782/1.124, allocations: 14.12 kB / 1.213 GB, free: 8.285 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004313/1.124, allocations: 148.3 kB / 1.213 GB, free: 8.117 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003745/1.125, allocations: 0.6768 MB / 1.213 GB, free: 7.414 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.122e-05/1.125, allocations: 7.938 kB / 1.213 GB, free: 7.406 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.591e-05/1.125, allocations: 7.438 kB / 1.213 GB, free: 7.398 MB / 0.9356 GB Notification: Performance of SimCode: time 2.2e-07/1.125, allocations: 0 / 1.213 GB, free: 7.398 MB / 0.9356 GB Notification: Performance of Templates: time 0.002978/1.128, allocations: 0.6218 MB / 1.214 GB, free: 6.785 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Limiter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches