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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001145/0.001145, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.001269/0.001269, allocations: 172.7 kB / 16.27 MB, free: 6.656 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.574/1.574, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.906/2.906, allocations: 462.7 MB / 0.7364 GB, free: 308 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003732/0.0003732, allocations: 12.44 kB / 0.9028 GB, free: 36.73 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4102/0.4106, allocations: 159.6 MB / 1.059 GB, free: 5.512 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Limiter): time 0.00104/0.4116, allocations: 408.5 kB / 1.059 GB, free: 5.117 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001013/0.4127, allocations: 0.8351 MB / 1.06 GB, free: 4.27 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.239e-05/0.4127, allocations: 0 / 1.06 GB, free: 4.27 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.733e-05/0.4127, allocations: 3.938 kB / 1.06 GB, free: 4.266 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.389e-05/0.4128, allocations: 4 kB / 1.06 GB, free: 4.262 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001531/0.413, allocations: 12 kB / 1.06 GB, free: 4.25 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.965e-05/0.4131, allocations: 31.92 kB / 1.06 GB, free: 4.219 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001034/0.4132, allocations: 7.984 kB / 1.06 GB, free: 4.211 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.382e-05/0.4132, allocations: 11.94 kB / 1.06 GB, free: 4.199 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.152e-05/0.4133, allocations: 23.91 kB / 1.06 GB, free: 4.176 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.629e-05/0.4133, allocations: 0 / 1.06 GB, free: 4.176 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.299e-05/0.4133, allocations: 4 kB / 1.06 GB, free: 4.172 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.806e-05/0.4134, allocations: 3.984 kB / 1.06 GB, free: 4.168 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.679e-05/0.4134, allocations: 41.58 kB / 1.06 GB, free: 4.121 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 7.791e-05/0.4135, allocations: 27.88 kB / 1.06 GB, free: 4.094 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.4135, allocations: 0 / 1.06 GB, free: 4.094 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.773e-06/0.4135, allocations: 0 / 1.06 GB, free: 4.094 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.238e-06/0.4135, allocations: 3.938 kB / 1.06 GB, free: 4.09 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.0005489/0.4141, allocations: 367.7 kB / 1.06 GB, free: 3.68 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.388e-05/0.4141, allocations: 8.031 kB / 1.06 GB, free: 3.672 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.292e-05/0.4142, allocations: 8.844 kB / 1.06 GB, free: 3.664 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001278/0.4143, allocations: 164.4 kB / 1.061 GB, free: 3.465 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.547e-05/0.4144, allocations: 384 / 1.061 GB, free: 3.465 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.246e-05/0.4144, allocations: 4.375 kB / 1.061 GB, free: 3.461 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000242/0.4146, allocations: 74.22 kB / 1.061 GB, free: 3.383 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/0.4146, allocations: 192 / 1.061 GB, free: 3.383 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.261e-05/0.4147, allocations: 3.938 kB / 1.061 GB, free: 3.379 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.4147, allocations: 0 / 1.061 GB, free: 3.379 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002724/0.4149, allocations: 79.88 kB / 1.061 GB, free: 3.301 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000427/0.4154, allocations: 272.9 kB / 1.061 GB, free: 2.984 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002302/0.4156, allocations: 74.47 kB / 1.061 GB, free: 2.902 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001627/0.4158, allocations: 48.88 kB / 1.061 GB, free: 2.852 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.212e-05/0.4158, allocations: 0 / 1.061 GB, free: 2.852 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.116e-05/0.4159, allocations: 34.56 kB / 1.061 GB, free: 2.809 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.603e-06/0.4159, allocations: 7.938 kB / 1.061 GB, free: 2.801 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0005304/0.4164, allocations: 153.4 kB / 1.061 GB, free: 2.645 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.098e-05/0.4165, allocations: 51.41 kB / 1.061 GB, free: 2.582 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.906e-05/0.4166, allocations: 105.8 kB / 1.061 GB, free: 2.469 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.768e-05/0.4166, allocations: 25.7 kB / 1.061 GB, free: 2.438 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.147e-05/0.4166, allocations: 80.27 kB / 1.062 GB, free: 2.355 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.384e-05/0.4167, allocations: 15.91 kB / 1.062 GB, free: 2.34 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.327e-05/0.4167, allocations: 9.719 kB / 1.062 GB, free: 2.324 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001164/0.4168, allocations: 310.8 kB / 1.062 GB, free: 2.012 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000132/0.417, allocations: 35.97 kB / 1.062 GB, free: 1.977 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001426/0.4171, allocations: 57.67 kB / 1.062 GB, free: 1.914 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002487/0.4174, allocations: 84.83 kB / 1.062 GB, free: 1.828 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.4174, allocations: 0 / 1.062 GB, free: 1.828 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003115/0.4177, allocations: 105.6 kB / 1.062 GB, free: 1.719 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 6.389e-05/0.4178, allocations: 97 kB / 1.062 GB, free: 1.617 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.4178, allocations: 4.031 kB / 1.062 GB, free: 1.613 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.4178, allocations: 0 / 1.062 GB, free: 1.613 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001222/0.4179, allocations: 15.98 kB / 1.062 GB, free: 1.598 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.4179, allocations: 3.984 kB / 1.062 GB, free: 1.594 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.252e-05/0.418, allocations: 19.97 kB / 1.062 GB, free: 1.574 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.885e-06/0.418, allocations: 8 kB / 1.062 GB, free: 1.566 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 6.132e-06/0.4181, allocations: 4 kB / 1.062 GB, free: 1.562 MB / 0.8106 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001694/0.4182, allocations: 47.84 kB / 1.062 GB, free: 1.516 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.262e-06/0.4182, allocations: 0 / 1.062 GB, free: 1.516 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-06/0.4182, allocations: 0 / 1.062 GB, free: 1.516 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.226e-05/0.4183, allocations: 19.95 kB / 1.062 GB, free: 1.496 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.152e-06/0.4183, allocations: 4 kB / 1.062 GB, free: 1.492 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.706e-05/0.4184, allocations: 15.92 kB / 1.062 GB, free: 1.477 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.194e-06/0.4184, allocations: 0 / 1.062 GB, free: 1.477 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.44e-05/0.4185, allocations: 185.1 kB / 1.063 GB, free: 1.285 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.309e-05/0.4185, allocations: 7.938 kB / 1.063 GB, free: 1.277 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.484e-05/0.4185, allocations: 3.531 kB / 1.063 GB, free: 1.273 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.4186, allocations: 4 kB / 1.063 GB, free: 1.27 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.4186, allocations: 0 / 1.063 GB, free: 1.27 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.4186, allocations: 3.984 kB / 1.063 GB, free: 1.266 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001568/0.4187, allocations: 165.6 kB / 1.063 GB, free: 1.055 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.4187, allocations: 7.922 kB / 1.063 GB, free: 1.047 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.015e-05/0.4188, allocations: 19.92 kB / 1.063 GB, free: 1.027 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.4188, allocations: 0 / 1.063 GB, free: 1.027 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.684e-06/0.4188, allocations: 4 kB / 1.063 GB, free: 1.023 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.4189, allocations: 4 kB / 1.063 GB, free: 1.02 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.4189, allocations: 256 / 1.063 GB, free: 1.02 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003276/0.4192, allocations: 199.4 kB / 1.063 GB, free: 0.8086 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.418e-05/0.4192, allocations: 85.03 kB / 1.063 GB, free: 0.707 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.346e-05/0.4193, allocations: 8 kB / 1.063 GB, free: 0.6992 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.488e-05/0.4194, allocations: 11.98 kB / 1.063 GB, free: 0.6875 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.057e-05/0.4194, allocations: 0 / 1.063 GB, free: 0.6875 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.576e-06/0.4194, allocations: 8.031 kB / 1.063 GB, free: 0.6797 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.663e-05/0.4195, allocations: 87.27 kB / 1.063 GB, free: 0.5938 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4195, allocations: 0 / 1.063 GB, free: 0.5938 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002518/0.4197, allocations: 8 kB / 1.063 GB, free: 0.5859 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.0001542/0.4199, allocations: 95.25 kB / 1.063 GB, free: 496 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0004/0.4203, allocations: 107.9 kB / 1.063 GB, free: 388 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.4203, allocations: 4.125 kB / 1.063 GB, free: 384 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001284/0.4205, allocations: 39.95 kB / 1.063 GB, free: 344 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002849/0.4207, allocations: 9.484 kB / 1.063 GB, free: 336 kB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000366/0.4211, allocations: 140.7 kB / 1.064 GB, free: 168 kB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002683/0.4214, allocations: 0.677 MB / 1.064 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.613e-05/0.4214, allocations: 4 kB / 1.064 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.905e-05/0.4215, allocations: 7.438 kB / 1.064 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of SimCode: time 3.41e-07/0.4215, allocations: 4 kB / 1.064 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of Templates: time 0.002844/0.4243, allocations: 0.5199 MB / 1.065 GB, free: 14.93 MB / 0.8262 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/jenkins/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