Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001354/0.001354, allocations: 78.72 kB / 19.76 MB, free: 1.875 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.001699/0.001699, allocations: 158.6 kB / 23.01 MB, free: 4.598 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.526/1.526, allocations: 177.2 MB / 203.4 MB, free: 8.883 MB / 190.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 2.895/2.895, allocations: 377.9 MB / 0.6228 GB, free: 12.57 MB / 0.5919 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.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T.y|L.y|PIDIntTim.Ti",fileNamePrefix="Buildings_12_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_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime") [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.002106/0.002106, allocations: 71.89 kB / 0.982 GB, free: 12.17 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.065/1.067, allocations: 176.1 MB / 1.154 GB, free: 33.29 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime): time 0.001762/1.069, allocations: 0.8192 MB / 1.155 GB, free: 32.78 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0007643/1.07, allocations: 0.871 MB / 1.156 GB, free: 32.12 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.602e-05/1.07, allocations: 0 / 1.156 GB, free: 32.12 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 3.41e-05/1.07, allocations: 7.875 kB / 1.156 GB, free: 32.11 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 8.54e-05/1.07, allocations: 22.5 kB / 1.156 GB, free: 32.1 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 6.911e-05/1.07, allocations: 33.66 kB / 1.156 GB, free: 32.08 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0001111/1.07, allocations: 110 kB / 1.156 GB, free: 32.02 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001385/1.071, allocations: 46.78 kB / 1.156 GB, free: 32 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 7.481e-05/1.071, allocations: 44.09 kB / 1.156 GB, free: 31.97 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 6.285e-05/1.071, allocations: 44.77 kB / 1.156 GB, free: 31.95 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 2.077e-05/1.071, allocations: 10.62 kB / 1.156 GB, free: 31.95 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 1.515e-05/1.071, allocations: 11.97 kB / 1.156 GB, free: 31.95 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 2.276e-05/1.071, allocations: 22.27 kB / 1.156 GB, free: 31.93 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 3.677e-05/1.071, allocations: 43 kB / 1.156 GB, free: 31.9 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0001282/1.071, allocations: 146.6 kB / 1.156 GB, free: 31.85 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/1.071, allocations: 0 / 1.156 GB, free: 31.85 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.483e-06/1.071, allocations: 0 / 1.156 GB, free: 31.85 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.461e-06/1.071, allocations: 2.781 kB / 1.156 GB, free: 31.85 MB / 1.076 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.0004738/1.071, allocations: 338.1 kB / 1.156 GB, free: 31.54 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.104e-05/1.071, allocations: 11.34 kB / 1.156 GB, free: 31.54 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.568e-05/1.071, allocations: 10.52 kB / 1.156 GB, free: 31.54 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001508/1.072, allocations: 141.7 kB / 1.157 GB, free: 31.39 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.356e-05/1.072, allocations: 10.16 kB / 1.157 GB, free: 31.39 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.523e-05/1.072, allocations: 10.25 kB / 1.157 GB, free: 31.38 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002995/1.072, allocations: 113.8 kB / 1.157 GB, free: 31.33 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/1.072, allocations: 192 / 1.157 GB, free: 31.33 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.553e-05/1.072, allocations: 10.62 kB / 1.157 GB, free: 31.32 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.702e-06/1.072, allocations: 6.203 kB / 1.157 GB, free: 31.32 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003336/1.072, allocations: 104.9 kB / 1.157 GB, free: 31.3 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003809/1.073, allocations: 325.2 kB / 1.157 GB, free: 31.02 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000342/1.073, allocations: 108.1 kB / 1.157 GB, free: 30.98 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001753/1.073, allocations: 62.48 kB / 1.157 GB, free: 30.95 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.515e-05/1.073, allocations: 6.406 kB / 1.157 GB, free: 30.95 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.704e-05/1.073, allocations: 37.28 kB / 1.157 GB, free: 30.91 MB / 1.076 GB Notification: Performance of pre-optimization done (n=9): time 1.172e-06/1.073, allocations: 0 / 1.157 GB, free: 30.91 MB / 1.076 GB Notification: Performance of matching and sorting (n=9): time 0.00056/1.074, allocations: 177.4 kB / 1.158 GB, free: 30.84 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.835e-05/1.074, allocations: 55.34 kB / 1.158 GB, free: 30.77 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.078e-05/1.074, allocations: 115.1 kB / 1.158 GB, free: 30.67 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 8.406e-06/1.074, allocations: 29.7 kB / 1.158 GB, free: 30.63 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 3.483e-05/1.074, allocations: 104.9 kB / 1.158 GB, free: 30.54 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.823e-05/1.074, allocations: 36.25 kB / 1.158 GB, free: 30.51 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.561e-05/1.074, allocations: 22.55 kB / 1.158 GB, free: 30.49 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 3.995e-05/1.074, allocations: 318.8 kB / 1.158 GB, free: 30.17 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001582/1.074, allocations: 42.39 kB / 1.158 GB, free: 30.16 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001453/1.074, allocations: 49.39 kB / 1.158 GB, free: 30.15 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002981/1.075, allocations: 105.9 kB / 1.158 GB, free: 30.11 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/1.075, allocations: 4 kB / 1.158 GB, free: 30.11 MB / 1.076 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000334/1.075, allocations: 132.3 kB / 1.158 GB, free: 30.05 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/1.075, allocations: 8.031 kB / 1.158 GB, free: 30.05 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/1.075, allocations: 4 kB / 1.158 GB, free: 30.05 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/1.075, allocations: 3.938 kB / 1.158 GB, free: 30.04 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001386/1.075, allocations: 25.8 kB / 1.159 GB, free: 30.04 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/1.075, allocations: 3.938 kB / 1.159 GB, free: 30.04 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.503e-05/1.075, allocations: 14.91 kB / 1.159 GB, free: 30.04 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.316e-06/1.075, allocations: 2.844 kB / 1.159 GB, free: 30.04 MB / 1.076 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 5.585e-05/1.075, allocations: 120.6 kB / 1.159 GB, free: 29.91 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.577e-05/1.075, allocations: 6.672 kB / 1.159 GB, free: 29.91 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.779e-05/1.075, allocations: 19.47 kB / 1.159 GB, free: 29.89 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/1.075, allocations: 0 / 1.159 GB, free: 29.89 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/1.075, allocations: 3.938 kB / 1.159 GB, free: 29.89 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/1.075, allocations: 2.875 kB / 1.159 GB, free: 29.89 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000127/1.075, allocations: 136.3 kB / 1.159 GB, free: 29.75 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/1.075, allocations: 2.562 kB / 1.159 GB, free: 29.75 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000145/1.076, allocations: 29.09 kB / 1.159 GB, free: 29.75 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/1.076, allocations: 0 / 1.159 GB, free: 29.75 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.838e-06/1.076, allocations: 4 kB / 1.159 GB, free: 29.75 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.255e-06/1.076, allocations: 6.781 kB / 1.159 GB, free: 29.74 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/1.076, allocations: 0 / 1.159 GB, free: 29.74 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003594/1.076, allocations: 239.9 kB / 1.159 GB, free: 29.57 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.208e-05/1.076, allocations: 6.578 kB / 1.159 GB, free: 29.57 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.529e-05/1.076, allocations: 2.594 kB / 1.159 GB, free: 29.57 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001135/1.076, allocations: 12.23 kB / 1.159 GB, free: 29.57 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.554e-05/1.076, allocations: 13.98 kB / 1.159 GB, free: 29.56 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.24e-06/1.076, allocations: 6.781 kB / 1.159 GB, free: 29.56 MB / 1.076 GB Notification: Performance of sorting global known variables: time 3.332e-05/1.076, allocations: 90.64 kB / 1.159 GB, free: 29.48 MB / 1.076 GB Notification: Performance of sort global known variables: time 7.1e-08/1.076, allocations: 3.938 kB / 1.159 GB, free: 29.48 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002309/1.076, allocations: 25.52 kB / 1.159 GB, free: 29.46 MB / 1.076 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 8.308e-05/1.077, allocations: 100.5 kB / 1.159 GB, free: 29.38 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0003678/1.077, allocations: 104.5 kB / 1.159 GB, free: 29.36 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/1.077, allocations: 0 / 1.159 GB, free: 29.36 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001626/1.077, allocations: 58.81 kB / 1.159 GB, free: 29.34 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000327/1.077, allocations: 16.97 kB / 1.16 GB, free: 29.33 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003905/1.078, allocations: 213.7 kB / 1.16 GB, free: 29.17 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.054e-05/1.078, allocations: 87.95 kB / 1.16 GB, free: 29.09 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 4.271e-05/1.078, allocations: 6.25 kB / 1.16 GB, free: 29.09 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.166e-05/1.078, allocations: 14.16 kB / 1.16 GB, free: 29.08 MB / 1.076 GB Notification: Performance of SimCode: time 3e-07/1.078, allocations: 0 / 1.16 GB, free: 29.08 MB / 1.076 GB Notification: Performance of Templates: time 0.003599/1.081, allocations: 1.05 MB / 1.161 GB, free: 28.96 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime.sim & ./Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIDIntegralTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime.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: 9.233175553032197]