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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Limiter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Limiter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01652/0.01652, allocations: 95.7 kB / 15.73 MB, free: 6.484 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.002437/0.002436, allocations: 191.1 kB / 16.67 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.776/2.776, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 4.526/4.526, allocations: 390.3 MB / 0.6648 GB, free: 208 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002448/0.002448, allocations: 65.62 kB / 0.9504 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5479/0.5504, allocations: 140.4 MB / 1.088 GB, free: 1.953 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter): time 0.003831/0.5543, allocations: 0.6747 MB / 1.088 GB, free: 1.277 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002143/0.5565, allocations: 0.8316 MB / 1.089 GB, free: 444 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.603e-05/0.5566, allocations: 0 / 1.089 GB, free: 444 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 5.15e-05/0.5568, allocations: 3.938 kB / 1.089 GB, free: 440 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001124/0.5569, allocations: 3.938 kB / 1.089 GB, free: 436 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.000301/0.5572, allocations: 19.97 kB / 1.089 GB, free: 416 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001426/0.5574, allocations: 35.86 kB / 1.089 GB, free: 380 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001547/0.5575, allocations: 8 kB / 1.089 GB, free: 372 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001198/0.5577, allocations: 11.98 kB / 1.089 GB, free: 360 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 7.981e-05/0.5578, allocations: 23.92 kB / 1.089 GB, free: 336 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.686e-05/0.5578, allocations: 0 / 1.089 GB, free: 336 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.981e-05/0.5579, allocations: 4 kB / 1.089 GB, free: 332 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 3.859e-05/0.5579, allocations: 7.969 kB / 1.089 GB, free: 324 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 5.61e-05/0.558, allocations: 15.94 kB / 1.089 GB, free: 308 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001544/0.5581, allocations: 36.05 kB / 1.089 GB, free: 272 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 8.496e-06/0.5582, allocations: 0 / 1.089 GB, free: 272 kB / 0.8419 GB Notification: Performance of FrontEnd: time 2.605e-06/0.5582, allocations: 0 / 1.089 GB, free: 272 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 8.466e-06/0.5582, allocations: 0 / 1.089 GB, free: 272 kB / 0.8419 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.000913/0.5591, allocations: 359.4 kB / 1.09 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 7.72e-05/0.5592, allocations: 8.031 kB / 1.09 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.934e-05/0.5593, allocations: 34.75 kB / 1.09 GB, free: 15.81 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.728e-05/0.5593, allocations: 4.938 kB / 1.09 GB, free: 15.81 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002284/0.5596, allocations: 164.3 kB / 1.09 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.059e-05/0.5596, allocations: 384 / 1.09 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.24e-05/0.5597, allocations: 4.375 kB / 1.09 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003456/0.56, allocations: 62.22 kB / 1.09 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.739e-05/0.56, allocations: 7.922 kB / 1.09 GB, free: 15.53 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.929e-05/0.5601, allocations: 4 kB / 1.09 GB, free: 15.53 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.314e-06/0.5601, allocations: 0 / 1.09 GB, free: 15.53 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003875/0.5605, allocations: 59.86 kB / 1.09 GB, free: 15.47 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006928/0.5612, allocations: 276.8 kB / 1.09 GB, free: 15.15 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003626/0.5616, allocations: 58.47 kB / 1.09 GB, free: 15.08 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002279/0.5618, allocations: 32.89 kB / 1.09 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.757e-05/0.5619, allocations: 7.984 kB / 1.09 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.517e-05/0.5619, allocations: 34.56 kB / 1.09 GB, free: 15 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.894e-06/0.562, allocations: 0 / 1.09 GB, free: 15 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0008662/0.5628, allocations: 117.5 kB / 1.09 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.779e-05/0.5629, allocations: 55.53 kB / 1.09 GB, free: 14.81 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001589/0.5631, allocations: 101.9 kB / 1.09 GB, free: 14.7 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.892e-05/0.5631, allocations: 29.64 kB / 1.091 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.924e-05/0.5633, allocations: 88.08 kB / 1.091 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.673e-05/0.5633, allocations: 7.953 kB / 1.091 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.472e-05/0.5634, allocations: 13.72 kB / 1.091 GB, free: 14.55 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0002045/0.5636, allocations: 310.8 kB / 1.091 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002364/0.5639, allocations: 40.83 kB / 1.091 GB, free: 14.19 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000243/0.5641, allocations: 45.67 kB / 1.091 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000419/0.5646, allocations: 64.83 kB / 1.091 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.388e-06/0.5646, allocations: 4.188 kB / 1.091 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0005096/0.5651, allocations: 85.64 kB / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.438e-05/0.5652, allocations: 4 kB / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.239e-05/0.5652, allocations: 4 kB / 1.091 GB, free: 13.97 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.331e-05/0.5652, allocations: 0 / 1.091 GB, free: 13.97 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001781/0.5654, allocations: 12.02 kB / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.114e-06/0.5654, allocations: 8 kB / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001383/0.5656, allocations: 15.97 kB / 1.091 GB, free: 13.94 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.085e-05/0.5656, allocations: 0 / 1.091 GB, free: 13.94 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002511/0.5659, allocations: 96.12 kB / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001394/0.566, allocations: 29.7 kB / 1.091 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002267/0.5663, allocations: 48.84 kB / 1.091 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.363e-06/0.5663, allocations: 0 / 1.091 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization_lambda0): time 0.000315/0.5666, allocations: 69.59 kB / 1.091 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.5666, allocations: 4 kB / 1.091 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.605e-06/0.5667, allocations: 0 / 1.091 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.073e-05/0.5667, allocations: 3.984 kB / 1.091 GB, free: 13.67 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.363e-05/0.5668, allocations: 15.97 kB / 1.091 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.416e-06/0.5668, allocations: 0 / 1.091 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001107/0.5669, allocations: 7.984 kB / 1.091 GB, free: 13.65 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.227e-06/0.5669, allocations: 4 kB / 1.091 GB, free: 13.64 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 0.0002537/0.5672, allocations: 180.2 kB / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.782e-05/0.5673, allocations: 11.94 kB / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.592e-05/0.5673, allocations: 11.47 kB / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.5674, allocations: 0 / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.346e-06/0.5674, allocations: 4 kB / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.177e-06/0.5674, allocations: 0 / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003315/0.5677, allocations: 161.6 kB / 1.092 GB, free: 13.22 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.029e-06/0.5678, allocations: 4 kB / 1.092 GB, free: 13.22 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001332/0.5679, allocations: 11.98 kB / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.5679, allocations: 0 / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.094e-05/0.5679, allocations: 0 / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.5679, allocations: 0 / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.568, allocations: 0 / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000589/0.5686, allocations: 191.4 kB / 1.092 GB, free: 13 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 8.294e-05/0.5687, allocations: 85.06 kB / 1.092 GB, free: 12.9 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.858e-05/0.5687, allocations: 4 kB / 1.092 GB, free: 12.9 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001816/0.5689, allocations: 7.984 kB / 1.092 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.666e-05/0.569, allocations: 0 / 1.092 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.596e-06/0.569, allocations: 8.031 kB / 1.092 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.943e-05/0.5691, allocations: 95.2 kB / 1.092 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.9e-07/0.5691, allocations: 0 / 1.092 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0005672/0.5697, allocations: 8 kB / 1.092 GB, free: 12.78 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.001112/0.5708, allocations: 0.7124 MB / 1.093 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0006578/0.5715, allocations: 79.86 kB / 1.093 GB, free: 11.96 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.5716, allocations: 0 / 1.093 GB, free: 11.96 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001969/0.5718, allocations: 32.12 kB / 1.093 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005232/0.5723, allocations: 13.39 kB / 1.093 GB, free: 11.92 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009228/0.5732, allocations: 151.2 kB / 1.093 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005353/0.5738, allocations: 0.6729 MB / 1.094 GB, free: 11.04 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 5.972e-05/0.5739, allocations: 8.047 kB / 1.094 GB, free: 11.03 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.763e-05/0.574, allocations: 15.44 kB / 1.094 GB, free: 11.01 MB / 0.8575 GB Notification: Performance of SimCode: time 4.208e-06/0.574, allocations: 0 / 1.094 GB, free: 11.01 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0445/0.6185, allocations: 1.49 MB / 1.095 GB, free: 9.621 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.53/15.15, allocations: 6.469 kB / 1.095 GB, free: 9.617 MB / 0.8575 GB (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 & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Limiter.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter_res.csv","/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