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.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.0009817/0.0009817, allocations: 76.55 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008401/0.0008401, allocations: 181.9 kB / 23.22 MB, free: 1.348 MB / 18.57 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 0.888/0.888, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.764/1.764, allocations: 389 MB / 0.6338 GB, free: 12.71 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.485e-06/2.485e-06, allocations: 0 / 1.001 GB, free: 12.95 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.536e-05/2.784e-05, allocations: 2.281 kB / 1.001 GB, free: 12.95 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState): time 0.002116/0.002143, allocations: 1.625 MB / 1.003 GB, free: 11.32 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001443/0.003587, allocations: 1.287 MB / 1.004 GB, free: 10.02 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001874/0.003774, allocations: 11.94 kB / 1.004 GB, free: 10.01 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.000192/0.003966, allocations: 75.19 kB / 1.004 GB, free: 9.934 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0002608/0.004227, allocations: 71.38 kB / 1.004 GB, free: 9.863 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002253/0.004452, allocations: 155.8 kB / 1.004 GB, free: 9.711 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0003433/0.004795, allocations: 0.4969 MB / 1.005 GB, free: 9.211 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002852/0.005081, allocations: 187.8 kB / 1.005 GB, free: 9.023 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002249/0.005306, allocations: 267.4 kB / 1.005 GB, free: 8.762 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001417/0.005447, allocations: 147.4 kB / 1.005 GB, free: 8.617 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 5.427e-05/0.005501, allocations: 52 kB / 1.005 GB, free: 8.566 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 3.694e-05/0.005538, allocations: 52 kB / 1.005 GB, free: 8.516 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 6.795e-05/0.005606, allocations: 111.6 kB / 1.005 GB, free: 8.406 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 9.329e-05/0.0057, allocations: 135.6 kB / 1.006 GB, free: 8.273 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0004128/0.006112, allocations: 0.6073 MB / 1.006 GB, free: 7.664 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.425e-06/0.006115, allocations: 0 / 1.006 GB, free: 7.664 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.492e-06/0.006116, allocations: 4 kB / 1.006 GB, free: 7.66 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5.65e-06/0.006122, allocations: 0 / 1.006 GB, free: 7.66 MB / 0.9636 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.0008785/0.007001, allocations: 0.7408 MB / 1.007 GB, free: 6.879 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.007038, allocations: 21.27 kB / 1.007 GB, free: 6.859 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.768e-05/0.007106, allocations: 48.66 kB / 1.007 GB, free: 6.812 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006224/0.007728, allocations: 293.4 kB / 1.007 GB, free: 6.5 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.439e-05/0.007753, allocations: 29.38 kB / 1.007 GB, free: 6.473 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.33e-05/0.007796, allocations: 44.38 kB / 1.007 GB, free: 6.43 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000475/0.008271, allocations: 458.9 kB / 1.008 GB, free: 5.957 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.594e-05/0.008287, allocations: 192 / 1.008 GB, free: 5.957 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.518e-05/0.008312, allocations: 16.38 kB / 1.008 GB, free: 5.941 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.137e-05/0.008324, allocations: 16.38 kB / 1.008 GB, free: 5.926 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003578/0.008681, allocations: 283.8 kB / 1.008 GB, free: 5.648 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001241/0.009923, allocations: 1.144 MB / 1.009 GB, free: 4.453 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004771/0.0104, allocations: 234.8 kB / 1.009 GB, free: 4.215 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001421/0.01054, allocations: 120.8 kB / 1.009 GB, free: 4.094 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.994e-05/0.01056, allocations: 0 / 1.009 GB, free: 4.094 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.01059, allocations: 34.56 kB / 1.009 GB, free: 4.051 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=20): time 1.072e-06/0.01059, allocations: 0 / 1.009 GB, free: 4.051 MB / 0.9636 GB Notification: Performance of matching and sorting (n=20): time 0.0004296/0.01102, allocations: 291.3 kB / 1.01 GB, free: 3.762 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.62e-05/0.01106, allocations: 110.8 kB / 1.01 GB, free: 3.629 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002591/0.01132, allocations: 352.4 kB / 1.01 GB, free: 3.277 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.941e-05/0.01134, allocations: 29.7 kB / 1.01 GB, free: 3.242 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001244/0.01147, allocations: 264 kB / 1.01 GB, free: 2.98 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 3.733e-05/0.0115, allocations: 71.38 kB / 1.011 GB, free: 2.91 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.362e-05/0.01158, allocations: 69.97 kB / 1.011 GB, free: 2.832 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.376e-05/0.01167, allocations: 350.7 kB / 1.011 GB, free: 2.48 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001592/0.01183, allocations: 110.1 kB / 1.011 GB, free: 2.371 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002298/0.01206, allocations: 319.1 kB / 1.011 GB, free: 1.996 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003145/0.01237, allocations: 277.8 kB / 1.012 GB, free: 1.699 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.01238, allocations: 0 / 1.012 GB, free: 1.699 MB / 0.9636 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.000414/0.01279, allocations: 361.2 kB / 1.012 GB, free: 1.34 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.01281, allocations: 8 kB / 1.012 GB, free: 1.332 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.77e-06/0.01281, allocations: 3.938 kB / 1.012 GB, free: 1.328 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/0.01283, allocations: 4 kB / 1.012 GB, free: 1.324 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001578/0.01299, allocations: 72.12 kB / 1.012 GB, free: 1.254 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-06/0.01299, allocations: 7.984 kB / 1.012 GB, free: 1.246 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001257/0.01312, allocations: 47.7 kB / 1.012 GB, free: 1.199 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.493e-05/0.01313, allocations: 12 kB / 1.012 GB, free: 1.188 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001815/0.01332, allocations: 208.7 kB / 1.012 GB, free: 0.9805 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001748/0.01349, allocations: 282.2 kB / 1.013 GB, free: 0.6406 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002094/0.0137, allocations: 233.8 kB / 1.013 GB, free: 396 kB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.112e-06/0.0137, allocations: 0 / 1.013 GB, free: 396 kB / 0.9636 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0003146/0.01402, allocations: 319.4 kB / 1.013 GB, free: 72 kB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 8.216e-06/0.01402, allocations: 4.219 kB / 1.013 GB, free: 68 kB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.01403, allocations: 12 kB / 1.013 GB, free: 56 kB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.709e-06/0.01403, allocations: 7.938 kB / 1.013 GB, free: 48 kB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001322/0.01417, allocations: 60.03 kB / 1.013 GB, free: 15.98 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.554e-06/0.01417, allocations: 0 / 1.013 GB, free: 15.98 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001096/0.01428, allocations: 43.81 kB / 1.013 GB, free: 15.94 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.062e-05/0.01429, allocations: 15.83 kB / 1.013 GB, free: 15.93 MB / 0.9792 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 9.027e-05/0.01438, allocations: 200.1 kB / 1.013 GB, free: 15.73 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.26e-05/0.01441, allocations: 31.81 kB / 1.013 GB, free: 15.7 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003068/0.01472, allocations: 236.5 kB / 1.014 GB, free: 15.46 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.02e-06/0.01472, allocations: 8.078 kB / 1.014 GB, free: 15.45 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.01473, allocations: 0 / 1.014 GB, free: 15.45 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.01473, allocations: 7.922 kB / 1.014 GB, free: 15.44 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009751/0.01571, allocations: 0.6504 MB / 1.014 GB, free: 14.74 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.01571, allocations: 0 / 1.014 GB, free: 14.74 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001051/0.01581, allocations: 47.91 kB / 1.014 GB, free: 14.69 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.458e-06/0.01582, allocations: 7.938 kB / 1.014 GB, free: 14.68 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.435e-05/0.01583, allocations: 7.984 kB / 1.014 GB, free: 14.68 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.01584, allocations: 7.938 kB / 1.014 GB, free: 14.67 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.01584, allocations: 0 / 1.014 GB, free: 14.67 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004528/0.01629, allocations: 456.6 kB / 1.015 GB, free: 14.2 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 3.906e-05/0.01633, allocations: 39.75 kB / 1.015 GB, free: 14.16 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.399e-05/0.01635, allocations: 7.969 kB / 1.015 GB, free: 14.15 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.678e-05/0.01645, allocations: 19.98 kB / 1.015 GB, free: 14.13 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.138e-05/0.01647, allocations: 15.98 kB / 1.015 GB, free: 14.11 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.033e-05/0.01648, allocations: 7.984 kB / 1.015 GB, free: 14.11 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0001636/0.01665, allocations: 239.1 kB / 1.015 GB, free: 13.87 MB / 0.9792 GB Notification: Performance of sort global known variables: time 5e-08/0.01665, allocations: 4 kB / 1.015 GB, free: 13.87 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0003346/0.01698, allocations: 151.5 kB / 1.015 GB, free: 13.72 MB / 0.9792 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.0001201/0.0171, allocations: 105.4 kB / 1.015 GB, free: 13.61 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0004726/0.01757, allocations: 368.3 kB / 1.016 GB, free: 13.25 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.01757, allocations: 0 / 1.016 GB, free: 13.25 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0001057/0.01768, allocations: 87.89 kB / 1.016 GB, free: 13.16 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003373/0.01802, allocations: 74.02 kB / 1.016 GB, free: 13.09 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008648/0.01888, allocations: 0.6847 MB / 1.017 GB, free: 12.36 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001234/0.01901, allocations: 203.7 kB / 1.017 GB, free: 12.13 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.648e-05/0.01908, allocations: 28.5 kB / 1.017 GB, free: 12.11 MB / 0.9792 GB Notification: Performance of SimCode: time 5.11e-07/0.01908, allocations: 0 / 1.017 GB, free: 12.11 MB / 0.9792 GB Notification: Performance of Templates: time 0.004519/0.0236, allocations: 4.29 MB / 1.021 GB, free: 7.824 MB / 0.9792 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.PIDInitialState.pipe 2>&1) [Timeout 800] 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 6.882057113572955]