Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Continuous.Validation.Limiter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limiter1.u|limiter1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limiter1.u|limiter1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001521/0.001521, allocations: 104.7 kB / 15.98 MB, free: 6.344 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.001903/0.001903, allocations: 198 kB / 16.91 MB, free: 6.184 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.419/1.419, allocations: 222.9 MB / 240.6 MB, free: 15.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.232/2.232, allocations: 390.2 MB / 0.665 GB, free: 0.9414 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001492/0.001492, allocations: 72.94 kB / 0.8127 GB, free: 33.25 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2652/0.2668, allocations: 140.4 MB / 0.9498 GB, free: 9.238 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter): time 0.002112/0.2689, allocations: 0.7261 MB / 0.9505 GB, free: 8.508 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001059/0.27, allocations: 0.841 MB / 0.9513 GB, free: 7.656 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.5e-05/0.2701, allocations: 3.938 kB / 0.9513 GB, free: 7.652 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.322e-05/0.2701, allocations: 0 / 0.9513 GB, free: 7.652 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.652e-05/0.2702, allocations: 4 kB / 0.9513 GB, free: 7.648 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001749/0.2704, allocations: 15.91 kB / 0.9513 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 7.972e-05/0.2705, allocations: 31.98 kB / 0.9514 GB, free: 7.602 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001119/0.2706, allocations: 4 kB / 0.9514 GB, free: 7.598 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 6.945e-05/0.2707, allocations: 23.86 kB / 0.9514 GB, free: 7.574 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.697e-05/0.2707, allocations: 11.98 kB / 0.9514 GB, free: 7.562 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.044e-05/0.2707, allocations: 7.938 kB / 0.9514 GB, free: 7.555 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.028e-05/0.2708, allocations: 0 / 0.9514 GB, free: 7.555 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.996e-05/0.2708, allocations: 11.98 kB / 0.9514 GB, free: 7.543 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.498e-05/0.2708, allocations: 11.92 kB / 0.9514 GB, free: 7.531 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 7.609e-05/0.2709, allocations: 27.97 kB / 0.9515 GB, free: 7.504 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.2709, allocations: 0 / 0.9515 GB, free: 7.504 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.747e-06/0.2709, allocations: 3.984 kB / 0.9515 GB, free: 7.5 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.432e-06/0.2709, allocations: 3.938 kB / 0.9515 GB, free: 7.496 MB / 0.7325 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.0005466/0.2715, allocations: 355.7 kB / 0.9518 GB, free: 7.098 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/0.2715, allocations: 8.031 kB / 0.9518 GB, free: 7.09 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.965e-05/0.2716, allocations: 4.844 kB / 0.9518 GB, free: 7.086 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001255/0.2717, allocations: 164.4 kB / 0.952 GB, free: 6.887 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.168e-05/0.2718, allocations: 384 / 0.952 GB, free: 6.887 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.799e-05/0.2718, allocations: 4.375 kB / 0.952 GB, free: 6.883 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002323/0.272, allocations: 66.2 kB / 0.9521 GB, free: 6.812 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.206e-06/0.272, allocations: 192 / 0.9521 GB, free: 6.812 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.359e-05/0.2721, allocations: 3.938 kB / 0.9521 GB, free: 6.809 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.2721, allocations: 0 / 0.9521 GB, free: 6.809 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002318/0.2723, allocations: 59.88 kB / 0.9521 GB, free: 6.75 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000428/0.2727, allocations: 265 kB / 0.9524 GB, free: 6.441 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000201/0.273, allocations: 62.47 kB / 0.9524 GB, free: 6.371 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001206/0.2731, allocations: 36.88 kB / 0.9525 GB, free: 6.332 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.219e-05/0.2731, allocations: 0 / 0.9525 GB, free: 6.332 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.316e-05/0.2731, allocations: 38.5 kB / 0.9525 GB, free: 6.285 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 2.324e-06/0.2731, allocations: 0 / 0.9525 GB, free: 6.285 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0004775/0.2736, allocations: 121.4 kB / 0.9526 GB, free: 6.16 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.608e-05/0.2737, allocations: 55.41 kB / 0.9527 GB, free: 6.094 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.567e-05/0.2738, allocations: 106 kB / 0.9528 GB, free: 5.98 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.557e-05/0.2738, allocations: 29.7 kB / 0.9528 GB, free: 5.945 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.869e-05/0.2738, allocations: 84.12 kB / 0.9529 GB, free: 5.859 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.11e-05/0.2739, allocations: 7.906 kB / 0.9529 GB, free: 5.852 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.954e-05/0.2739, allocations: 13.72 kB / 0.9529 GB, free: 5.832 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.714e-05/0.274, allocations: 310.8 kB / 0.9532 GB, free: 5.52 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000125/0.2741, allocations: 36.83 kB / 0.9532 GB, free: 5.48 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001394/0.2743, allocations: 49.67 kB / 0.9533 GB, free: 5.426 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002172/0.2745, allocations: 56.73 kB / 0.9533 GB, free: 5.367 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.2745, allocations: 4.094 kB / 0.9533 GB, free: 5.363 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002684/0.2748, allocations: 93.58 kB / 0.9534 GB, free: 5.266 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.2748, allocations: 4 kB / 0.9534 GB, free: 5.262 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.2748, allocations: 0 / 0.9534 GB, free: 5.262 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.2749, allocations: 0 / 0.9534 GB, free: 5.262 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001144/0.275, allocations: 11.98 kB / 0.9534 GB, free: 5.25 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.573e-06/0.275, allocations: 0 / 0.9534 GB, free: 5.25 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.695e-05/0.2751, allocations: 20 kB / 0.9535 GB, free: 5.23 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.888e-06/0.2751, allocations: 4 kB / 0.9535 GB, free: 5.227 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00012/0.2752, allocations: 99.62 kB / 0.9536 GB, free: 5.129 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 8.218e-05/0.2753, allocations: 33.64 kB / 0.9536 GB, free: 5.09 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001319/0.2754, allocations: 40.91 kB / 0.9536 GB, free: 5.047 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.32e-07/0.2755, allocations: 4 kB / 0.9536 GB, free: 5.043 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2) (initialization_lambda0): time 0.0001805/0.2756, allocations: 69.45 kB / 0.9537 GB, free: 4.969 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.118e-05/0.2757, allocations: 8 kB / 0.9537 GB, free: 4.961 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.875e-06/0.2757, allocations: 3.984 kB / 0.9537 GB, free: 4.957 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.274e-06/0.2757, allocations: 0 / 0.9537 GB, free: 4.957 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.932e-05/0.2757, allocations: 4 kB / 0.9537 GB, free: 4.953 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.913e-06/0.2757, allocations: 0 / 0.9537 GB, free: 4.953 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.944e-05/0.2758, allocations: 19.95 kB / 0.9537 GB, free: 4.934 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.605e-06/0.2758, allocations: 0 / 0.9537 GB, free: 4.934 MB / 0.7325 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.457e-05/0.2759, allocations: 188.1 kB / 0.9539 GB, free: 4.742 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.546e-05/0.2759, allocations: 3.984 kB / 0.9539 GB, free: 4.738 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.749e-05/0.276, allocations: 7.531 kB / 0.9539 GB, free: 4.727 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.276, allocations: 0 / 0.9539 GB, free: 4.727 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.276, allocations: 7.938 kB / 0.9539 GB, free: 4.719 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.276, allocations: 0 / 0.9539 GB, free: 4.719 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001577/0.2762, allocations: 169.6 kB / 0.9541 GB, free: 4.504 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.2762, allocations: 0 / 0.9541 GB, free: 4.504 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.048e-05/0.2763, allocations: 11.98 kB / 0.9541 GB, free: 4.492 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.2763, allocations: 4 kB / 0.9541 GB, free: 4.488 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.075e-06/0.2763, allocations: 256 / 0.9541 GB, free: 4.488 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.2763, allocations: 0 / 0.9541 GB, free: 4.488 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/0.2763, allocations: 4 kB / 0.9541 GB, free: 4.484 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003003/0.2766, allocations: 187.4 kB / 0.9543 GB, free: 4.285 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.6e-05/0.2767, allocations: 81.02 kB / 0.9544 GB, free: 4.188 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.525e-05/0.2767, allocations: 4 kB / 0.9544 GB, free: 4.184 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.22e-05/0.2768, allocations: 11.98 kB / 0.9544 GB, free: 4.172 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.846e-05/0.2768, allocations: 3.938 kB / 0.9544 GB, free: 4.168 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.771e-06/0.2768, allocations: 3.984 kB / 0.9544 GB, free: 4.164 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.126e-05/0.2769, allocations: 91.31 kB / 0.9545 GB, free: 4.074 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.51e-07/0.2769, allocations: 0 / 0.9545 GB, free: 4.074 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002707/0.2772, allocations: 4 kB / 0.9545 GB, free: 4.07 MB / 0.7325 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.0001719/0.2773, allocations: 99.25 kB / 0.9546 GB, free: 3.965 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003667/0.2777, allocations: 87.97 kB / 0.9547 GB, free: 3.879 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2777, allocations: 0 / 0.9547 GB, free: 3.879 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001192/0.2779, allocations: 31.91 kB / 0.9547 GB, free: 3.848 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003196/0.2782, allocations: 9.484 kB / 0.9547 GB, free: 3.84 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004024/0.2786, allocations: 159.4 kB / 0.9549 GB, free: 3.652 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002367/0.2788, allocations: 0.6805 MB / 0.9555 GB, free: 2.945 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.656e-05/0.2789, allocations: 11.44 kB / 0.9555 GB, free: 2.934 MB / 0.7325 GB Notification: Performance of SimCode: time 2.2e-07/0.2789, allocations: 0 / 0.9555 GB, free: 2.934 MB / 0.7325 GB Notification: Performance of Templates: time 0.002033/0.2809, allocations: 0.6279 MB / 0.9561 GB, free: 2.312 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Limiter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches