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.PIDGain.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.001528/0.001528, allocations: 88.39 kB / 20.23 MB, free: 4.176 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.001743/0.001743, allocations: 161.3 kB / 23.54 MB, free: 0.8672 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 1.516/1.516, allocations: 177.1 MB / 203.9 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.988/2.988, allocations: 377.8 MB / 0.6232 GB, free: 8.527 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.PIDGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kp.y|T.y|L.y|PIDGai.k",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain") translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kp.y|T.y|L.y|PIDGai.k",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.076e-06/3.076e-06, allocations: 0 / 0.8108 GB, free: 2.062 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.163e-05/3.471e-05, allocations: 5.562 kB / 0.8108 GB, free: 2.059 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain): time 0.002167/0.002201, allocations: 0.8322 MB / 0.8116 GB, free: 1.246 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001293/0.003494, allocations: 0.8759 MB / 0.8125 GB, free: 368 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.054e-05/0.003564, allocations: 4 kB / 0.8125 GB, free: 364 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 4.709e-05/0.003611, allocations: 13.45 kB / 0.8125 GB, free: 352 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.0001123/0.003724, allocations: 15.75 kB / 0.8125 GB, free: 336 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 9.861e-05/0.003822, allocations: 39.95 kB / 0.8126 GB, free: 296 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0001751/0.003997, allocations: 112.4 kB / 0.8127 GB, free: 184 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001489/0.004146, allocations: 45.08 kB / 0.8127 GB, free: 140 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001551/0.004301, allocations: 65 kB / 0.8128 GB, free: 76 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 8.343e-05/0.004385, allocations: 39.89 kB / 0.8128 GB, free: 36 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 3.083e-05/0.004416, allocations: 12 kB / 0.8128 GB, free: 24 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 2.006e-05/0.004436, allocations: 13.34 kB / 0.8128 GB, free: 12 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 5.127e-05/0.004487, allocations: 23.91 kB / 0.8129 GB, free: 15.99 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 5.871e-05/0.004546, allocations: 31.92 kB / 0.8129 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002274/0.004773, allocations: 139.5 kB / 0.813 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.004775, allocations: 5.812 kB / 0.813 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of FrontEnd: time 6.51e-07/0.004776, allocations: 0 / 0.813 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.987e-06/0.00478, allocations: 0 / 0.813 GB, free: 15.82 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0007316/0.005512, allocations: 351.7 kB / 0.8134 GB, free: 15.44 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.005548, allocations: 8.031 kB / 0.8134 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.432e-05/0.005613, allocations: 20.84 kB / 0.8134 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002585/0.005871, allocations: 148.1 kB / 0.8135 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.595e-05/0.005887, allocations: 4.562 kB / 0.8135 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.138e-05/0.005909, allocations: 12.38 kB / 0.8136 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004157/0.006324, allocations: 132.6 kB / 0.8137 GB, free: 15.1 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.006334, allocations: 0 / 0.8137 GB, free: 15.1 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.918e-05/0.006353, allocations: 7.969 kB / 0.8137 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.937e-06/0.006362, allocations: 4 kB / 0.8137 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005177/0.00688, allocations: 127.3 kB / 0.8138 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006171/0.007497, allocations: 312.9 kB / 0.8141 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004273/0.007924, allocations: 107.9 kB / 0.8142 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003405/0.008265, allocations: 67.27 kB / 0.8143 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.88e-05/0.008283, allocations: 4 kB / 0.8143 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.12e-05/0.008315, allocations: 30.56 kB / 0.8143 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=8): time 1.142e-06/0.008316, allocations: 1.062 kB / 0.8143 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of matching and sorting (n=8): time 0.000848/0.009164, allocations: 208.1 kB / 0.8145 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.71e-05/0.009211, allocations: 53 kB / 0.8146 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001389/0.00935, allocations: 132.1 kB / 0.8147 GB, free: 14 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.517e-05/0.009375, allocations: 29.7 kB / 0.8147 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 8.804e-05/0.009463, allocations: 108 kB / 0.8148 GB, free: 13.85 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.31e-05/0.009496, allocations: 32.67 kB / 0.8149 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.588e-05/0.009552, allocations: 21.66 kB / 0.8149 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001706/0.009722, allocations: 326.8 kB / 0.8152 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002344/0.009957, allocations: 50.08 kB / 0.8152 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002392/0.0102, allocations: 71.88 kB / 0.8153 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004662/0.01066, allocations: 122.6 kB / 0.8154 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.01066, allocations: 1.938 kB / 0.8154 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005415/0.01121, allocations: 166.8 kB / 0.8156 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/0.01123, allocations: 10.5 kB / 0.8156 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.01123, allocations: 0.6562 kB / 0.8156 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.88e-05/0.01125, allocations: 0.6562 kB / 0.8156 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001864/0.01144, allocations: 31.38 kB / 0.8156 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.01e-05/0.01145, allocations: 11.92 kB / 0.8156 GB, free: 13 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001274/0.01157, allocations: 15.94 kB / 0.8156 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.102e-05/0.01158, allocations: 8 kB / 0.8157 GB, free: 12.98 MB / 0.7761 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 (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 0.0001088/0.01169, allocations: 117.8 kB / 0.8158 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.483e-05/0.01174, allocations: 19.94 kB / 0.8158 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.59e-05/0.01177, allocations: 12.78 kB / 0.8158 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.01178, allocations: 2.219 kB / 0.8158 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.01178, allocations: 0 / 0.8158 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.504e-06/0.01178, allocations: 4 kB / 0.8158 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000206/0.01199, allocations: 133.2 kB / 0.8159 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.01199, allocations: 0 / 0.8159 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001769/0.01217, allocations: 32.91 kB / 0.816 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.01217, allocations: 0 / 0.816 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.525e-05/0.01219, allocations: 5.125 kB / 0.816 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.368e-06/0.01219, allocations: 7.922 kB / 0.816 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.01219, allocations: 0 / 0.816 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006308/0.01282, allocations: 253.5 kB / 0.8162 GB, free: 12.35 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.302e-05/0.01285, allocations: 16.81 kB / 0.8162 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.702e-05/0.01286, allocations: 0 / 0.8162 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001571/0.01302, allocations: 21.55 kB / 0.8163 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.092e-05/0.01308, allocations: 11.97 kB / 0.8163 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.266e-06/0.01309, allocations: 4 kB / 0.8163 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 7.87e-05/0.01317, allocations: 95.27 kB / 0.8164 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.01317, allocations: 1.688 kB / 0.8164 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002576/0.01343, allocations: 23.95 kB / 0.8164 GB, free: 12.18 MB / 0.7761 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 (8): * Single equations (assignments): 8 * 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.0001344/0.01356, allocations: 95.75 kB / 0.8165 GB, free: 12.08 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0005106/0.01407, allocations: 127.2 kB / 0.8166 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.01407, allocations: 0 / 0.8166 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0002529/0.01433, allocations: 66 kB / 0.8167 GB, free: 11.9 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003828/0.01471, allocations: 26.17 kB / 0.8167 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006133/0.01532, allocations: 212.8 kB / 0.8169 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001103/0.01543, allocations: 84.31 kB / 0.817 GB, free: 11.54 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 6.677e-05/0.0155, allocations: 11.98 kB / 0.817 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.438e-05/0.01555, allocations: 12.5 kB / 0.817 GB, free: 11.51 MB / 0.7761 GB Notification: Performance of SimCode: time 4.21e-07/0.01555, allocations: 0 / 0.817 GB, free: 11.51 MB / 0.7761 GB Notification: Performance of Templates: time 0.004734/0.02029, allocations: 1.302 MB / 0.8183 GB, free: 10.27 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.sim & ./Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIDGain.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.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: 8.024081279989332]