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.001722/0.001722, allocations: 104.2 kB / 19.74 MB, free: 2.066 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.002124/0.002124, allocations: 212.9 kB / 23.04 MB, free: 4.844 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.499/1.499, allocations: 230.6 MB / 256.8 MB, free: 7.781 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.244/3.244, allocations: 0.49 GB / 0.7959 GB, free: 35.59 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.002044/0.002044, allocations: 62.28 kB / 1.155 GB, free: 25.09 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.322/0.324, allocations: 176.1 MB / 1.327 GB, free: 0.9375 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState): time 0.003341/0.3274, allocations: 1.629 MB / 1.329 GB, free: 15.31 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002048/0.3294, allocations: 1.272 MB / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002305/0.3297, allocations: 11.94 kB / 1.33 GB, free: 14.01 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002511/0.3299, allocations: 75.25 kB / 1.33 GB, free: 13.94 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001746/0.3301, allocations: 63.39 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005266/0.3306, allocations: 163.7 kB / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0007908/0.3314, allocations: 497 kB / 1.331 GB, free: 13.23 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000378/0.3318, allocations: 175.9 kB / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002494/0.332, allocations: 175.3 kB / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002293/0.3323, allocations: 182.9 kB / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 7.203e-05/0.3323, allocations: 52 kB / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 5.771e-05/0.3324, allocations: 52 kB / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001053/0.3325, allocations: 107.6 kB / 1.332 GB, free: 12.49 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001642/0.3327, allocations: 171.1 kB / 1.332 GB, free: 12.32 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006573/0.3333, allocations: 0.5951 MB / 1.332 GB, free: 11.72 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.3333, allocations: 0 / 1.332 GB, free: 11.72 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.024e-06/0.3333, allocations: 0 / 1.332 GB, free: 11.72 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.436e-06/0.3333, allocations: 0 / 1.332 GB, free: 11.72 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.001446/0.3348, allocations: 0.7486 MB / 1.333 GB, free: 10.93 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/0.3348, allocations: 12.03 kB / 1.333 GB, free: 10.92 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.812e-05/0.3349, allocations: 56.55 kB / 1.333 GB, free: 10.87 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006214/0.3355, allocations: 294.2 kB / 1.333 GB, free: 10.55 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.131e-05/0.3356, allocations: 37.38 kB / 1.333 GB, free: 10.52 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.447e-05/0.3357, allocations: 40.38 kB / 1.333 GB, free: 10.48 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007526/0.3364, allocations: 459 kB / 1.334 GB, free: 10 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.604e-05/0.3364, allocations: 192 / 1.334 GB, free: 10 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.909e-05/0.3365, allocations: 23.92 kB / 1.334 GB, free: 9.98 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.619e-05/0.3365, allocations: 8 kB / 1.334 GB, free: 9.973 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005743/0.3371, allocations: 283.8 kB / 1.334 GB, free: 9.695 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002069/0.3391, allocations: 1.14 MB / 1.335 GB, free: 8.512 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007501/0.3399, allocations: 238.9 kB / 1.335 GB, free: 8.27 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002323/0.3401, allocations: 110.8 kB / 1.336 GB, free: 8.16 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.47e-05/0.3402, allocations: 4 kB / 1.336 GB, free: 8.156 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.704e-05/0.3402, allocations: 38.55 kB / 1.336 GB, free: 8.109 MB / 1.029 GB Notification: Performance of pre-optimization done (n=20): time 1.693e-06/0.3402, allocations: 0 / 1.336 GB, free: 8.109 MB / 1.029 GB Notification: Performance of matching and sorting (n=20): time 0.0006938/0.3409, allocations: 295 kB / 1.336 GB, free: 7.816 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.468e-05/0.341, allocations: 110.8 kB / 1.336 GB, free: 7.684 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004186/0.3414, allocations: 344.4 kB / 1.336 GB, free: 7.336 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.044e-05/0.3414, allocations: 29.7 kB / 1.336 GB, free: 7.301 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002049/0.3416, allocations: 264 kB / 1.337 GB, free: 7.039 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.29e-05/0.3417, allocations: 79.25 kB / 1.337 GB, free: 6.961 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001256/0.3418, allocations: 77.97 kB / 1.337 GB, free: 6.875 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002039/0.342, allocations: 334.8 kB / 1.337 GB, free: 6.539 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002632/0.3423, allocations: 118.1 kB / 1.337 GB, free: 6.422 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003929/0.3427, allocations: 307.2 kB / 1.338 GB, free: 6.059 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000515/0.3432, allocations: 277 kB / 1.338 GB, free: 5.762 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.3432, allocations: 0 / 1.338 GB, free: 5.762 MB / 1.029 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006972/0.3439, allocations: 359.3 kB / 1.338 GB, free: 5.406 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.518e-05/0.3439, allocations: 8 kB / 1.338 GB, free: 5.398 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.932e-06/0.3439, allocations: 0 / 1.338 GB, free: 5.398 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.003e-05/0.3439, allocations: 4 kB / 1.338 GB, free: 5.395 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002876/0.3442, allocations: 79.83 kB / 1.338 GB, free: 5.316 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.506e-05/0.3443, allocations: 11.92 kB / 1.338 GB, free: 5.305 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002249/0.3445, allocations: 51.83 kB / 1.338 GB, free: 5.254 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.282e-05/0.3445, allocations: 12 kB / 1.338 GB, free: 5.242 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002771/0.3448, allocations: 200.8 kB / 1.338 GB, free: 5.043 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003186/0.3451, allocations: 294.7 kB / 1.339 GB, free: 4.691 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003419/0.3454, allocations: 229.2 kB / 1.339 GB, free: 4.441 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.993e-06/0.3454, allocations: 8 kB / 1.339 GB, free: 4.434 MB / 1.029 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0005557/0.346, allocations: 305.2 kB / 1.339 GB, free: 4.129 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 9.027e-06/0.346, allocations: 4 kB / 1.339 GB, free: 4.125 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.346, allocations: 4 kB / 1.339 GB, free: 4.121 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.779e-06/0.346, allocations: 4 kB / 1.339 GB, free: 4.117 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002265/0.3462, allocations: 63.91 kB / 1.339 GB, free: 4.055 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.377e-06/0.3463, allocations: 12.09 kB / 1.339 GB, free: 4.043 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001947/0.3464, allocations: 39.83 kB / 1.339 GB, free: 4.004 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.163e-05/0.3465, allocations: 15.98 kB / 1.339 GB, free: 3.988 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.0001612/0.3466, allocations: 200.7 kB / 1.34 GB, free: 3.785 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.506e-05/0.3467, allocations: 31.75 kB / 1.34 GB, free: 3.754 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005627/0.3473, allocations: 234.5 kB / 1.34 GB, free: 3.52 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/0.3473, allocations: 3.938 kB / 1.34 GB, free: 3.516 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.3473, allocations: 4 kB / 1.34 GB, free: 3.512 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.638e-06/0.3473, allocations: 0 / 1.34 GB, free: 3.512 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001257/0.3485, allocations: 0.6697 MB / 1.341 GB, free: 2.789 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.3485, allocations: 4 kB / 1.341 GB, free: 2.785 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001909/0.3487, allocations: 44.12 kB / 1.341 GB, free: 2.742 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.861e-06/0.3487, allocations: 4 kB / 1.341 GB, free: 2.738 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.33e-05/0.3488, allocations: 11.94 kB / 1.341 GB, free: 2.727 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.578e-06/0.3488, allocations: 3.938 kB / 1.341 GB, free: 2.723 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/0.3488, allocations: 4 kB / 1.341 GB, free: 2.719 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007518/0.3495, allocations: 448 kB / 1.341 GB, free: 2.25 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.206e-05/0.3496, allocations: 43.78 kB / 1.341 GB, free: 2.207 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.789e-05/0.3496, allocations: 8 kB / 1.341 GB, free: 2.199 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00017/0.3498, allocations: 15.98 kB / 1.341 GB, free: 2.184 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.526e-05/0.3498, allocations: 19.91 kB / 1.341 GB, free: 2.164 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.679e-05/0.3498, allocations: 8 kB / 1.341 GB, free: 2.156 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003035/0.3502, allocations: 239.1 kB / 1.341 GB, free: 1.922 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3502, allocations: 0 / 1.341 GB, free: 1.922 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0005078/0.3507, allocations: 143.5 kB / 1.341 GB, free: 1.781 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.0002063/0.3509, allocations: 117.8 kB / 1.342 GB, free: 1.66 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000778/0.3516, allocations: 361.5 kB / 1.342 GB, free: 1.309 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 8.847e-06/0.3517, allocations: 8.875 kB / 1.342 GB, free: 1.301 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001917/0.3518, allocations: 91.95 kB / 1.342 GB, free: 1.211 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005047/0.3523, allocations: 61.05 kB / 1.342 GB, free: 1.152 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001411/0.3538, allocations: 0.6891 MB / 1.343 GB, free: 420 kB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002644/0.354, allocations: 191.8 kB / 1.343 GB, free: 208 kB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.958e-05/0.3541, allocations: 35.42 kB / 1.343 GB, free: 172 kB / 1.029 GB Notification: Performance of SimCode: time 7.92e-07/0.3541, allocations: 0 / 1.343 GB, free: 172 kB / 1.029 GB Notification: Performance of Templates: time 0.007391/0.3615, allocations: 4.287 MB / 1.347 GB, free: 11.89 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.606408632127568]