Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.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.001759/0.001759, allocations: 105.5 kB / 16.45 MB, free: 6.453 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.002684/0.002684, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.563/1.563, allocations: 230.6 MB / 252.8 MB, free: 8.965 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.401/3.401, allocations: 0.4899 GB / 0.7915 GB, free: 33.25 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.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kp.y|T.y|L.y|PID.k|PID.Ti|PID.Td",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID") translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kp.y|T.y|L.y|PID.k|PID.Ti|PID.Td",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID") [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.002157/0.002157, allocations: 69.11 kB / 1.149 GB, free: 26.21 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4336/0.4357, allocations: 176.1 MB / 1.321 GB, free: 2.926 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID): time 0.002699/0.4384, allocations: 1.26 MB / 1.322 GB, free: 1.664 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001408/0.4398, allocations: 1.003 MB / 1.323 GB, free: 0.6484 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001184/0.44, allocations: 4 kB / 1.323 GB, free: 0.6445 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 6.968e-05/0.44, allocations: 23.67 kB / 1.323 GB, free: 0.6211 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001545/0.4402, allocations: 35.66 kB / 1.324 GB, free: 0.5859 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001734/0.4404, allocations: 99.84 kB / 1.324 GB, free: 500 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.000326/0.4407, allocations: 303.4 kB / 1.324 GB, free: 196 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003181/0.441, allocations: 153.5 kB / 1.324 GB, free: 36 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001718/0.4412, allocations: 111.8 kB / 1.324 GB, free: 15.92 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001488/0.4413, allocations: 119.4 kB / 1.324 GB, free: 15.8 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.216e-05/0.4414, allocations: 36 kB / 1.324 GB, free: 15.77 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 4.072e-05/0.4414, allocations: 36 kB / 1.324 GB, free: 15.73 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 6.856e-05/0.4415, allocations: 71.81 kB / 1.324 GB, free: 15.66 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001302/0.4416, allocations: 131.3 kB / 1.325 GB, free: 15.54 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004799/0.4421, allocations: 442.3 kB / 1.325 GB, free: 15.1 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.4421, allocations: 0 / 1.325 GB, free: 15.1 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.362e-06/0.4421, allocations: 0 / 1.325 GB, free: 15.1 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.383e-05/0.4421, allocations: 4 kB / 1.325 GB, free: 15.1 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0009709/0.4431, allocations: 0.5457 MB / 1.326 GB, free: 14.5 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/0.4431, allocations: 11.97 kB / 1.326 GB, free: 14.49 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.509e-05/0.4432, allocations: 36.75 kB / 1.326 GB, free: 14.45 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003668/0.4436, allocations: 272.5 kB / 1.326 GB, free: 14.15 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.877e-05/0.4436, allocations: 20.94 kB / 1.326 GB, free: 14.12 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.153e-05/0.4436, allocations: 24.38 kB / 1.326 GB, free: 14.1 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006081/0.4442, allocations: 261.3 kB / 1.326 GB, free: 13.84 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.4442, allocations: 192 / 1.326 GB, free: 13.84 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.019e-05/0.4443, allocations: 15.94 kB / 1.326 GB, free: 13.82 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.897e-06/0.4443, allocations: 4 kB / 1.326 GB, free: 13.82 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006735/0.445, allocations: 238.1 kB / 1.326 GB, free: 13.59 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001165/0.4461, allocations: 0.7484 MB / 1.327 GB, free: 12.79 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000594/0.4467, allocations: 206.6 kB / 1.327 GB, free: 12.58 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003414/0.4471, allocations: 112.8 kB / 1.327 GB, free: 12.46 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.175e-05/0.4471, allocations: 0 / 1.327 GB, free: 12.46 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.788e-05/0.4471, allocations: 34.56 kB / 1.327 GB, free: 12.42 MB / 1.029 GB Notification: Performance of pre-optimization done (n=20): time 9.92e-07/0.4471, allocations: 0 / 1.327 GB, free: 12.42 MB / 1.029 GB Notification: Performance of matching and sorting (n=20): time 0.001032/0.4481, allocations: 323 kB / 1.328 GB, free: 12.1 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.065e-05/0.4482, allocations: 59.34 kB / 1.328 GB, free: 12.03 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001448/0.4483, allocations: 139.9 kB / 1.328 GB, free: 11.89 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.675e-05/0.4484, allocations: 29.7 kB / 1.328 GB, free: 11.85 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001177/0.4485, allocations: 156.6 kB / 1.328 GB, free: 11.69 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.866e-05/0.4485, allocations: 67.42 kB / 1.328 GB, free: 11.62 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.183e-05/0.4486, allocations: 37.67 kB / 1.328 GB, free: 11.58 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000156/0.4488, allocations: 326.8 kB / 1.329 GB, free: 11.25 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002864/0.4491, allocations: 87.86 kB / 1.329 GB, free: 11.17 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002878/0.4493, allocations: 101.6 kB / 1.329 GB, free: 11.06 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005652/0.4499, allocations: 187.6 kB / 1.329 GB, free: 10.88 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.798e-06/0.4499, allocations: 8 kB / 1.329 GB, free: 10.87 MB / 1.029 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0006447/0.4506, allocations: 235.3 kB / 1.329 GB, free: 10.63 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.4506, allocations: 4 kB / 1.329 GB, free: 10.63 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.545e-06/0.4506, allocations: 4 kB / 1.329 GB, free: 10.62 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.8e-05/0.4506, allocations: 3.984 kB / 1.329 GB, free: 10.62 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002804/0.4509, allocations: 63.92 kB / 1.329 GB, free: 10.56 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.032e-05/0.4509, allocations: 3.938 kB / 1.329 GB, free: 10.55 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001473/0.451, allocations: 23.91 kB / 1.329 GB, free: 10.53 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.627e-05/0.4511, allocations: 8 kB / 1.329 GB, free: 10.52 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (21): * Single equations (assignments): 21 * 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.0001379/0.4512, allocations: 137.8 kB / 1.329 GB, free: 10.38 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.682e-05/0.4512, allocations: 11.91 kB / 1.329 GB, free: 10.37 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.491e-05/0.4513, allocations: 25.19 kB / 1.329 GB, free: 10.34 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.4513, allocations: 4 kB / 1.329 GB, free: 10.34 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.067e-06/0.4513, allocations: 3.938 kB / 1.329 GB, free: 10.34 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.4513, allocations: 3.984 kB / 1.329 GB, free: 10.33 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003807/0.4517, allocations: 301.5 kB / 1.33 GB, free: 9.988 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.4517, allocations: 0 / 1.33 GB, free: 9.988 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002491/0.4519, allocations: 55.95 kB / 1.33 GB, free: 9.934 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.4519, allocations: 0 / 1.33 GB, free: 9.934 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.471e-05/0.452, allocations: 8 kB / 1.33 GB, free: 9.926 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.502e-06/0.452, allocations: 0 / 1.33 GB, free: 9.926 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.379e-06/0.452, allocations: 7.938 kB / 1.33 GB, free: 9.918 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006935/0.4527, allocations: 331.2 kB / 1.33 GB, free: 9.578 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.99e-05/0.4527, allocations: 96.95 kB / 1.33 GB, free: 9.465 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.285e-05/0.4527, allocations: 4 kB / 1.33 GB, free: 9.461 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001742/0.4529, allocations: 23.97 kB / 1.33 GB, free: 9.438 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.665e-05/0.453, allocations: 23.91 kB / 1.33 GB, free: 9.414 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.135e-06/0.453, allocations: 0 / 1.33 GB, free: 9.414 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.251e-05/0.4531, allocations: 109.7 kB / 1.33 GB, free: 9.309 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4531, allocations: 0 / 1.33 GB, free: 9.309 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002872/0.4534, allocations: 51.78 kB / 1.33 GB, free: 9.258 MB / 1.029 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 (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.0001458/0.4535, allocations: 112.8 kB / 1.33 GB, free: 9.141 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0006661/0.4542, allocations: 199.7 kB / 1.331 GB, free: 8.945 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.4542, allocations: 3.938 kB / 1.331 GB, free: 8.941 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000308/0.4545, allocations: 99.94 kB / 1.331 GB, free: 8.844 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000425/0.4549, allocations: 26.22 kB / 1.331 GB, free: 8.82 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009107/0.4558, allocations: 423 kB / 1.331 GB, free: 8.383 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003963/0.4562, allocations: 0.7435 MB / 1.332 GB, free: 7.613 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 8.921e-05/0.4563, allocations: 17.42 kB / 1.332 GB, free: 7.594 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.501e-05/0.4564, allocations: 15.44 kB / 1.332 GB, free: 7.578 MB / 1.029 GB Notification: Performance of SimCode: time 2.8e-07/0.4564, allocations: 0 / 1.332 GB, free: 7.578 MB / 1.029 GB Notification: Performance of Templates: time 0.005557/0.4619, allocations: 1.745 MB / 1.334 GB, free: 5.855 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.sim & ./Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_Validation_PID.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.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.536350827198476]