Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.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.PIDInitialState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPID.I.y|limPID.D.y|limPI.I.y|limPID.D.u",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|limPID.I.y|limPID.D.y|limPI.I.y|limPID.D.u",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00124/0.00124, allocations: 105.5 kB / 16.41 MB, free: 6.461 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.001255/0.001255, allocations: 187 kB / 17.34 MB, free: 5.719 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.268/1.268, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.413/2.413, allocations: 469.4 MB / 0.7428 GB, free: 3.617 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001287, allocations: 71.89 kB / 1.066 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6867/0.688, allocations: 159.1 MB / 1.221 GB, free: 2.336 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState): time 0.002768/0.6908, allocations: 1.841 MB / 1.223 GB, free: 500 kB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001391/0.6922, allocations: 1.26 MB / 1.224 GB, free: 15.21 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001654/0.6924, allocations: 8 kB / 1.224 GB, free: 15.21 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0001968/0.6926, allocations: 71.19 kB / 1.224 GB, free: 15.14 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001304/0.6928, allocations: 63.41 kB / 1.224 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.000329/0.6931, allocations: 163.8 kB / 1.224 GB, free: 14.91 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0003945/0.6935, allocations: 489 kB / 1.225 GB, free: 14.43 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003791/0.6939, allocations: 279.2 kB / 1.225 GB, free: 14.16 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001545/0.6941, allocations: 175.2 kB / 1.225 GB, free: 13.98 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001914/0.6943, allocations: 195 kB / 1.225 GB, free: 13.79 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 6.373e-05/0.6943, allocations: 52 kB / 1.225 GB, free: 13.74 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 5.313e-05/0.6944, allocations: 56 kB / 1.225 GB, free: 13.69 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 8.551e-05/0.6945, allocations: 119.5 kB / 1.226 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001459/0.6946, allocations: 206.9 kB / 1.226 GB, free: 13.37 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0005111/0.6951, allocations: 0.5875 MB / 1.226 GB, free: 12.78 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.6952, allocations: 0 / 1.226 GB, free: 12.78 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.132e-06/0.6952, allocations: 0 / 1.226 GB, free: 12.78 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.069e-05/0.6952, allocations: 0 / 1.226 GB, free: 12.78 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 98 * Number of variables: 98 Notification: Performance of Generate backend data structure: time 0.001095/0.6963, allocations: 0.7386 MB / 1.227 GB, free: 11.99 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.255e-05/0.6963, allocations: 8.031 kB / 1.227 GB, free: 11.98 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.412e-05/0.6964, allocations: 52.38 kB / 1.227 GB, free: 11.93 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003967/0.6968, allocations: 352.2 kB / 1.227 GB, free: 11.55 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.499e-05/0.6969, allocations: 37.31 kB / 1.227 GB, free: 11.51 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.307e-05/0.6969, allocations: 44.38 kB / 1.228 GB, free: 11.47 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006244/0.6975, allocations: 403.6 kB / 1.228 GB, free: 11.07 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.6976, allocations: 192 / 1.228 GB, free: 11.07 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.741e-05/0.6976, allocations: 23.88 kB / 1.228 GB, free: 11.04 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.099e-05/0.6976, allocations: 12 kB / 1.228 GB, free: 11.03 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005299/0.6982, allocations: 287.8 kB / 1.228 GB, free: 10.75 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001808/0.7, allocations: 1.366 MB / 1.23 GB, free: 9.316 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006643/0.7007, allocations: 239 kB / 1.23 GB, free: 9.074 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002172/0.7009, allocations: 124.7 kB / 1.23 GB, free: 8.949 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.348e-05/0.7009, allocations: 4 kB / 1.23 GB, free: 8.945 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.409e-05/0.7009, allocations: 34.56 kB / 1.23 GB, free: 8.902 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=20): time 1.252e-06/0.701, allocations: 0 / 1.23 GB, free: 8.902 MB / 0.9512 GB Notification: Performance of matching and sorting (n=20): time 0.0006436/0.7016, allocations: 299.2 kB / 1.23 GB, free: 8.605 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.171e-05/0.7017, allocations: 106.8 kB / 1.23 GB, free: 8.477 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000388/0.7021, allocations: 401.7 kB / 1.231 GB, free: 8.078 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.9e-05/0.7021, allocations: 29.7 kB / 1.231 GB, free: 8.043 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.00016/0.7023, allocations: 259.6 kB / 1.231 GB, free: 7.785 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 4.882e-05/0.7023, allocations: 75 kB / 1.231 GB, free: 7.711 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.383e-05/0.7024, allocations: 65.94 kB / 1.231 GB, free: 7.637 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001203/0.7025, allocations: 342.8 kB / 1.231 GB, free: 7.293 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002466/0.7028, allocations: 122 kB / 1.232 GB, free: 7.172 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002969/0.7031, allocations: 208.3 kB / 1.232 GB, free: 6.93 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004573/0.7036, allocations: 276.9 kB / 1.232 GB, free: 6.633 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.7036, allocations: 0 / 1.232 GB, free: 6.633 MB / 0.9512 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006346/0.7042, allocations: 367.2 kB / 1.232 GB, free: 6.27 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.7042, allocations: 8 kB / 1.232 GB, free: 6.262 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.7043, allocations: 4.219 kB / 1.232 GB, free: 6.258 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/0.7043, allocations: 7.938 kB / 1.232 GB, free: 6.25 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002702/0.7046, allocations: 71.89 kB / 1.232 GB, free: 6.18 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.465e-06/0.7046, allocations: 4 kB / 1.232 GB, free: 6.176 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002242/0.7048, allocations: 59.5 kB / 1.233 GB, free: 6.117 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.069e-05/0.7048, allocations: 12 kB / 1.233 GB, free: 6.105 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002379/0.7051, allocations: 204.7 kB / 1.233 GB, free: 5.902 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000214/0.7053, allocations: 182.6 kB / 1.233 GB, free: 5.688 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000288/0.7056, allocations: 235.5 kB / 1.233 GB, free: 5.43 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.523e-06/0.7056, allocations: 3.938 kB / 1.233 GB, free: 5.426 MB / 0.9512 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0004492/0.7061, allocations: 319.6 kB / 1.233 GB, free: 5.109 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 8.246e-06/0.7061, allocations: 5.719 kB / 1.233 GB, free: 5.105 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.7061, allocations: 4 kB / 1.233 GB, free: 5.102 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.119e-06/0.7061, allocations: 4 kB / 1.233 GB, free: 5.098 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002152/0.7063, allocations: 67.84 kB / 1.234 GB, free: 5.031 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.7063, allocations: 4 kB / 1.234 GB, free: 5.027 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001939/0.7065, allocations: 31.83 kB / 1.234 GB, free: 4.996 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.58e-05/0.7065, allocations: 12 kB / 1.234 GB, free: 4.984 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 2 (limPI.con1.y,limPID.con1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 39 * 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.0001168/0.7067, allocations: 208.8 kB / 1.234 GB, free: 4.773 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.672e-05/0.7067, allocations: 39.52 kB / 1.234 GB, free: 4.734 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000459/0.7072, allocations: 240.9 kB / 1.234 GB, free: 4.492 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.566e-06/0.7072, allocations: 0 / 1.234 GB, free: 4.492 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.7072, allocations: 0 / 1.234 GB, free: 4.492 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.7072, allocations: 4 kB / 1.234 GB, free: 4.488 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001091/0.7083, allocations: 0.7939 MB / 1.235 GB, free: 3.625 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.7083, allocations: 3.938 kB / 1.235 GB, free: 3.621 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001868/0.7085, allocations: 52.12 kB / 1.235 GB, free: 3.57 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.7085, allocations: 0 / 1.235 GB, free: 3.57 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.596e-05/0.7086, allocations: 4 kB / 1.235 GB, free: 3.566 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.7086, allocations: 0 / 1.235 GB, free: 3.566 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.7086, allocations: 7.938 kB / 1.235 GB, free: 3.559 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006605/0.7092, allocations: 461.2 kB / 1.235 GB, free: 3.078 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 8.286e-05/0.7093, allocations: 120.6 kB / 1.235 GB, free: 2.941 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.99e-05/0.7094, allocations: 7.984 kB / 1.235 GB, free: 2.934 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001799/0.7096, allocations: 23.98 kB / 1.235 GB, free: 2.91 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.759e-05/0.7096, allocations: 15.86 kB / 1.235 GB, free: 2.895 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.479e-05/0.7096, allocations: 12 kB / 1.235 GB, free: 2.883 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0003049/0.7099, allocations: 283.2 kB / 1.236 GB, free: 2.609 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7099, allocations: 4 kB / 1.236 GB, free: 2.605 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0004516/0.7104, allocations: 123.5 kB / 1.236 GB, free: 2.484 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (limPID.I.y,limPID.D.x,limPI.I.y) * 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 (20): * Single equations (assignments): 20 * 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.0001444/0.7105, allocations: 115.2 kB / 1.236 GB, free: 2.363 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0007107/0.7113, allocations: 383.5 kB / 1.236 GB, free: 1.988 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.7113, allocations: 0.875 kB / 1.236 GB, free: 1.988 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001784/0.7115, allocations: 103.9 kB / 1.236 GB, free: 1.887 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000488/0.712, allocations: 67.19 kB / 1.237 GB, free: 1.824 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001147/0.7131, allocations: 0.6961 MB / 1.237 GB, free: 1.074 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003265/0.7134, allocations: 0.8035 MB / 1.238 GB, free: 252 kB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.043e-05/0.7135, allocations: 27.44 kB / 1.238 GB, free: 224 kB / 0.9512 GB Notification: Performance of SimCode: time 4.51e-07/0.7135, allocations: 4 kB / 1.238 GB, free: 220 kB / 0.9512 GB Notification: Performance of Templates: time 0.005953/0.7195, allocations: 4.369 MB / 1.242 GB, free: 11.86 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_PIDInitialState.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches