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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001727/0.001727, allocations: 104.2 kB / 16.35 MB, free: 6.289 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.002036/0.002036, allocations: 192.7 kB / 17.29 MB, free: 5.863 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.409/1.409, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.46/2.46, allocations: 390.3 MB / 0.6655 GB, free: 0.5508 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001955/0.001955, allocations: 73.58 kB / 0.814 GB, free: 32.73 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3301/0.3321, allocations: 140.4 MB / 0.9511 GB, free: 8.023 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter): time 0.00234/0.3345, allocations: 0.6608 MB / 0.9518 GB, free: 7.363 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001082/0.3356, allocations: 0.8527 MB / 0.9526 GB, free: 6.5 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.059e-05/0.3357, allocations: 0 / 0.9526 GB, free: 6.5 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.777e-05/0.3357, allocations: 0 / 0.9526 GB, free: 6.5 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.373e-05/0.3358, allocations: 7.875 kB / 0.9526 GB, free: 6.492 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001809/0.336, allocations: 15.92 kB / 0.9526 GB, free: 6.477 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 8.791e-05/0.3361, allocations: 31.92 kB / 0.9527 GB, free: 6.445 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001235/0.3362, allocations: 8 kB / 0.9527 GB, free: 6.438 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 8.017e-05/0.3363, allocations: 19.91 kB / 0.9527 GB, free: 6.418 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 4.871e-05/0.3364, allocations: 19.98 kB / 0.9527 GB, free: 6.398 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.694e-05/0.3364, allocations: 3.938 kB / 0.9527 GB, free: 6.395 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.195e-05/0.3364, allocations: 4 kB / 0.9527 GB, free: 6.391 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.858e-05/0.3365, allocations: 4 kB / 0.9527 GB, free: 6.387 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.578e-05/0.3365, allocations: 15.92 kB / 0.9527 GB, free: 6.371 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 9.587e-05/0.3366, allocations: 35.88 kB / 0.9528 GB, free: 6.336 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.3366, allocations: 0 / 0.9528 GB, free: 6.336 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.883e-06/0.3366, allocations: 0 / 0.9528 GB, free: 6.336 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 9.027e-06/0.3366, allocations: 0 / 0.9528 GB, free: 6.336 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.0005545/0.3372, allocations: 359.4 kB / 0.9531 GB, free: 5.934 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.575e-05/0.3372, allocations: 8.031 kB / 0.9531 GB, free: 5.926 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.652e-05/0.3373, allocations: 8.828 kB / 0.9531 GB, free: 5.918 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001195/0.3374, allocations: 164.4 kB / 0.9533 GB, free: 5.719 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.299e-05/0.3374, allocations: 384 / 0.9533 GB, free: 5.719 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.486e-05/0.3375, allocations: 8.359 kB / 0.9533 GB, free: 5.711 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002155/0.3377, allocations: 62.16 kB / 0.9534 GB, free: 5.645 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.3377, allocations: 192 / 0.9534 GB, free: 5.645 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.367e-05/0.3377, allocations: 11.94 kB / 0.9534 GB, free: 5.633 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.3377, allocations: 0 / 0.9534 GB, free: 5.633 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002222/0.338, allocations: 51.94 kB / 0.9534 GB, free: 5.582 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004286/0.3384, allocations: 264.9 kB / 0.9537 GB, free: 5.273 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001976/0.3386, allocations: 66.48 kB / 0.9537 GB, free: 5.199 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001154/0.3387, allocations: 36.81 kB / 0.9538 GB, free: 5.16 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.987e-05/0.3388, allocations: 0 / 0.9538 GB, free: 5.16 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.48e-05/0.3388, allocations: 34.56 kB / 0.9538 GB, free: 5.117 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 2.284e-06/0.3388, allocations: 4 kB / 0.9538 GB, free: 5.113 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.000445/0.3392, allocations: 109.5 kB / 0.9539 GB, free: 5 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.66e-05/0.3393, allocations: 55.41 kB / 0.954 GB, free: 4.934 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.122e-05/0.3394, allocations: 101.8 kB / 0.9541 GB, free: 4.824 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.845e-05/0.3394, allocations: 29.7 kB / 0.9541 GB, free: 4.789 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.42e-05/0.3394, allocations: 88.27 kB / 0.9542 GB, free: 4.699 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.16e-05/0.3395, allocations: 3.906 kB / 0.9542 GB, free: 4.695 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.674e-05/0.3395, allocations: 21.64 kB / 0.9542 GB, free: 4.668 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.979e-05/0.3396, allocations: 314.8 kB / 0.9545 GB, free: 4.352 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00013/0.3398, allocations: 36.77 kB / 0.9545 GB, free: 4.312 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001236/0.3399, allocations: 45.69 kB / 0.9546 GB, free: 4.262 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002008/0.3401, allocations: 52.8 kB / 0.9546 GB, free: 4.207 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.3401, allocations: 3.938 kB / 0.9546 GB, free: 4.203 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002554/0.3404, allocations: 93.67 kB / 0.9547 GB, free: 4.105 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.3404, allocations: 11.98 kB / 0.9547 GB, free: 4.094 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.3404, allocations: 0 / 0.9547 GB, free: 4.094 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.3404, allocations: 0 / 0.9547 GB, free: 4.094 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000128/0.3405, allocations: 15.92 kB / 0.9548 GB, free: 4.078 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.3406, allocations: 0 / 0.9548 GB, free: 4.078 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.215e-05/0.3406, allocations: 11.98 kB / 0.9548 GB, free: 4.066 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-06/0.3407, allocations: 8.031 kB / 0.9548 GB, free: 4.059 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001155/0.3408, allocations: 102.1 kB / 0.9549 GB, free: 3.957 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 7.872e-05/0.3409, allocations: 33.69 kB / 0.9549 GB, free: 3.918 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001335/0.341, allocations: 32.83 kB / 0.9549 GB, free: 3.883 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.91e-07/0.341, allocations: 96 / 0.9549 GB, free: 3.883 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2) (initialization_lambda0): time 0.0002494/0.3413, allocations: 77.5 kB / 0.955 GB, free: 3.801 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/0.3413, allocations: 8 kB / 0.955 GB, free: 3.793 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.465e-06/0.3413, allocations: 0 / 0.955 GB, free: 3.793 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.26e-06/0.3413, allocations: 256 / 0.955 GB, free: 3.793 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.626e-05/0.3414, allocations: 11.92 kB / 0.955 GB, free: 3.781 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.3414, allocations: 4 kB / 0.955 GB, free: 3.777 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.435e-05/0.3415, allocations: 15.92 kB / 0.955 GB, free: 3.762 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.527e-06/0.3415, allocations: 4.031 kB / 0.955 GB, free: 3.758 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 0.0001423/0.3416, allocations: 188.2 kB / 0.9552 GB, free: 3.566 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.054e-05/0.3417, allocations: 0 / 0.9552 GB, free: 3.566 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.1e-05/0.3417, allocations: 3.531 kB / 0.9552 GB, free: 3.559 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.3417, allocations: 0 / 0.9552 GB, free: 3.559 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.3417, allocations: 4 kB / 0.9552 GB, free: 3.555 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.3417, allocations: 0 / 0.9552 GB, free: 3.555 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002155/0.3419, allocations: 161.6 kB / 0.9554 GB, free: 3.348 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.342, allocations: 0 / 0.9554 GB, free: 3.348 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.853e-05/0.342, allocations: 23.97 kB / 0.9554 GB, free: 3.324 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.3421, allocations: 4 kB / 0.9554 GB, free: 3.32 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.116e-06/0.3421, allocations: 3.938 kB / 0.9554 GB, free: 3.316 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.3421, allocations: 0 / 0.9554 GB, free: 3.316 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.3421, allocations: 0 / 0.9554 GB, free: 3.316 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003057/0.3424, allocations: 187.4 kB / 0.9556 GB, free: 3.117 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.379e-05/0.3424, allocations: 85 kB / 0.9557 GB, free: 3.016 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.385e-05/0.3425, allocations: 0 / 0.9557 GB, free: 3.016 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.773e-05/0.3426, allocations: 11.98 kB / 0.9557 GB, free: 3.004 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.104e-05/0.3426, allocations: 0 / 0.9557 GB, free: 3.004 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.563e-06/0.3426, allocations: 3.984 kB / 0.9557 GB, free: 3 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.554e-05/0.3427, allocations: 87.28 kB / 0.9558 GB, free: 2.914 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3427, allocations: 0 / 0.9558 GB, free: 2.914 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002623/0.343, allocations: 11.97 kB / 0.9558 GB, free: 2.902 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.0001642/0.3431, allocations: 103.2 kB / 0.9559 GB, free: 2.793 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003671/0.3435, allocations: 75.92 kB / 0.956 GB, free: 2.719 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.3435, allocations: 3.938 kB / 0.956 GB, free: 2.715 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001092/0.3436, allocations: 32.09 kB / 0.956 GB, free: 2.684 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003208/0.344, allocations: 11.92 kB / 0.956 GB, free: 2.672 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004292/0.3444, allocations: 121.6 kB / 0.9561 GB, free: 2.527 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002719/0.3447, allocations: 0.6805 MB / 0.9568 GB, free: 1.82 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 3.339e-05/0.3447, allocations: 8.062 kB / 0.9568 GB, free: 1.812 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.463e-05/0.3448, allocations: 7.438 kB / 0.9568 GB, free: 1.805 MB / 0.7325 GB Notification: Performance of SimCode: time 4.51e-07/0.3448, allocations: 0 / 0.9568 GB, free: 1.805 MB / 0.7325 GB Notification: Performance of Templates: time 0.003088/0.3479, allocations: 0.598 MB / 0.9574 GB, free: 1.215 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 -s gbode -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