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.006986/0.006986, allocations: 100.3 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.001481/0.001481, allocations: 188.6 kB / 16.67 MB, free: 5.969 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.425/1.425, allocations: 222.9 MB / 240.4 MB, free: 15.16 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.341/2.341, allocations: 390.2 MB / 0.6648 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001274, allocations: 67.89 kB / 0.9509 GB, free: 7.559 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.094/1.096, allocations: 140.4 MB / 1.088 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter): time 0.002194/1.098, allocations: 0.6708 MB / 1.089 GB, free: 5.078 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001253/1.099, allocations: 0.8329 MB / 1.089 GB, free: 4.449 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.848e-05/1.099, allocations: 0 / 1.089 GB, free: 4.449 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.05e-05/1.099, allocations: 5.312 kB / 1.089 GB, free: 4.445 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.739e-05/1.099, allocations: 4.641 kB / 1.089 GB, free: 4.441 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001926/1.099, allocations: 19.33 kB / 1.089 GB, free: 4.43 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 9.569e-05/1.1, allocations: 33.5 kB / 1.09 GB, free: 4.414 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001364/1.1, allocations: 12.69 kB / 1.09 GB, free: 4.406 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.04e-05/1.1, allocations: 11.92 kB / 1.09 GB, free: 4.402 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.224e-05/1.1, allocations: 16.03 kB / 1.09 GB, free: 4.395 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.145e-05/1.1, allocations: 3.438 kB / 1.09 GB, free: 4.395 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.27e-05/1.1, allocations: 3.344 kB / 1.09 GB, free: 4.395 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.409e-05/1.1, allocations: 10.97 kB / 1.09 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.683e-05/1.1, allocations: 11.5 kB / 1.09 GB, free: 4.379 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001291/1.1, allocations: 35.62 kB / 1.09 GB, free: 4.363 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/1.1, allocations: 0 / 1.09 GB, free: 4.363 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.753e-06/1.1, allocations: 1.375 kB / 1.09 GB, free: 4.363 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.506e-05/1.1, allocations: 4 kB / 1.09 GB, free: 4.359 MB / 0.8575 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.0005615/1.101, allocations: 359.7 kB / 1.09 GB, free: 3.996 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.006e-05/1.101, allocations: 10.67 kB / 1.09 GB, free: 3.996 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.187e-05/1.101, allocations: 2.25 kB / 1.09 GB, free: 3.996 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001055/1.101, allocations: 168.3 kB / 1.09 GB, free: 3.797 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.519e-05/1.101, allocations: 5.031 kB / 1.09 GB, free: 3.793 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.453e-05/1.101, allocations: 3.156 kB / 1.09 GB, free: 3.793 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002442/1.101, allocations: 76.11 kB / 1.09 GB, free: 3.742 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/1.101, allocations: 192 / 1.09 GB, free: 3.742 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.366e-05/1.101, allocations: 4.812 kB / 1.09 GB, free: 3.738 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/1.101, allocations: 0 / 1.09 GB, free: 3.738 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002586/1.102, allocations: 52.2 kB / 1.09 GB, free: 3.734 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003995/1.102, allocations: 267 kB / 1.091 GB, free: 3.457 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002158/1.102, allocations: 67.02 kB / 1.091 GB, free: 3.418 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001325/1.102, allocations: 32.27 kB / 1.091 GB, free: 3.406 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.197e-05/1.102, allocations: 5.641 kB / 1.091 GB, free: 3.402 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.778e-05/1.102, allocations: 36.25 kB / 1.091 GB, free: 3.359 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/1.102, allocations: 0 / 1.091 GB, free: 3.359 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0004775/1.103, allocations: 108.4 kB / 1.091 GB, free: 3.32 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.979e-05/1.103, allocations: 56.33 kB / 1.091 GB, free: 3.254 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.056e-05/1.103, allocations: 103.6 kB / 1.091 GB, free: 3.152 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.043e-05/1.103, allocations: 30.73 kB / 1.091 GB, free: 3.117 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.647e-05/1.103, allocations: 90.39 kB / 1.091 GB, free: 3.027 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.662e-05/1.103, allocations: 5.672 kB / 1.091 GB, free: 3.023 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.325e-05/1.103, allocations: 14.36 kB / 1.091 GB, free: 3.008 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.375e-05/1.103, allocations: 317.6 kB / 1.091 GB, free: 2.691 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001363/1.103, allocations: 36.52 kB / 1.091 GB, free: 2.676 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001332/1.103, allocations: 39.2 kB / 1.091 GB, free: 2.656 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002426/1.104, allocations: 59.97 kB / 1.091 GB, free: 2.641 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/1.104, allocations: 0 / 1.091 GB, free: 2.641 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002869/1.104, allocations: 91.47 kB / 1.092 GB, free: 2.598 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/1.104, allocations: 5.469 kB / 1.092 GB, free: 2.598 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/1.104, allocations: 5.406 kB / 1.092 GB, free: 2.594 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/1.104, allocations: 0 / 1.092 GB, free: 2.594 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001211/1.104, allocations: 17.89 kB / 1.092 GB, free: 2.59 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.643e-06/1.104, allocations: 4.734 kB / 1.092 GB, free: 2.586 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.96e-05/1.104, allocations: 12.42 kB / 1.092 GB, free: 2.586 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.095e-06/1.104, allocations: 1.547 kB / 1.092 GB, free: 2.586 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000106/1.104, allocations: 99.03 kB / 1.092 GB, free: 2.5 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 8.585e-05/1.104, allocations: 30.22 kB / 1.092 GB, free: 2.48 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00015/1.105, allocations: 40.73 kB / 1.092 GB, free: 2.465 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.11e-07/1.105, allocations: 0 / 1.092 GB, free: 2.465 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization_lambda0): time 0.0001836/1.105, allocations: 72.02 kB / 1.092 GB, free: 2.422 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 9.448e-06/1.105, allocations: 5.625 kB / 1.092 GB, free: 2.422 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-06/1.105, allocations: 0 / 1.092 GB, free: 2.422 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.975e-06/1.105, allocations: 1.625 kB / 1.092 GB, free: 2.422 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.344e-05/1.105, allocations: 12.58 kB / 1.092 GB, free: 2.418 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.854e-06/1.105, allocations: 0.5156 kB / 1.092 GB, free: 2.418 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.094e-05/1.105, allocations: 10.14 kB / 1.092 GB, free: 2.418 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.446e-06/1.105, allocations: 1.156 kB / 1.092 GB, free: 2.418 MB / 0.8575 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 6.427e-05/1.105, allocations: 189.9 kB / 1.092 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.659e-05/1.105, allocations: 5.812 kB / 1.092 GB, free: 2.223 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.366e-05/1.105, allocations: 5.656 kB / 1.092 GB, free: 2.215 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/1.105, allocations: 1.312 kB / 1.092 GB, free: 2.215 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/1.105, allocations: 4.812 kB / 1.092 GB, free: 2.211 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/1.105, allocations: 0 / 1.092 GB, free: 2.211 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001357/1.105, allocations: 171.7 kB / 1.092 GB, free: 2.008 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/1.105, allocations: 0 / 1.092 GB, free: 2.008 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.994e-05/1.105, allocations: 18.11 kB / 1.092 GB, free: 2.004 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.482e-06/1.105, allocations: 0 / 1.092 GB, free: 2.004 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.368e-06/1.105, allocations: 1.578 kB / 1.092 GB, free: 2.004 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/1.105, allocations: 0.6875 kB / 1.092 GB, free: 2.004 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/1.105, allocations: 0 / 1.092 GB, free: 2.004 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003115/1.106, allocations: 189.2 kB / 1.092 GB, free: 1.855 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.465e-05/1.106, allocations: 83.08 kB / 1.093 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.423e-05/1.106, allocations: 1.609 kB / 1.093 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.575e-05/1.106, allocations: 9.406 kB / 1.093 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.615e-05/1.106, allocations: 6.797 kB / 1.093 GB, free: 1.754 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.228e-06/1.106, allocations: 1.125 kB / 1.093 GB, free: 1.754 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.999e-05/1.106, allocations: 85.92 kB / 1.093 GB, free: 1.676 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.253e-06/1.106, allocations: 0 / 1.093 GB, free: 1.676 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002642/1.106, allocations: 11.16 kB / 1.093 GB, free: 1.672 MB / 0.8575 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.0001459/1.106, allocations: 100.6 kB / 1.093 GB, free: 1.586 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004193/1.107, allocations: 83.5 kB / 1.093 GB, free: 1.57 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/1.107, allocations: 0 / 1.093 GB, free: 1.57 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001286/1.107, allocations: 29.75 kB / 1.093 GB, free: 1.566 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003197/1.107, allocations: 18.66 kB / 1.093 GB, free: 1.555 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003796/1.108, allocations: 123.9 kB / 1.093 GB, free: 1.445 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001854/1.108, allocations: 0.6772 MB / 1.094 GB, free: 0.75 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.455e-05/1.108, allocations: 6.328 kB / 1.094 GB, free: 0.7461 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.342e-05/1.108, allocations: 10.17 kB / 1.094 GB, free: 0.7422 MB / 0.8575 GB Notification: Performance of SimCode: time 2.61e-07/1.108, allocations: 0 / 1.094 GB, free: 0.7422 MB / 0.8575 GB Notification: Performance of Templates: time 0.003238/1.111, allocations: 0.5975 MB / 1.094 GB, free: 0.6641 MB / 0.8575 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/jenkins/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