Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001584/0.001584, allocations: 113.5 kB / 17.13 MB, free: 5.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001585/0.001585, allocations: 196.7 kB / 20.08 MB, free: 3.008 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.711/1.711, allocations: 225.6 MB / 248.5 MB, free: 3.633 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.549/2.549, allocations: 443.5 MB / 0.7293 GB, free: 14.57 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: 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_10_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_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002071/0.002071, allocations: 75.89 kB / 1.057 GB, free: 1.965 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3259/0.328, allocations: 160.7 MB / 1.214 GB, free: 0.9297 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState): time 0.00406/0.332, allocations: 1.85 MB / 1.216 GB, free: 15.07 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002224/0.3343, allocations: 1.271 MB / 1.217 GB, free: 13.79 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001956/0.3345, allocations: 7.938 kB / 1.217 GB, free: 13.78 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0002645/0.3347, allocations: 75.19 kB / 1.217 GB, free: 13.7 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001638/0.3349, allocations: 55.47 kB / 1.217 GB, free: 13.65 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004512/0.3353, allocations: 171.7 kB / 1.217 GB, free: 13.48 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0005288/0.3359, allocations: 493 kB / 1.218 GB, free: 13 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003783/0.3362, allocations: 191.5 kB / 1.218 GB, free: 12.8 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002148/0.3365, allocations: 179.2 kB / 1.218 GB, free: 12.63 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000248/0.3367, allocations: 199 kB / 1.218 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 7.583e-05/0.3368, allocations: 55.94 kB / 1.219 GB, free: 12.38 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 7.184e-05/0.3368, allocations: 52 kB / 1.219 GB, free: 12.33 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001116/0.337, allocations: 103.7 kB / 1.219 GB, free: 12.23 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001946/0.3372, allocations: 210.8 kB / 1.219 GB, free: 12.02 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0007823/0.3379, allocations: 0.5834 MB / 1.219 GB, free: 11.43 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 7.384e-06/0.3379, allocations: 11.94 kB / 1.219 GB, free: 11.42 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.713e-06/0.3379, allocations: 4 kB / 1.219 GB, free: 11.42 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.757e-06/0.338, allocations: 0 / 1.219 GB, free: 11.42 MB / 0.9669 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.001469/0.3394, allocations: 0.7501 MB / 1.22 GB, free: 10.61 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.3395, allocations: 8.031 kB / 1.22 GB, free: 10.61 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001089/0.3396, allocations: 56.59 kB / 1.22 GB, free: 10.55 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005777/0.3402, allocations: 352.4 kB / 1.221 GB, free: 10.17 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.17e-05/0.3402, allocations: 29.38 kB / 1.221 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.757e-05/0.3403, allocations: 44.38 kB / 1.221 GB, free: 10.1 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000851/0.3411, allocations: 407.6 kB / 1.221 GB, free: 9.688 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.642e-05/0.3411, allocations: 4.125 kB / 1.221 GB, free: 9.684 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.015e-05/0.3412, allocations: 19.94 kB / 1.221 GB, free: 9.664 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.278e-05/0.3412, allocations: 8 kB / 1.221 GB, free: 9.656 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006109/0.3418, allocations: 283.8 kB / 1.221 GB, free: 9.379 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002355/0.3441, allocations: 1.374 MB / 1.223 GB, free: 7.938 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007705/0.3449, allocations: 238.9 kB / 1.223 GB, free: 7.695 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002525/0.3452, allocations: 110.5 kB / 1.223 GB, free: 7.586 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.894e-05/0.3452, allocations: 7.984 kB / 1.223 GB, free: 7.578 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.059e-05/0.3452, allocations: 34.56 kB / 1.223 GB, free: 7.535 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=20): time 1.763e-06/0.3452, allocations: 0 / 1.223 GB, free: 7.535 MB / 0.9669 GB Notification: Performance of matching and sorting (n=20): time 0.0007594/0.346, allocations: 305.2 kB / 1.223 GB, free: 7.23 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001531/0.3462, allocations: 106.8 kB / 1.223 GB, free: 7.102 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005666/0.3467, allocations: 409.6 kB / 1.224 GB, free: 6.691 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 4.637e-05/0.3468, allocations: 29.7 kB / 1.224 GB, free: 6.656 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002751/0.347, allocations: 248.2 kB / 1.224 GB, free: 6.41 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 6.981e-05/0.3471, allocations: 83.33 kB / 1.224 GB, free: 6.328 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001133/0.3472, allocations: 62.02 kB / 1.224 GB, free: 6.258 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001929/0.3474, allocations: 350.8 kB / 1.225 GB, free: 5.906 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000437/0.3479, allocations: 118.1 kB / 1.225 GB, free: 5.789 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004037/0.3483, allocations: 204.4 kB / 1.225 GB, free: 5.551 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005513/0.3488, allocations: 269.7 kB / 1.225 GB, free: 5.262 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.3488, allocations: 0 / 1.225 GB, free: 5.262 MB / 0.9669 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007992/0.3496, allocations: 374.9 kB / 1.226 GB, free: 4.891 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.911e-05/0.3496, allocations: 8 kB / 1.226 GB, free: 4.883 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.043e-05/0.3496, allocations: 4.047 kB / 1.226 GB, free: 4.879 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.304e-05/0.3497, allocations: 7.922 kB / 1.226 GB, free: 4.871 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003069/0.35, allocations: 75.83 kB / 1.226 GB, free: 4.797 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.141e-05/0.35, allocations: 7.938 kB / 1.226 GB, free: 4.789 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002668/0.3503, allocations: 59.88 kB / 1.226 GB, free: 4.73 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.094e-05/0.3503, allocations: 15.98 kB / 1.226 GB, free: 4.715 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003443/0.3506, allocations: 200.8 kB / 1.226 GB, free: 4.516 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002782/0.3509, allocations: 184 kB / 1.226 GB, free: 4.297 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003515/0.3513, allocations: 237.7 kB / 1.226 GB, free: 4.039 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.563e-06/0.3513, allocations: 0 / 1.226 GB, free: 4.039 MB / 0.9669 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0005543/0.3518, allocations: 325.1 kB / 1.227 GB, free: 3.715 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 9.588e-06/0.3518, allocations: 4 kB / 1.227 GB, free: 3.711 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.3518, allocations: 4 kB / 1.227 GB, free: 3.707 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.171e-06/0.3518, allocations: 4 kB / 1.227 GB, free: 3.703 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002332/0.3521, allocations: 68.02 kB / 1.227 GB, free: 3.637 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.942e-06/0.3521, allocations: 4 kB / 1.227 GB, free: 3.633 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002196/0.3523, allocations: 43.81 kB / 1.227 GB, free: 3.59 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.812e-05/0.3523, allocations: 8 kB / 1.227 GB, free: 3.582 MB / 0.9669 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.0002581/0.3526, allocations: 204.1 kB / 1.227 GB, free: 3.375 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.027e-05/0.3526, allocations: 35.77 kB / 1.227 GB, free: 3.34 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005833/0.3532, allocations: 247 kB / 1.227 GB, free: 3.09 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.3532, allocations: 3.984 kB / 1.227 GB, free: 3.086 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.3532, allocations: 0 / 1.227 GB, free: 3.086 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.3532, allocations: 0 / 1.227 GB, free: 3.086 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001613/0.3549, allocations: 0.7834 MB / 1.228 GB, free: 2.23 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.3549, allocations: 0 / 1.228 GB, free: 2.23 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002045/0.3551, allocations: 47.91 kB / 1.228 GB, free: 2.184 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.3551, allocations: 0 / 1.228 GB, free: 2.184 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.268e-05/0.3551, allocations: 8 kB / 1.228 GB, free: 2.176 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.53e-06/0.3551, allocations: 4 kB / 1.228 GB, free: 2.172 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.3551, allocations: 4.156 kB / 1.228 GB, free: 2.168 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008366/0.3559, allocations: 472.9 kB / 1.228 GB, free: 1.676 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001195/0.3561, allocations: 116.8 kB / 1.229 GB, free: 1.543 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.169e-05/0.3561, allocations: 8 kB / 1.229 GB, free: 1.535 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001934/0.3563, allocations: 27.91 kB / 1.229 GB, free: 1.508 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.724e-05/0.3563, allocations: 11.92 kB / 1.229 GB, free: 1.496 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.842e-05/0.3563, allocations: 16 kB / 1.229 GB, free: 1.48 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.000338/0.3567, allocations: 283.2 kB / 1.229 GB, free: 1.211 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9e-08/0.3567, allocations: 4 kB / 1.229 GB, free: 1.207 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0005184/0.3572, allocations: 123.7 kB / 1.229 GB, free: 1.086 MB / 0.9669 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.0002016/0.3574, allocations: 111.2 kB / 1.229 GB, free: 0.9688 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001016/0.3584, allocations: 365.5 kB / 1.229 GB, free: 0.6133 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 6.432e-06/0.3584, allocations: 4 kB / 1.229 GB, free: 0.6094 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0002079/0.3586, allocations: 89.02 kB / 1.23 GB, free: 0.5234 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005575/0.3592, allocations: 80.25 kB / 1.23 GB, free: 456 kB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001587/0.3608, allocations: 0.7065 MB / 1.23 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005059/0.3613, allocations: 0.7957 MB / 1.231 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001055/0.3614, allocations: 31.44 kB / 1.231 GB, free: 14.83 MB / 0.9825 GB Notification: Performance of SimCode: time 6.12e-07/0.3614, allocations: 0 / 1.231 GB, free: 14.83 MB / 0.9825 GB Notification: Performance of Templates: time 0.008083/0.3695, allocations: 4.366 MB / 1.235 GB, free: 10.46 MB / 0.9825 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_PIDInitialState.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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.030651786830276]