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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001212/0.001212, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001298/0.001298, allocations: 200 kB / 16.79 MB, free: 6.809 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.529/1.529, allocations: 222.9 MB / 240.5 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.626/2.626, allocations: 437 MB / 0.7106 GB, free: 5.367 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001491/0.001492, allocations: 67.91 kB / 0.8692 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6562/0.6577, allocations: 151.6 MB / 1.017 GB, free: 2.805 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Limiter): time 0.002124/0.6598, allocations: 0.7452 MB / 1.018 GB, free: 2.062 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001019/0.6609, allocations: 0.8312 MB / 1.019 GB, free: 1.219 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.42e-05/0.6609, allocations: 0 / 1.019 GB, free: 1.219 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.86e-05/0.661, allocations: 3.938 kB / 1.019 GB, free: 1.215 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.44e-05/0.6611, allocations: 4 kB / 1.019 GB, free: 1.211 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001639/0.6613, allocations: 19.98 kB / 1.019 GB, free: 1.191 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 7.123e-05/0.6613, allocations: 27.92 kB / 1.019 GB, free: 1.164 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001019/0.6614, allocations: 4 kB / 1.019 GB, free: 1.16 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 7.125e-05/0.6615, allocations: 15.92 kB / 1.019 GB, free: 1.145 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.034e-05/0.6616, allocations: 19.91 kB / 1.019 GB, free: 1.125 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.969e-05/0.6616, allocations: 4 kB / 1.019 GB, free: 1.121 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.313e-05/0.6616, allocations: 4 kB / 1.019 GB, free: 1.117 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.82e-05/0.6616, allocations: 4 kB / 1.019 GB, free: 1.113 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.402e-05/0.6617, allocations: 11.92 kB / 1.019 GB, free: 1.102 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 7.56e-05/0.6618, allocations: 27.89 kB / 1.019 GB, free: 1.074 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.6618, allocations: 0 / 1.019 GB, free: 1.074 MB / 0.7637 GB Notification: Performance of FrontEnd: time 7.82e-07/0.6618, allocations: 0 / 1.019 GB, free: 1.074 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.6618, allocations: 0 / 1.019 GB, free: 1.074 MB / 0.7637 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.0005476/0.6623, allocations: 361.4 kB / 1.019 GB, free: 0.6719 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.6624, allocations: 8.031 kB / 1.019 GB, free: 0.6641 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.938e-05/0.6624, allocations: 4.938 kB / 1.019 GB, free: 0.6602 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001399/0.6626, allocations: 168.3 kB / 1.019 GB, free: 468 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.283e-05/0.6626, allocations: 4.375 kB / 1.019 GB, free: 464 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.021e-05/0.6626, allocations: 384 / 1.019 GB, free: 464 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002235/0.6628, allocations: 62.2 kB / 1.02 GB, free: 396 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.116e-06/0.6629, allocations: 4.188 kB / 1.02 GB, free: 392 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.197e-05/0.6629, allocations: 7.938 kB / 1.02 GB, free: 384 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.6629, allocations: 0 / 1.02 GB, free: 384 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002581/0.6631, allocations: 59.88 kB / 1.02 GB, free: 324 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004099/0.6636, allocations: 268.8 kB / 1.02 GB, free: 4 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002119/0.6638, allocations: 66.41 kB / 1.02 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001193/0.6639, allocations: 32.89 kB / 1.02 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.09e-05/0.6639, allocations: 3.984 kB / 1.02 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.189e-05/0.664, allocations: 34.55 kB / 1.02 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.664, allocations: 4 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0004622/0.6645, allocations: 117.5 kB / 1.02 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.27e-05/0.6645, allocations: 51.41 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.476e-05/0.6646, allocations: 105.8 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.749e-05/0.6646, allocations: 25.83 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.87e-05/0.6647, allocations: 84.14 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.179e-05/0.6647, allocations: 11.91 kB / 1.02 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.603e-05/0.6647, allocations: 9.719 kB / 1.02 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001201/0.6649, allocations: 318.8 kB / 1.021 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001283/0.665, allocations: 32.83 kB / 1.021 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001283/0.6651, allocations: 45.69 kB / 1.021 GB, free: 15 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002165/0.6654, allocations: 60.73 kB / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.6654, allocations: 0 / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000277/0.6657, allocations: 93.67 kB / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.6657, allocations: 5.406 kB / 1.021 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.6657, allocations: 0 / 1.021 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.6657, allocations: 0 / 1.021 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001137/0.6658, allocations: 19.97 kB / 1.021 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.6658, allocations: 0 / 1.021 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.06e-05/0.6659, allocations: 11.98 kB / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.735e-06/0.6659, allocations: 4.281 kB / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001129/0.666, allocations: 96.12 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 8.891e-05/0.6661, allocations: 33.69 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001316/0.6663, allocations: 44.77 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.112e-06/0.6663, allocations: 4.094 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization_lambda0): time 0.0001804/0.6665, allocations: 73.5 kB / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 7.935e-06/0.6665, allocations: 4 kB / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.253e-06/0.6665, allocations: 0 / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.875e-06/0.6665, allocations: 0 / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.404e-05/0.6666, allocations: 11.98 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.126e-06/0.6666, allocations: 0 / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.674e-05/0.6666, allocations: 11.92 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.148e-06/0.6666, allocations: 8.031 kB / 1.021 GB, free: 14.5 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 9.251e-05/0.6667, allocations: 180.2 kB / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.416e-05/0.6668, allocations: 0 / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.321e-05/0.6668, allocations: 11.53 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.6668, allocations: 0 / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.6668, allocations: 0 / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.6668, allocations: 3.938 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001705/0.667, allocations: 165.6 kB / 1.022 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.667, allocations: 3.938 kB / 1.022 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.019e-05/0.6671, allocations: 15.98 kB / 1.022 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.6671, allocations: 0 / 1.022 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.6671, allocations: 0 / 1.022 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.45e-06/0.6672, allocations: 3.984 kB / 1.022 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.6672, allocations: 0 / 1.022 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003071/0.6675, allocations: 183.4 kB / 1.022 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.512e-05/0.6675, allocations: 81.02 kB / 1.022 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.599e-05/0.6675, allocations: 8 kB / 1.022 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.841e-05/0.6676, allocations: 7.984 kB / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.646e-05/0.6677, allocations: 7.984 kB / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.018e-06/0.6677, allocations: 0 / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.151e-05/0.6677, allocations: 79.28 kB / 1.022 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6677, allocations: 0 / 1.022 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002593/0.668, allocations: 16.03 kB / 1.022 GB, free: 13.65 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.000157/0.6682, allocations: 107.2 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003541/0.6685, allocations: 75.92 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.6685, allocations: 0 / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001186/0.6687, allocations: 32.09 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000263/0.6689, allocations: 7.938 kB / 1.022 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003916/0.6693, allocations: 168.8 kB / 1.022 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000256/0.6696, allocations: 0.681 MB / 1.023 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.659e-05/0.6697, allocations: 11.44 kB / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of SimCode: time 2.91e-07/0.6697, allocations: 0 / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of Templates: time 0.002021/0.6717, allocations: 0.6176 MB / 1.024 GB, free: 11.89 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/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