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.008797/0.008797, allocations: 100.2 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.002433/0.002433, allocations: 189.1 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.475/1.475, 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 10.1.1-maint.10.0.x/package.mo): time 2.506/2.506, allocations: 437 MB / 0.7105 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001461/0.001461, allocations: 67.91 kB / 1.019 GB, free: 9.32 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.11/1.111, allocations: 151.6 MB / 1.167 GB, free: 3.949 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Limiter): time 0.002471/1.114, allocations: 0.6711 MB / 1.167 GB, free: 3.285 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.00122/1.115, allocations: 0.8375 MB / 1.168 GB, free: 2.438 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.551e-05/1.115, allocations: 0 / 1.168 GB, free: 2.438 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.459e-05/1.115, allocations: 4 kB / 1.168 GB, free: 2.434 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 6.885e-05/1.115, allocations: 7.922 kB / 1.168 GB, free: 2.426 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.00019/1.116, allocations: 15.92 kB / 1.168 GB, free: 2.41 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 9.194e-05/1.116, allocations: 35.92 kB / 1.168 GB, free: 2.375 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001168/1.116, allocations: 3.984 kB / 1.168 GB, free: 2.371 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 7.723e-05/1.116, allocations: 15.94 kB / 1.168 GB, free: 2.355 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 5.735e-05/1.116, allocations: 23.91 kB / 1.168 GB, free: 2.332 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.118e-05/1.116, allocations: 4 kB / 1.168 GB, free: 2.328 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.21e-05/1.116, allocations: 0 / 1.168 GB, free: 2.328 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.223e-05/1.116, allocations: 11.98 kB / 1.168 GB, free: 2.316 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.416e-05/1.116, allocations: 11.94 kB / 1.168 GB, free: 2.305 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001173/1.116, allocations: 31.88 kB / 1.168 GB, free: 2.273 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/1.116, allocations: 0 / 1.168 GB, free: 2.273 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.673e-06/1.116, allocations: 0 / 1.168 GB, free: 2.273 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.234e-06/1.116, allocations: 0 / 1.168 GB, free: 2.273 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.0005979/1.117, allocations: 364.3 kB / 1.169 GB, free: 1.867 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/1.117, allocations: 8.922 kB / 1.169 GB, free: 1.859 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.138e-05/1.117, allocations: 8.938 kB / 1.169 GB, free: 1.852 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001292/1.117, allocations: 160.4 kB / 1.169 GB, free: 1.656 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.667e-05/1.117, allocations: 4.359 kB / 1.169 GB, free: 1.652 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.437e-05/1.117, allocations: 8.312 kB / 1.169 GB, free: 1.645 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002434/1.117, allocations: 62.2 kB / 1.169 GB, free: 1.578 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/1.117, allocations: 192 / 1.169 GB, free: 1.578 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.407e-05/1.117, allocations: 11.94 kB / 1.169 GB, free: 1.566 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/1.117, allocations: 0 / 1.169 GB, free: 1.566 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000242/1.118, allocations: 55.94 kB / 1.169 GB, free: 1.512 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004357/1.118, allocations: 272.9 kB / 1.169 GB, free: 1.195 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002046/1.118, allocations: 66.41 kB / 1.169 GB, free: 1.121 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001387/1.118, allocations: 32.89 kB / 1.169 GB, free: 1.086 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.393e-05/1.118, allocations: 0 / 1.169 GB, free: 1.086 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.418e-05/1.119, allocations: 30.56 kB / 1.169 GB, free: 1.047 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 7.52e-07/1.119, allocations: 0 / 1.169 GB, free: 1.047 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.0004909/1.119, allocations: 125.5 kB / 1.169 GB, free: 0.918 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.629e-05/1.119, allocations: 55.34 kB / 1.17 GB, free: 0.8516 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.45e-05/1.119, allocations: 105.8 kB / 1.17 GB, free: 0.7383 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.389e-05/1.119, allocations: 25.7 kB / 1.17 GB, free: 0.707 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 5.432e-05/1.119, allocations: 84.12 kB / 1.17 GB, free: 0.6211 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.999e-05/1.119, allocations: 7.953 kB / 1.17 GB, free: 0.6133 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.966e-05/1.119, allocations: 17.84 kB / 1.17 GB, free: 0.5898 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001115/1.119, allocations: 310.8 kB / 1.17 GB, free: 284 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000126/1.12, allocations: 36.81 kB / 1.17 GB, free: 244 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000124/1.12, allocations: 41.69 kB / 1.17 GB, free: 196 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002262/1.12, allocations: 64.89 kB / 1.17 GB, free: 128 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/1.12, allocations: 0 / 1.17 GB, free: 128 kB / 0.8887 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002652/1.12, allocations: 93.52 kB / 1.17 GB, free: 28 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/1.12, allocations: 8.031 kB / 1.17 GB, free: 20 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.668e-06/1.12, allocations: 0 / 1.17 GB, free: 20 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/1.12, allocations: 0 / 1.17 GB, free: 20 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001144/1.12, allocations: 11.98 kB / 1.17 GB, free: 8 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.224e-06/1.12, allocations: 4 kB / 1.17 GB, free: 4 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.131e-05/1.12, allocations: 15.98 kB / 1.17 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.394e-06/1.121, allocations: 4 kB / 1.17 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001139/1.121, allocations: 96.06 kB / 1.17 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 7.928e-05/1.121, allocations: 33.7 kB / 1.17 GB, free: 15.85 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001326/1.121, allocations: 40.81 kB / 1.17 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.182e-06/1.121, allocations: 0 / 1.17 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of matching and sorting (n=2) (initialization_lambda0): time 0.0001859/1.121, allocations: 69.67 kB / 1.171 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.218e-05/1.121, allocations: 11.98 kB / 1.171 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/1.121, allocations: 3.984 kB / 1.171 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.378e-06/1.121, allocations: 0 / 1.171 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.915e-05/1.121, allocations: 8 kB / 1.171 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.803e-06/1.121, allocations: 0 / 1.171 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.544e-05/1.121, allocations: 7.984 kB / 1.171 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.268e-05/1.121, allocations: 4 kB / 1.171 GB, free: 15.7 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.606e-05/1.121, allocations: 188.2 kB / 1.171 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.32e-05/1.121, allocations: 0 / 1.171 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.342e-05/1.121, allocations: 11.53 kB / 1.171 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.724e-06/1.121, allocations: 0 / 1.171 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/1.121, allocations: 0 / 1.171 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/1.121, allocations: 3.938 kB / 1.171 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001751/1.122, allocations: 161.8 kB / 1.171 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/1.122, allocations: 8 kB / 1.171 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.34e-05/1.122, allocations: 11.98 kB / 1.171 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/1.122, allocations: 0 / 1.171 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.506e-06/1.122, allocations: 7.938 kB / 1.171 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/1.122, allocations: 0 / 1.171 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/1.122, allocations: 0 / 1.171 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003237/1.122, allocations: 191.3 kB / 1.171 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.97e-05/1.122, allocations: 81.05 kB / 1.171 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.665e-05/1.122, allocations: 8.031 kB / 1.171 GB, free: 14.94 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.98e-05/1.122, allocations: 11.98 kB / 1.171 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.587e-05/1.122, allocations: 3.984 kB / 1.171 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.331e-06/1.122, allocations: 7.984 kB / 1.171 GB, free: 14.92 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.573e-05/1.122, allocations: 79.28 kB / 1.171 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.21e-07/1.122, allocations: 0 / 1.171 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002876/1.123, allocations: 12 kB / 1.171 GB, free: 14.83 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.0001466/1.123, allocations: 99.25 kB / 1.171 GB, free: 14.72 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003797/1.123, allocations: 83.84 kB / 1.171 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/1.123, allocations: 0 / 1.171 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001187/1.123, allocations: 27.97 kB / 1.172 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002922/1.124, allocations: 12.12 kB / 1.172 GB, free: 14.6 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003831/1.124, allocations: 129.4 kB / 1.172 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002563/1.124, allocations: 0.6768 MB / 1.172 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 3.384e-05/1.124, allocations: 4 kB / 1.172 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.145e-05/1.124, allocations: 7.438 kB / 1.172 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of SimCode: time 2.3e-07/1.124, allocations: 0 / 1.172 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of Templates: time 0.002973/1.127, allocations: 0.5966 MB / 1.173 GB, free: 13.14 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/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