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.001481/0.001481, allocations: 108.7 kB / 16.41 MB, free: 6.027 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.001656/0.001655, allocations: 186.2 kB / 17.34 MB, free: 5.633 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.311/1.311, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.478/2.478, allocations: 461.9 MB / 0.7355 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001473/0.001473, allocations: 75.84 kB / 1.055 GB, free: 7.645 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7262/0.7277, allocations: 157.4 MB / 1.208 GB, free: 13.73 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState): time 0.002948/0.7306, allocations: 1.832 MB / 1.21 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001683/0.7323, allocations: 1.26 MB / 1.212 GB, free: 10.63 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002639/0.7326, allocations: 15.94 kB / 1.212 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0002442/0.7329, allocations: 67.27 kB / 1.212 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001724/0.7331, allocations: 59.39 kB / 1.212 GB, free: 10.49 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.000391/0.7335, allocations: 163.8 kB / 1.212 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0004781/0.734, allocations: 489 kB / 1.212 GB, free: 9.852 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000401/0.7344, allocations: 275.4 kB / 1.213 GB, free: 9.578 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001777/0.7346, allocations: 175.2 kB / 1.213 GB, free: 9.406 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000189/0.7348, allocations: 202.9 kB / 1.213 GB, free: 9.207 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 7.604e-05/0.7348, allocations: 52 kB / 1.213 GB, free: 9.156 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 5.527e-05/0.7349, allocations: 52 kB / 1.213 GB, free: 9.105 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 8.539e-05/0.735, allocations: 111.6 kB / 1.213 GB, free: 8.996 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001645/0.7352, allocations: 214.8 kB / 1.213 GB, free: 8.785 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0004762/0.7356, allocations: 0.5816 MB / 1.214 GB, free: 8.203 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.7357, allocations: 3.938 kB / 1.214 GB, free: 8.199 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.443e-06/0.7357, allocations: 0 / 1.214 GB, free: 8.199 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.183e-05/0.7357, allocations: 0 / 1.214 GB, free: 8.199 MB / 0.9356 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.001156/0.7368, allocations: 0.7369 MB / 1.215 GB, free: 7.41 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.216e-05/0.7369, allocations: 8.031 kB / 1.215 GB, free: 7.402 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.536e-05/0.737, allocations: 60.28 kB / 1.215 GB, free: 7.344 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004275/0.7374, allocations: 352.2 kB / 1.215 GB, free: 6.961 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.717e-05/0.7375, allocations: 29.38 kB / 1.215 GB, free: 6.934 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.35e-05/0.7375, allocations: 40.38 kB / 1.215 GB, free: 6.895 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006407/0.7382, allocations: 407.6 kB / 1.215 GB, free: 6.484 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.7382, allocations: 4.188 kB / 1.215 GB, free: 6.48 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.226e-05/0.7382, allocations: 23.94 kB / 1.215 GB, free: 6.457 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.165e-05/0.7382, allocations: 8 kB / 1.215 GB, free: 6.449 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005441/0.7388, allocations: 279.8 kB / 1.216 GB, free: 6.176 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001889/0.7407, allocations: 1.374 MB / 1.217 GB, free: 4.734 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006817/0.7414, allocations: 242.9 kB / 1.217 GB, free: 4.488 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002213/0.7416, allocations: 120.8 kB / 1.217 GB, free: 4.367 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.145e-05/0.7417, allocations: 8 kB / 1.217 GB, free: 4.359 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.749e-05/0.7417, allocations: 38.55 kB / 1.217 GB, free: 4.312 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=20): time 2.655e-06/0.7417, allocations: 3.984 kB / 1.217 GB, free: 4.309 MB / 0.9356 GB Notification: Performance of matching and sorting (n=20): time 0.0007341/0.7424, allocations: 294.5 kB / 1.218 GB, free: 4.016 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.675e-05/0.7425, allocations: 106.8 kB / 1.218 GB, free: 3.887 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004998/0.743, allocations: 405.6 kB / 1.218 GB, free: 3.477 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 4.978e-05/0.7431, allocations: 29.7 kB / 1.218 GB, free: 3.441 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002243/0.7433, allocations: 251.6 kB / 1.219 GB, free: 3.191 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 5.669e-05/0.7434, allocations: 70.98 kB / 1.219 GB, free: 3.121 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001206/0.7435, allocations: 69.92 kB / 1.219 GB, free: 3.043 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001867/0.7437, allocations: 350.7 kB / 1.219 GB, free: 2.691 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002695/0.744, allocations: 114.1 kB / 1.219 GB, free: 2.578 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003584/0.7444, allocations: 208.3 kB / 1.219 GB, free: 2.336 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005288/0.7449, allocations: 273.9 kB / 1.22 GB, free: 2.043 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.317e-06/0.7449, allocations: 0 / 1.22 GB, free: 2.043 MB / 0.9356 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006927/0.7456, allocations: 379.3 kB / 1.22 GB, free: 1.668 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.7456, allocations: 5.875 kB / 1.22 GB, free: 1.664 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.7457, allocations: 4 kB / 1.22 GB, free: 1.66 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.7457, allocations: 7.938 kB / 1.22 GB, free: 1.652 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002738/0.746, allocations: 63.91 kB / 1.22 GB, free: 1.59 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.254e-05/0.746, allocations: 11.92 kB / 1.22 GB, free: 1.578 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000243/0.7462, allocations: 55.45 kB / 1.22 GB, free: 1.523 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.266e-05/0.7463, allocations: 16 kB / 1.22 GB, free: 1.508 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002573/0.7465, allocations: 212.7 kB / 1.22 GB, free: 1.297 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002156/0.7467, allocations: 175.4 kB / 1.22 GB, free: 1.086 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002996/0.747, allocations: 223.6 kB / 1.221 GB, free: 0.8398 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.643e-06/0.7471, allocations: 0 / 1.221 GB, free: 0.8398 MB / 0.9356 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0004805/0.7475, allocations: 326.7 kB / 1.221 GB, free: 0.5156 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/0.7476, allocations: 11.98 kB / 1.221 GB, free: 0.5039 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.625e-06/0.7476, allocations: 0 / 1.221 GB, free: 0.5039 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.46e-06/0.7476, allocations: 4 kB / 1.221 GB, free: 0.5 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002249/0.7478, allocations: 59.86 kB / 1.221 GB, free: 452 kB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/0.7478, allocations: 4 kB / 1.221 GB, free: 448 kB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002102/0.748, allocations: 47.94 kB / 1.221 GB, free: 400 kB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.562e-05/0.7481, allocations: 11.94 kB / 1.221 GB, free: 388 kB / 0.9356 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.0001278/0.7482, allocations: 200.2 kB / 1.221 GB, free: 180 kB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.007e-05/0.7483, allocations: 35.53 kB / 1.221 GB, free: 144 kB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004824/0.7488, allocations: 237 kB / 1.222 GB, free: 15.9 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.7488, allocations: 4 kB / 1.222 GB, free: 15.9 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.7488, allocations: 4 kB / 1.222 GB, free: 15.89 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.572e-06/0.7488, allocations: 7.984 kB / 1.222 GB, free: 15.89 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001139/0.7499, allocations: 0.7871 MB / 1.222 GB, free: 15.03 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.75, allocations: 4 kB / 1.222 GB, free: 15.02 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001924/0.7502, allocations: 39.97 kB / 1.222 GB, free: 14.98 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.7502, allocations: 0 / 1.222 GB, free: 14.98 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.765e-05/0.7502, allocations: 8 kB / 1.222 GB, free: 14.98 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.404e-06/0.7502, allocations: 7.938 kB / 1.222 GB, free: 14.97 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.7502, allocations: 3.938 kB / 1.222 GB, free: 14.96 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006794/0.7509, allocations: 464.8 kB / 1.223 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 8.639e-05/0.751, allocations: 120.6 kB / 1.223 GB, free: 14.35 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.022e-05/0.751, allocations: 8 kB / 1.223 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000183/0.7512, allocations: 19.98 kB / 1.223 GB, free: 14.32 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.019e-05/0.7513, allocations: 23.84 kB / 1.223 GB, free: 14.3 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.323e-05/0.7513, allocations: 8 kB / 1.223 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0002806/0.7516, allocations: 287.2 kB / 1.223 GB, free: 14.01 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7516, allocations: 0 / 1.223 GB, free: 14.01 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0004793/0.7521, allocations: 131.5 kB / 1.223 GB, free: 13.88 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.0001446/0.7522, allocations: 107.2 kB / 1.224 GB, free: 13.77 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0007524/0.753, allocations: 384.2 kB / 1.224 GB, free: 13.39 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.753, allocations: 0 / 1.224 GB, free: 13.39 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001804/0.7532, allocations: 95.83 kB / 1.224 GB, free: 13.3 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004975/0.7537, allocations: 70.02 kB / 1.224 GB, free: 13.23 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001156/0.7548, allocations: 0.7036 MB / 1.225 GB, free: 12.48 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003234/0.7552, allocations: 0.7957 MB / 1.226 GB, free: 11.66 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.474e-05/0.7553, allocations: 35.42 kB / 1.226 GB, free: 11.62 MB / 0.9512 GB Notification: Performance of SimCode: time 2.4e-07/0.7553, allocations: 0 / 1.226 GB, free: 11.62 MB / 0.9512 GB Notification: Performance of Templates: time 0.006232/0.7615, allocations: 4.363 MB / 1.23 GB, free: 7.27 MB / 0.9512 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