Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.00864/0.00864, allocations: 100.8 kB / 15.87 MB, free: 5.867 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.002108/0.002108, allocations: 195.7 kB / 16.79 MB, free: 5.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.617/1.617, allocations: 222.9 MB / 240.5 MB, free: 4.559 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.726/2.726, allocations: 461.9 MB / 0.7348 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00147/0.001471, allocations: 68.36 kB / 0.8991 GB, free: 37.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3404/0.3419, allocations: 157.4 MB / 1.053 GB, free: 8.258 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Limiter): time 0.002154/0.344, allocations: 0.7301 MB / 1.053 GB, free: 7.523 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001047/0.3451, allocations: 0.8312 MB / 1.054 GB, free: 6.68 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.966e-05/0.3452, allocations: 0 / 1.054 GB, free: 6.68 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.522e-05/0.3452, allocations: 4 kB / 1.054 GB, free: 6.676 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.481e-05/0.3453, allocations: 3.984 kB / 1.054 GB, free: 6.672 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000162/0.3455, allocations: 19.92 kB / 1.054 GB, free: 6.652 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.334e-05/0.3456, allocations: 31.92 kB / 1.054 GB, free: 6.621 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001034/0.3457, allocations: 15.88 kB / 1.054 GB, free: 6.605 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.399e-05/0.3458, allocations: 11.98 kB / 1.054 GB, free: 6.594 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.961e-05/0.3458, allocations: 15.92 kB / 1.054 GB, free: 6.578 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.662e-05/0.3458, allocations: 0 / 1.054 GB, free: 6.578 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.041e-05/0.3458, allocations: 4 kB / 1.054 GB, free: 6.574 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.787e-05/0.3459, allocations: 3.984 kB / 1.054 GB, free: 6.57 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.819e-05/0.3459, allocations: 15.92 kB / 1.054 GB, free: 6.555 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 6.345e-05/0.346, allocations: 19.95 kB / 1.054 GB, free: 6.535 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.346, allocations: 0 / 1.054 GB, free: 6.535 MB / 0.8106 GB Notification: Performance of FrontEnd: time 9.02e-07/0.346, allocations: 3.938 kB / 1.054 GB, free: 6.531 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.474e-06/0.346, allocations: 4 kB / 1.054 GB, free: 6.527 MB / 0.8106 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.0005465/0.3466, allocations: 359.6 kB / 1.055 GB, free: 6.125 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.3466, allocations: 11.97 kB / 1.055 GB, free: 6.113 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.799e-05/0.3466, allocations: 8.922 kB / 1.055 GB, free: 6.105 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001235/0.3468, allocations: 164.4 kB / 1.055 GB, free: 5.906 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.105e-05/0.3468, allocations: 4.375 kB / 1.055 GB, free: 5.902 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.38e-05/0.3468, allocations: 384 / 1.055 GB, free: 5.902 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002284/0.347, allocations: 66.22 kB / 1.055 GB, free: 5.832 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.3471, allocations: 8.109 kB / 1.055 GB, free: 5.824 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.206e-05/0.3471, allocations: 3.938 kB / 1.055 GB, free: 5.82 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.3471, allocations: 0 / 1.055 GB, free: 5.82 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000233/0.3473, allocations: 55.94 kB / 1.055 GB, free: 5.766 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003954/0.3477, allocations: 272.8 kB / 1.055 GB, free: 5.449 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001879/0.3479, allocations: 54.48 kB / 1.055 GB, free: 5.387 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001201/0.3481, allocations: 36.88 kB / 1.055 GB, free: 5.348 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.451e-05/0.3481, allocations: 4 kB / 1.055 GB, free: 5.344 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.312e-05/0.3481, allocations: 34.5 kB / 1.055 GB, free: 5.301 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.3481, allocations: 0 / 1.055 GB, free: 5.301 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0004588/0.3486, allocations: 109.6 kB / 1.056 GB, free: 5.188 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.548e-05/0.3486, allocations: 55.53 kB / 1.056 GB, free: 5.121 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.055e-05/0.3487, allocations: 109.8 kB / 1.056 GB, free: 5.004 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.725e-05/0.3488, allocations: 29.7 kB / 1.056 GB, free: 4.969 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.987e-05/0.3488, allocations: 80.14 kB / 1.056 GB, free: 4.887 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.965e-05/0.3488, allocations: 7.906 kB / 1.056 GB, free: 4.879 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.173e-05/0.3489, allocations: 17.7 kB / 1.056 GB, free: 4.855 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001207/0.349, allocations: 314.8 kB / 1.056 GB, free: 4.539 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001283/0.3491, allocations: 36.83 kB / 1.056 GB, free: 4.5 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001211/0.3493, allocations: 41.62 kB / 1.056 GB, free: 4.453 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002174/0.3495, allocations: 64.89 kB / 1.056 GB, free: 4.387 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.3495, allocations: 0 / 1.056 GB, free: 4.387 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002721/0.3498, allocations: 89.58 kB / 1.056 GB, free: 4.293 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.3498, allocations: 7.984 kB / 1.056 GB, free: 4.285 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.3498, allocations: 3.938 kB / 1.056 GB, free: 4.281 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.3498, allocations: 3.938 kB / 1.056 GB, free: 4.277 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001094/0.3499, allocations: 15.98 kB / 1.056 GB, free: 4.262 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.35, allocations: 4.031 kB / 1.056 GB, free: 4.258 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.244e-05/0.35, allocations: 11.98 kB / 1.056 GB, free: 4.246 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.412e-06/0.3501, allocations: 0 / 1.056 GB, free: 4.246 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001277/0.3502, allocations: 104 kB / 1.057 GB, free: 4.141 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 7.998e-05/0.3503, allocations: 25.7 kB / 1.057 GB, free: 4.109 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001403/0.3504, allocations: 40.92 kB / 1.057 GB, free: 4.066 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.22e-07/0.3504, allocations: 0 / 1.057 GB, free: 4.066 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization_lambda0): time 0.0001873/0.3506, allocations: 77.5 kB / 1.057 GB, free: 3.984 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 8.707e-06/0.3506, allocations: 5.094 kB / 1.057 GB, free: 3.98 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.373e-06/0.3506, allocations: 0 / 1.057 GB, free: 3.98 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.304e-06/0.3506, allocations: 0 / 1.057 GB, free: 3.98 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.658e-05/0.3507, allocations: 16.02 kB / 1.057 GB, free: 3.965 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.206e-06/0.3507, allocations: 0 / 1.057 GB, free: 3.965 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.987e-05/0.3508, allocations: 15.86 kB / 1.057 GB, free: 3.949 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.507e-06/0.3508, allocations: 4 kB / 1.057 GB, free: 3.945 MB / 0.8106 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.24e-05/0.3509, allocations: 180.2 kB / 1.057 GB, free: 3.762 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.515e-05/0.3509, allocations: 0 / 1.057 GB, free: 3.762 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.218e-05/0.351, allocations: 11.53 kB / 1.057 GB, free: 3.75 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.351, allocations: 0 / 1.057 GB, free: 3.75 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.351, allocations: 0 / 1.057 GB, free: 3.75 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.351, allocations: 4 kB / 1.057 GB, free: 3.746 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001681/0.3512, allocations: 165.6 kB / 1.057 GB, free: 3.535 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.3512, allocations: 0 / 1.057 GB, free: 3.535 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.842e-05/0.3512, allocations: 15.97 kB / 1.057 GB, free: 3.52 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.3513, allocations: 0 / 1.057 GB, free: 3.52 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.714e-06/0.3513, allocations: 256 / 1.057 GB, free: 3.52 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.3513, allocations: 0 / 1.057 GB, free: 3.52 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.3513, allocations: 4 kB / 1.057 GB, free: 3.516 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003099/0.3516, allocations: 183.4 kB / 1.057 GB, free: 3.32 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.121e-05/0.3516, allocations: 89 kB / 1.057 GB, free: 3.215 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.321e-05/0.3517, allocations: 3.938 kB / 1.057 GB, free: 3.211 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.915e-05/0.3518, allocations: 7.984 kB / 1.057 GB, free: 3.203 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.006e-05/0.3518, allocations: 4 kB / 1.057 GB, free: 3.199 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.694e-06/0.3518, allocations: 8.031 kB / 1.057 GB, free: 3.191 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.806e-05/0.3519, allocations: 83.22 kB / 1.057 GB, free: 3.109 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3519, allocations: 0 / 1.057 GB, free: 3.109 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002685/0.3521, allocations: 8 kB / 1.057 GB, free: 3.102 MB / 0.8106 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.0001505/0.3523, allocations: 99.23 kB / 1.058 GB, free: 2.996 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003551/0.3527, allocations: 83.92 kB / 1.058 GB, free: 2.914 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3527, allocations: 3.938 kB / 1.058 GB, free: 2.91 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001191/0.3528, allocations: 31.91 kB / 1.058 GB, free: 2.879 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003093/0.3531, allocations: 13.05 kB / 1.058 GB, free: 2.867 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003991/0.3535, allocations: 157.2 kB / 1.058 GB, free: 2.68 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002687/0.3538, allocations: 0.677 MB / 1.058 GB, free: 1.977 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.549e-05/0.3539, allocations: 11.44 kB / 1.058 GB, free: 1.969 MB / 0.8106 GB Notification: Performance of SimCode: time 3e-07/0.3539, allocations: 0 / 1.058 GB, free: 1.969 MB / 0.8106 GB Notification: Performance of Templates: time 0.00197/0.3558, allocations: 0.62 MB / 1.059 GB, free: 1.348 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Limiter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Limiter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches