Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime.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.0009077/0.0009077, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001059/0.001967, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0007076/0.0007076, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008561/0.001564, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.013/1.013, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09946/1.113, allocations: 53.66 MB / 243.2 MB, free: 15.57 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.521/2.521, allocations: 446.7 MB / 0.6745 GB, free: 6.207 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.285/2.806, allocations: 145.9 MB / 0.817 GB, free: 4.203 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T.y|L.y|PIDIntTim.Ti",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime") translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T.y|L.y|PIDIntTim.Ti",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 0.8183 GB, free: 2.918 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.459e-05/2.618e-05, allocations: 4.844 kB / 0.8183 GB, free: 2.914 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime): time 0.001605/0.001631, allocations: 0.8907 MB / 0.8191 GB, free: 2.02 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0008217/0.002453, allocations: 0.8936 MB / 0.82 GB, free: 1.113 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.55e-05/0.002498, allocations: 4 kB / 0.82 GB, free: 1.109 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 3.119e-05/0.00253, allocations: 11.86 kB / 0.82 GB, free: 1.098 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 4.992e-05/0.00258, allocations: 15.8 kB / 0.8201 GB, free: 1.082 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 6.143e-05/0.002641, allocations: 35.95 kB / 0.8201 GB, free: 1.047 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0001018/0.002743, allocations: 111.7 kB / 0.8202 GB, free: 0.9375 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001199/0.002863, allocations: 50.19 kB / 0.8202 GB, free: 0.8867 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001015/0.002964, allocations: 67.88 kB / 0.8203 GB, free: 0.8203 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 4.964e-05/0.003014, allocations: 35.89 kB / 0.8203 GB, free: 0.7852 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 2.563e-05/0.003039, allocations: 12 kB / 0.8204 GB, free: 0.7734 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 1.056e-05/0.00305, allocations: 8 kB / 0.8204 GB, free: 0.7656 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 2.106e-05/0.003071, allocations: 19.94 kB / 0.8204 GB, free: 0.7461 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 3.059e-05/0.003102, allocations: 23.94 kB / 0.8204 GB, free: 0.7227 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001076/0.003209, allocations: 75.62 kB / 0.8205 GB, free: 0.6484 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.443e-05/0.003224, allocations: 0 / 0.8205 GB, free: 0.6484 MB / 0.7917 GB Notification: Performance of FrontEnd: time 7.52e-07/0.003224, allocations: 0 / 0.8205 GB, free: 0.6484 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.294e-05/0.003237, allocations: 4 kB / 0.8205 GB, free: 0.6445 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0004213/0.003659, allocations: 316.3 kB / 0.8208 GB, free: 316 kB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.619e-05/0.003695, allocations: 8.625 kB / 0.8208 GB, free: 308 kB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.98e-05/0.003725, allocations: 12.92 kB / 0.8208 GB, free: 296 kB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001384/0.003863, allocations: 145.5 kB / 0.8209 GB, free: 124 kB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.207e-06/0.003872, allocations: 4.375 kB / 0.8209 GB, free: 120 kB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.155e-05/0.003884, allocations: 8.375 kB / 0.8209 GB, free: 112 kB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001466/0.00403, allocations: 101.8 kB / 0.821 GB, free: 4 kB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.853e-06/0.004037, allocations: 4.125 kB / 0.8211 GB, free: 0 / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.608e-06/0.004047, allocations: 8.422 kB / 0.8211 GB, free: 15.99 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.441e-06/0.004052, allocations: 4.375 kB / 0.8211 GB, free: 15.98 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.086e-05/0.004093, allocations: 23.92 kB / 0.8211 GB, free: 15.96 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002963/0.004389, allocations: 251.8 kB / 0.8213 GB, free: 15.7 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001506/0.00454, allocations: 62.55 kB / 0.8214 GB, free: 15.63 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.187e-05/0.004572, allocations: 24.84 kB / 0.8214 GB, free: 15.61 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.031e-05/0.004582, allocations: 4 kB / 0.8214 GB, free: 15.6 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.267e-05/0.004605, allocations: 30.56 kB / 0.8214 GB, free: 15.56 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=9): time 1.182e-06/0.004606, allocations: 4 kB / 0.8214 GB, free: 15.56 MB / 0.8073 GB Notification: Performance of matching and sorting (n=9): time 0.0001308/0.004737, allocations: 73.8 kB / 0.8215 GB, free: 15.48 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.348e-05/0.00477, allocations: 51.41 kB / 0.8216 GB, free: 15.42 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.397e-05/0.004824, allocations: 114.7 kB / 0.8217 GB, free: 15.29 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.024e-05/0.004835, allocations: 25.7 kB / 0.8217 GB, free: 15.26 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.812e-05/0.004873, allocations: 112 kB / 0.8218 GB, free: 15.15 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.38e-05/0.004897, allocations: 23.75 kB / 0.8218 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.237e-05/0.004929, allocations: 25.69 kB / 0.8219 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.995e-05/0.005009, allocations: 322.8 kB / 0.8222 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.592e-05/0.005025, allocations: 11.92 kB / 0.8222 GB, free: 14.76 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.457e-05/0.005039, allocations: 12 kB / 0.8222 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.317e-05/0.005073, allocations: 28.84 kB / 0.8222 GB, free: 14.71 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.005075, allocations: 0 / 0.8222 GB, free: 14.71 MB / 0.8073 GB Notification: Performance of matching and sorting (n=9) (initialization): time 6.073e-05/0.005135, allocations: 65.61 kB / 0.8223 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/0.005147, allocations: 4 kB / 0.8223 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.005152, allocations: 0 / 0.8223 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.854e-06/0.005159, allocations: 0 / 0.8223 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001072/0.005267, allocations: 23.98 kB / 0.8223 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.176e-06/0.00527, allocations: 0 / 0.8223 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.429e-05/0.005294, allocations: 8 kB / 0.8223 GB, free: 14.61 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.807e-06/0.005298, allocations: 0 / 0.8223 GB, free: 14.61 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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 6.053e-05/0.005358, allocations: 125.7 kB / 0.8224 GB, free: 14.48 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.426e-05/0.005373, allocations: 8 kB / 0.8224 GB, free: 14.47 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.518e-05/0.005398, allocations: 16.38 kB / 0.8225 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-06/0.005399, allocations: 0 / 0.8225 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.823e-06/0.005401, allocations: 0 / 0.8225 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.005404, allocations: 3.984 kB / 0.8225 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.955e-05/0.005504, allocations: 101.8 kB / 0.8226 GB, free: 14.33 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.005505, allocations: 0 / 0.8226 GB, free: 14.33 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.427e-05/0.00556, allocations: 23.98 kB / 0.8226 GB, free: 14.3 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 9.438e-06/0.005569, allocations: 15.94 kB / 0.8226 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.62e-07/0.00557, allocations: 4 kB / 0.8226 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.749e-06/0.005575, allocations: 0 / 0.8226 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.01e-07/0.005575, allocations: 0 / 0.8226 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.005576, allocations: 0 / 0.8226 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.13e-05/0.005668, allocations: 163.4 kB / 0.8227 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.678e-06/0.005677, allocations: 0 / 0.8227 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.629e-05/0.005714, allocations: 7.984 kB / 0.8228 GB, free: 14.1 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.822e-05/0.005752, allocations: 11.98 kB / 0.8228 GB, free: 14.09 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.084e-06/0.005754, allocations: 0 / 0.8228 GB, free: 14.09 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.477e-05/0.005769, allocations: 20.83 kB / 0.8228 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.005769, allocations: 4 kB / 0.8228 GB, free: 14.06 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001136/0.005882, allocations: 19.95 kB / 0.8228 GB, free: 14.04 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (9): * Single equations (assignments): 9 * 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 6.604e-05/0.005948, allocations: 84.36 kB / 0.8229 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 7.371e-05/0.006022, allocations: 33.59 kB / 0.8229 GB, free: 13.92 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 6.502e-06/0.006029, allocations: 4 kB / 0.8229 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.515e-05/0.006054, allocations: 24.92 kB / 0.823 GB, free: 13.89 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001736/0.006227, allocations: 35.92 kB / 0.823 GB, free: 13.85 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004615/0.006689, allocations: 224.3 kB / 0.8232 GB, free: 13.61 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.935e-05/0.006728, allocations: 67.2 kB / 0.8233 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.078e-05/0.006759, allocations: 11.94 kB / 0.8233 GB, free: 13.51 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.172e-05/0.006821, allocations: 63.36 kB / 0.8233 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of SimCode: time 6.12e-07/0.006821, allocations: 0 / 0.8233 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of Templates: time 0.002553/0.009374, allocations: 1.08 MB / 0.8244 GB, free: 12.43 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime.sim & ./Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.480720310471952]