Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001646/0.001646, allocations: 104.4 kB / 19.7 MB, free: 2.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001902/0.001902, allocations: 213.6 kB / 22.99 MB, free: 4.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.456/1.456, allocations: 230.6 MB / 256.8 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.169/3.169, allocations: 0.4892 GB / 0.7951 GB, free: 35.27 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|limPID.I.y|limPID.D.y|limPI.I.y|limPID.D.u",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|limPID.I.y|limPID.D.y|limPI.I.y|limPID.D.u",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002088/0.002088, allocations: 70.5 kB / 1.154 GB, free: 25.51 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3338/0.3359, allocations: 176.1 MB / 1.326 GB, free: 1.805 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState): time 0.003251/0.3391, allocations: 1.627 MB / 1.328 GB, free: 180 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001977/0.3411, allocations: 1.272 MB / 1.329 GB, free: 14.89 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001981/0.3413, allocations: 11.94 kB / 1.329 GB, free: 14.88 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002441/0.3416, allocations: 75.19 kB / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001601/0.3417, allocations: 63.45 kB / 1.329 GB, free: 14.74 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003856/0.3421, allocations: 163.7 kB / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005226/0.3426, allocations: 493 kB / 1.33 GB, free: 14.1 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000361/0.343, allocations: 179.9 kB / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000198/0.3432, allocations: 183.3 kB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002201/0.3434, allocations: 174.9 kB / 1.33 GB, free: 13.56 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 7.601e-05/0.3435, allocations: 52 kB / 1.331 GB, free: 13.51 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 7.007e-05/0.3436, allocations: 52 kB / 1.331 GB, free: 13.46 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 9.721e-05/0.3437, allocations: 103.7 kB / 1.331 GB, free: 13.36 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001653/0.3438, allocations: 171 kB / 1.331 GB, free: 13.19 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006147/0.3444, allocations: 0.5951 MB / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.3444, allocations: 0 / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.363e-06/0.3444, allocations: 0 / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.484e-06/0.3444, allocations: 0 / 1.331 GB, free: 12.59 MB / 1.029 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.001441/0.3459, allocations: 0.7563 MB / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/0.3459, allocations: 8.031 kB / 1.332 GB, free: 11.79 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.666e-05/0.346, allocations: 52.61 kB / 1.332 GB, free: 11.74 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005385/0.3466, allocations: 294.2 kB / 1.332 GB, free: 11.42 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.044e-05/0.3466, allocations: 33.38 kB / 1.333 GB, free: 11.39 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.101e-05/0.3467, allocations: 40.31 kB / 1.333 GB, free: 11.35 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008221/0.3475, allocations: 463 kB / 1.333 GB, free: 10.88 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.402e-05/0.3475, allocations: 192 / 1.333 GB, free: 10.88 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.972e-05/0.3475, allocations: 23.92 kB / 1.333 GB, free: 10.85 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.142e-05/0.3475, allocations: 8 kB / 1.333 GB, free: 10.84 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005955/0.3481, allocations: 283.8 kB / 1.333 GB, free: 10.57 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00201/0.3502, allocations: 1.132 MB / 1.334 GB, free: 9.391 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007455/0.3509, allocations: 242.9 kB / 1.335 GB, free: 9.145 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002694/0.3512, allocations: 110.8 kB / 1.335 GB, free: 9.035 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.323e-05/0.3512, allocations: 7.938 kB / 1.335 GB, free: 9.027 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.618e-05/0.3512, allocations: 30.56 kB / 1.335 GB, free: 8.988 MB / 1.029 GB Notification: Performance of pre-optimization done (n=20): time 1.423e-06/0.3512, allocations: 4 kB / 1.335 GB, free: 8.984 MB / 1.029 GB Notification: Performance of matching and sorting (n=20): time 0.0007045/0.3519, allocations: 295 kB / 1.335 GB, free: 8.691 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.077e-05/0.352, allocations: 110.7 kB / 1.335 GB, free: 8.559 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004223/0.3524, allocations: 344.4 kB / 1.335 GB, free: 8.211 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.887e-05/0.3525, allocations: 29.7 kB / 1.336 GB, free: 8.176 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001971/0.3527, allocations: 264 kB / 1.336 GB, free: 7.914 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.295e-05/0.3527, allocations: 79.31 kB / 1.336 GB, free: 7.836 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001167/0.3528, allocations: 73.97 kB / 1.336 GB, free: 7.754 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001758/0.353, allocations: 342.8 kB / 1.336 GB, free: 7.41 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000275/0.3533, allocations: 114.1 kB / 1.336 GB, free: 7.297 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004115/0.3537, allocations: 307.2 kB / 1.337 GB, free: 6.934 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005686/0.3543, allocations: 281.2 kB / 1.337 GB, free: 6.633 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.989e-06/0.3543, allocations: 3.984 kB / 1.337 GB, free: 6.629 MB / 1.029 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007478/0.355, allocations: 361.1 kB / 1.337 GB, free: 6.27 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.355, allocations: 4 kB / 1.337 GB, free: 6.266 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.3551, allocations: 4 kB / 1.337 GB, free: 6.262 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/0.3551, allocations: 4 kB / 1.337 GB, free: 6.258 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003058/0.3554, allocations: 75.83 kB / 1.337 GB, free: 6.184 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/0.3554, allocations: 4 kB / 1.337 GB, free: 6.18 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002453/0.3556, allocations: 55.92 kB / 1.337 GB, free: 6.125 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.381e-05/0.3557, allocations: 12.05 kB / 1.337 GB, free: 6.113 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002846/0.3559, allocations: 196.8 kB / 1.338 GB, free: 5.918 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003257/0.3563, allocations: 298.7 kB / 1.338 GB, free: 5.562 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003525/0.3566, allocations: 244.7 kB / 1.338 GB, free: 5.297 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.563e-06/0.3566, allocations: 0 / 1.338 GB, free: 5.297 MB / 1.029 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0005265/0.3571, allocations: 307.1 kB / 1.338 GB, free: 4.992 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.095e-05/0.3572, allocations: 8 kB / 1.338 GB, free: 4.984 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.394e-06/0.3572, allocations: 0 / 1.338 GB, free: 4.984 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.993e-06/0.3572, allocations: 4 kB / 1.338 GB, free: 4.98 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002419/0.3574, allocations: 64.12 kB / 1.338 GB, free: 4.918 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/0.3574, allocations: 15.92 kB / 1.338 GB, free: 4.902 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002083/0.3576, allocations: 35.83 kB / 1.339 GB, free: 4.867 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.857e-05/0.3576, allocations: 12 kB / 1.339 GB, free: 4.855 MB / 1.029 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.0001634/0.3578, allocations: 200.7 kB / 1.339 GB, free: 4.652 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.114e-05/0.3579, allocations: 27.81 kB / 1.339 GB, free: 4.625 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005189/0.3584, allocations: 238.4 kB / 1.339 GB, free: 4.387 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.3584, allocations: 7.938 kB / 1.339 GB, free: 4.379 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.319e-06/0.3584, allocations: 3.938 kB / 1.339 GB, free: 4.375 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.3584, allocations: 4 kB / 1.339 GB, free: 4.371 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001238/0.3596, allocations: 0.6603 MB / 1.34 GB, free: 3.66 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.3596, allocations: 4.094 kB / 1.34 GB, free: 3.656 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002017/0.3598, allocations: 47.91 kB / 1.34 GB, free: 3.609 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.071e-05/0.3598, allocations: 4 kB / 1.34 GB, free: 3.605 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.102e-05/0.3599, allocations: 8 kB / 1.34 GB, free: 3.598 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.3599, allocations: 0 / 1.34 GB, free: 3.598 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.3599, allocations: 4 kB / 1.34 GB, free: 3.594 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007671/0.3606, allocations: 459.3 kB / 1.34 GB, free: 3.113 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.823e-05/0.3607, allocations: 39.78 kB / 1.34 GB, free: 3.074 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.791e-05/0.3607, allocations: 4 kB / 1.34 GB, free: 3.07 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001896/0.3609, allocations: 19.98 kB / 1.34 GB, free: 3.051 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.934e-05/0.361, allocations: 15.97 kB / 1.34 GB, free: 3.035 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.735e-05/0.361, allocations: 12 kB / 1.34 GB, free: 3.023 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002841/0.3613, allocations: 243 kB / 1.34 GB, free: 2.785 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3613, allocations: 0 / 1.34 GB, free: 2.785 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000522/0.3618, allocations: 139.5 kB / 1.341 GB, free: 2.648 MB / 1.029 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.000186/0.362, allocations: 111.2 kB / 1.341 GB, free: 2.531 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0008146/0.3628, allocations: 373.5 kB / 1.341 GB, free: 2.168 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.3628, allocations: 0 / 1.341 GB, free: 2.168 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001989/0.363, allocations: 96.02 kB / 1.341 GB, free: 2.074 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004986/0.3635, allocations: 59.08 kB / 1.341 GB, free: 2.02 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001333/0.3648, allocations: 0.6862 MB / 1.342 GB, free: 1.281 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002255/0.3651, allocations: 195.8 kB / 1.342 GB, free: 1.07 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001087/0.3652, allocations: 31.42 kB / 1.342 GB, free: 1.039 MB / 1.029 GB Notification: Performance of SimCode: time 3.71e-07/0.3652, allocations: 7.938 kB / 1.342 GB, free: 1.031 MB / 1.029 GB Notification: Performance of Templates: time 0.007165/0.3723, allocations: 4.268 MB / 1.346 GB, free: 12.77 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_PIDInitialState.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.40024876082316]