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.0009938/0.0009939, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.008612/0.008612, allocations: 169 kB / 16.26 MB, free: 6.66 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.471/1.471, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.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.718/2.718, allocations: 437.8 MB / 0.7121 GB, free: 6.984 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004248/0.0004247, allocations: 12 kB / 0.8728 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6733/0.6737, allocations: 153.8 MB / 1.023 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Limiter): time 0.0009545/0.6747, allocations: 418.1 kB / 1.023 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0009817/0.6758, allocations: 0.8234 MB / 1.024 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.202e-05/0.6758, allocations: 0 / 1.024 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.502e-05/0.6758, allocations: 0 / 1.024 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.148e-05/0.6759, allocations: 3.938 kB / 1.024 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001464/0.6761, allocations: 15.98 kB / 1.024 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 7.143e-05/0.6761, allocations: 35.91 kB / 1.024 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 8.378e-05/0.6762, allocations: 8 kB / 1.024 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 6.482e-05/0.6763, allocations: 11.94 kB / 1.024 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 4.488e-05/0.6764, allocations: 15.92 kB / 1.024 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.66e-05/0.6764, allocations: 4 kB / 1.024 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.037e-05/0.6764, allocations: 0 / 1.024 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.703e-05/0.6764, allocations: 7.969 kB / 1.024 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.989e-05/0.6765, allocations: 37.64 kB / 1.024 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 6.941e-05/0.6765, allocations: 27.88 kB / 1.024 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.6765, allocations: 4 kB / 1.024 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.383e-06/0.6766, allocations: 0 / 1.024 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.412e-06/0.6766, allocations: 4 kB / 1.024 GB, free: 14.45 MB / 0.7794 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.0004837/0.6771, allocations: 353.5 kB / 1.025 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.6771, allocations: 12.03 kB / 1.025 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.643e-05/0.6771, allocations: 8.844 kB / 1.025 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001124/0.6773, allocations: 180.2 kB / 1.025 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.431e-05/0.6773, allocations: 384 / 1.025 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.358e-05/0.6773, allocations: 4.312 kB / 1.025 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002301/0.6775, allocations: 70.22 kB / 1.025 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.133e-06/0.6776, allocations: 192 / 1.025 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.6776, allocations: 7.938 kB / 1.025 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/0.6776, allocations: 0 / 1.025 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002725/0.6779, allocations: 79.92 kB / 1.025 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003815/0.6783, allocations: 269 kB / 1.025 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000218/0.6785, allocations: 78.41 kB / 1.025 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000143/0.6786, allocations: 40.89 kB / 1.025 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.051e-05/0.6787, allocations: 4 kB / 1.025 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.203e-05/0.6787, allocations: 30.56 kB / 1.025 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.6787, allocations: 4 kB / 1.026 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0005107/0.6792, allocations: 149.4 kB / 1.026 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.556e-05/0.6793, allocations: 55.34 kB / 1.026 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.314e-05/0.6793, allocations: 114 kB / 1.026 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.553e-05/0.6794, allocations: 25.7 kB / 1.026 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.507e-05/0.6794, allocations: 84.14 kB / 1.026 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.924e-05/0.6794, allocations: 3.906 kB / 1.026 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.618e-05/0.6795, allocations: 13.72 kB / 1.026 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.746e-05/0.6796, allocations: 314.8 kB / 1.026 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001362/0.6797, allocations: 39.97 kB / 1.026 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001466/0.6799, allocations: 49.67 kB / 1.026 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002512/0.6801, allocations: 80.89 kB / 1.026 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.6801, allocations: 4 kB / 1.026 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002943/0.6804, allocations: 109.5 kB / 1.026 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 5.357e-05/0.6805, allocations: 97.03 kB / 1.027 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.6805, allocations: 0 / 1.027 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.106e-05/0.6805, allocations: 0 / 1.027 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001116/0.6806, allocations: 19.98 kB / 1.027 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/0.6807, allocations: 0 / 1.027 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.573e-05/0.6808, allocations: 23.97 kB / 1.027 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.364e-06/0.6808, allocations: 3.984 kB / 1.027 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.6808, allocations: 6.188 kB / 1.027 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001729/0.681, allocations: 51.91 kB / 1.027 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.924e-06/0.681, allocations: 0 / 1.027 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-06/0.681, allocations: 0 / 1.027 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.605e-05/0.681, allocations: 12.23 kB / 1.027 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.166e-06/0.681, allocations: 0 / 1.027 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.727e-05/0.6811, allocations: 19.92 kB / 1.027 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.825e-06/0.6811, allocations: 0 / 1.027 GB, free: 11.85 MB / 0.7794 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 8.912e-05/0.6812, allocations: 193.2 kB / 1.027 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.53e-05/0.6812, allocations: 3.938 kB / 1.027 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.629e-05/0.6813, allocations: 11.47 kB / 1.027 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.6813, allocations: 0 / 1.027 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.6813, allocations: 3.984 kB / 1.027 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.6813, allocations: 0 / 1.027 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001496/0.6815, allocations: 157.7 kB / 1.027 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.6815, allocations: 7.984 kB / 1.027 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.906e-05/0.6816, allocations: 23.92 kB / 1.027 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.6816, allocations: 3.938 kB / 1.027 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.112e-06/0.6816, allocations: 0 / 1.027 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.6816, allocations: 0 / 1.027 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.6816, allocations: 0 / 1.027 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003294/0.6819, allocations: 207.4 kB / 1.027 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.174e-05/0.682, allocations: 81.05 kB / 1.027 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.222e-05/0.682, allocations: 3.938 kB / 1.027 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.798e-05/0.6821, allocations: 20.02 kB / 1.027 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.58e-05/0.6821, allocations: 0 / 1.027 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.747e-06/0.6821, allocations: 0 / 1.027 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.954e-05/0.6822, allocations: 87.27 kB / 1.027 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6822, allocations: 0 / 1.027 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002614/0.6824, allocations: 8 kB / 1.027 GB, free: 10.96 MB / 0.7794 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.0001224/0.6826, allocations: 103.2 kB / 1.028 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004023/0.683, allocations: 104 kB / 1.028 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.683, allocations: 0 / 1.028 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001377/0.6831, allocations: 43.89 kB / 1.028 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002709/0.6834, allocations: 12.06 kB / 1.028 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000363/0.6838, allocations: 140.6 kB / 1.028 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002244/0.684, allocations: 0.6808 MB / 1.029 GB, free: 9.82 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.789e-05/0.6841, allocations: 8 kB / 1.029 GB, free: 9.812 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.813e-05/0.6841, allocations: 7.438 kB / 1.029 GB, free: 9.805 MB / 0.7794 GB Notification: Performance of SimCode: time 2.7e-07/0.6841, allocations: 0 / 1.029 GB, free: 9.805 MB / 0.7794 GB Notification: Performance of Templates: time 0.002465/0.6866, allocations: 0.5034 MB / 1.029 GB, free: 9.305 MB / 0.7794 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/jenkins/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