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.001932/0.001932, allocations: 87.69 kB / 20.24 MB, free: 4.184 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.001935/0.001935, allocations: 157.3 kB / 23.55 MB, free: 0.875 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.575/1.575, allocations: 177.1 MB / 203.9 MB, free: 5.605 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 3.08/3.08, allocations: 377.8 MB / 0.6232 GB, free: 8.531 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.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: Performance of FrontEnd - loaded program: time 2.184e-06/2.184e-06, allocations: 0 / 0.8108 GB, free: 2.09 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.827e-05/3.046e-05, allocations: 7.156 kB / 0.8108 GB, free: 2.082 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID): time 0.002637/0.002668, allocations: 1.178 MB / 0.812 GB, free: 0.9297 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001456/0.004124, allocations: 1.001 MB / 0.8129 GB, free: 15.92 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.413e-05/0.004218, allocations: 4 kB / 0.8129 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 6.731e-05/0.004285, allocations: 27.66 kB / 0.813 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.000153/0.004439, allocations: 36.94 kB / 0.813 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001647/0.004603, allocations: 99.89 kB / 0.8131 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0003576/0.004961, allocations: 305 kB / 0.8134 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002881/0.005249, allocations: 138 kB / 0.8135 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002596/0.005509, allocations: 183.6 kB / 0.8137 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001307/0.005639, allocations: 87.7 kB / 0.8138 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 5.522e-05/0.005694, allocations: 32.53 kB / 0.8138 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 4.747e-05/0.005742, allocations: 36.72 kB / 0.8139 GB, free: 14.99 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001968/0.005939, allocations: 63.83 kB / 0.8139 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001022/0.006041, allocations: 84.34 kB / 0.814 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0005121/0.006553, allocations: 464 kB / 0.8144 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.015e-06/0.006556, allocations: 0 / 0.8144 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.022e-06/0.006557, allocations: 0 / 0.8144 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.229e-06/0.006562, allocations: 0 / 0.8144 GB, free: 14.39 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0008978/0.00746, allocations: 0.5758 MB / 0.815 GB, free: 13.78 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.634e-05/0.007496, allocations: 12.03 kB / 0.815 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001002/0.007597, allocations: 53.91 kB / 0.8151 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003394/0.007936, allocations: 214.6 kB / 0.8153 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.204e-05/0.007968, allocations: 21.03 kB / 0.8153 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.683e-05/0.008005, allocations: 25.75 kB / 0.8153 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005038/0.008509, allocations: 234.7 kB / 0.8155 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/0.008521, allocations: 1.656 kB / 0.8155 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.782e-05/0.008549, allocations: 16.31 kB / 0.8155 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.008557, allocations: 4.375 kB / 0.8156 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005321/0.009089, allocations: 203.9 kB / 0.8157 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001262/0.01035, allocations: 0.7788 MB / 0.8165 GB, free: 12.17 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005315/0.01088, allocations: 207.2 kB / 0.8167 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002605/0.01114, allocations: 106 kB / 0.8168 GB, free: 11.85 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.69e-05/0.01117, allocations: 7.984 kB / 0.8168 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.042e-05/0.0112, allocations: 33.39 kB / 0.8168 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=20): time 1.162e-06/0.0112, allocations: 0 / 0.8168 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of matching and sorting (n=20): time 0.0007596/0.01196, allocations: 275.3 kB / 0.8171 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.867e-05/0.01201, allocations: 57.34 kB / 0.8172 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001941/0.0122, allocations: 215.8 kB / 0.8174 GB, free: 11.23 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.869e-05/0.01223, allocations: 29.7 kB / 0.8174 GB, free: 11.2 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001565/0.01239, allocations: 211.3 kB / 0.8176 GB, free: 10.98 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 7.688e-05/0.01247, allocations: 79.36 kB / 0.8177 GB, free: 10.91 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.04e-05/0.01255, allocations: 45.38 kB / 0.8177 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002805/0.01283, allocations: 0.504 MB / 0.8182 GB, free: 10.34 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002012/0.01303, allocations: 67.95 kB / 0.8183 GB, free: 10.27 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002196/0.01325, allocations: 98.42 kB / 0.8184 GB, free: 10.17 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004191/0.01367, allocations: 179.1 kB / 0.8185 GB, free: 9.992 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.01367, allocations: 0 / 0.8185 GB, free: 9.992 MB / 0.7761 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004836/0.01415, allocations: 202.7 kB / 0.8187 GB, free: 9.789 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.01417, allocations: 11.5 kB / 0.8187 GB, free: 9.781 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.077e-06/0.01417, allocations: 0 / 0.8187 GB, free: 9.781 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.01419, allocations: 3.25 kB / 0.8187 GB, free: 9.781 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000218/0.01441, allocations: 47.92 kB / 0.8188 GB, free: 9.734 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.01441, allocations: 0 / 0.8188 GB, free: 9.734 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001009/0.01451, allocations: 15.94 kB / 0.8188 GB, free: 9.719 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.783e-05/0.01453, allocations: 8 kB / 0.8188 GB, free: 9.711 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 (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.000179/0.01471, allocations: 188.5 kB / 0.819 GB, free: 9.516 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.986e-05/0.01476, allocations: 26.28 kB / 0.819 GB, free: 9.492 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.352e-05/0.01482, allocations: 21.11 kB / 0.819 GB, free: 9.469 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.01483, allocations: 4 kB / 0.819 GB, free: 9.465 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.01483, allocations: 0 / 0.819 GB, free: 9.465 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.01483, allocations: 0 / 0.819 GB, free: 9.465 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003617/0.0152, allocations: 268.4 kB / 0.8193 GB, free: 9.168 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.0152, allocations: 0 / 0.8193 GB, free: 9.168 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000211/0.01541, allocations: 44.91 kB / 0.8193 GB, free: 9.125 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.01541, allocations: 1.125 kB / 0.8193 GB, free: 9.125 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.507e-05/0.01543, allocations: 7.938 kB / 0.8194 GB, free: 9.117 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.01543, allocations: 0 / 0.8194 GB, free: 9.117 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.434e-06/0.01543, allocations: 9.031 kB / 0.8194 GB, free: 9.109 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005882/0.01602, allocations: 363.2 kB / 0.8197 GB, free: 8.738 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.017e-05/0.01604, allocations: 11.89 kB / 0.8197 GB, free: 8.727 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.568e-05/0.01607, allocations: 8 kB / 0.8197 GB, free: 8.719 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000123/0.01619, allocations: 12.95 kB / 0.8197 GB, free: 8.707 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.827e-05/0.01626, allocations: 19.97 kB / 0.8198 GB, free: 8.688 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.138e-05/0.01627, allocations: 5.594 kB / 0.8198 GB, free: 8.684 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001167/0.01639, allocations: 155.2 kB / 0.8199 GB, free: 8.531 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.01639, allocations: 0 / 0.8199 GB, free: 8.531 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002777/0.01667, allocations: 47.84 kB / 0.82 GB, free: 8.484 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 (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.0001359/0.0168, allocations: 117 kB / 0.8201 GB, free: 8.363 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0004886/0.01729, allocations: 180.3 kB / 0.8202 GB, free: 8.188 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.01729, allocations: 0 / 0.8202 GB, free: 8.188 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0003304/0.01762, allocations: 108.2 kB / 0.8203 GB, free: 8.078 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003487/0.01797, allocations: 34.56 kB / 0.8204 GB, free: 8.047 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008969/0.01887, allocations: 428.7 kB / 0.8208 GB, free: 7.602 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002673/0.01914, allocations: 128 kB / 0.8209 GB, free: 7.461 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 8.714e-05/0.01922, allocations: 17.58 kB / 0.8209 GB, free: 7.445 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.073e-05/0.01928, allocations: 20.5 kB / 0.8209 GB, free: 7.426 MB / 0.7761 GB Notification: Performance of SimCode: time 6.41e-07/0.01928, allocations: 0 / 0.8209 GB, free: 7.426 MB / 0.7761 GB Notification: Performance of Templates: time 0.005689/0.02497, allocations: 1.724 MB / 0.8226 GB, free: 5.746 MB / 0.7761 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.pipe 2>&1) [Timeout 240] 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: 8.308811518014409]