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.PIDDerivativeTime.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.001299/0.001299, allocations: 81.86 kB / 20.68 MB, free: 3.816 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.001828/0.001828, allocations: 185 kB / 24.09 MB, free: 416 kB / 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.027/1.027, allocations: 177.1 MB / 204.5 MB, free: 5.523 MB / 186.7 MB " [Timeout remaining time 179] 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 1.903/1.903, allocations: 377.9 MB / 0.624 GB, free: 8.395 MB / 0.5886 GB " [Timeout remaining time 178] 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.PIDDerivativeTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T.y|L.y|PIDDerTim.Td",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime") translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T.y|L.y|PIDDerTim.Td",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.495e-06/2.495e-06, allocations: 0 / 0.812 GB, free: 1.414 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.885e-05/2.134e-05, allocations: 2.312 kB / 0.812 GB, free: 1.41 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime): time 0.005105/0.005126, allocations: 0.7995 MB / 0.8128 GB, free: 0.6328 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001082/0.006208, allocations: 0.8831 MB / 0.8137 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.124e-05/0.00627, allocations: 4 kB / 0.8137 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 3.606e-05/0.006306, allocations: 9.297 kB / 0.8137 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 9.594e-05/0.006402, allocations: 15.8 kB / 0.8137 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 7.217e-05/0.006474, allocations: 28.62 kB / 0.8137 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001147/0.006589, allocations: 95.77 kB / 0.8138 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001313/0.00672, allocations: 33.67 kB / 0.8139 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001206/0.00684, allocations: 51.91 kB / 0.8139 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 6.256e-05/0.006903, allocations: 31.89 kB / 0.8139 GB, free: 15.47 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.731e-05/0.00693, allocations: 10.44 kB / 0.8139 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 1.236e-05/0.006943, allocations: 8 kB / 0.814 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.484e-05/0.006968, allocations: 23.92 kB / 0.814 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 3.631e-05/0.007004, allocations: 23.92 kB / 0.814 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001158/0.00712, allocations: 63.73 kB / 0.8141 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.007122, allocations: 0 / 0.8141 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of FrontEnd: time 7.62e-07/0.007123, allocations: 0 / 0.8141 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.316e-06/0.007126, allocations: 1.156 kB / 0.8141 GB, free: 15.35 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0004249/0.007551, allocations: 420.3 kB / 0.8145 GB, free: 14.9 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.00759, allocations: 8.844 kB / 0.8145 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003041/0.01063, allocations: 12.89 kB / 0.8145 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001352/0.01077, allocations: 137.1 kB / 0.8146 GB, free: 14.72 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.224e-05/0.01078, allocations: 9.062 kB / 0.8146 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.252e-05/0.01079, allocations: 8.375 kB / 0.8146 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001725/0.01096, allocations: 92 kB / 0.8147 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.744e-06/0.01097, allocations: 4.188 kB / 0.8147 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.566e-06/0.01098, allocations: 384 / 0.8147 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.82e-06/0.01099, allocations: 1.906 kB / 0.8147 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.908e-05/0.01103, allocations: 26.42 kB / 0.8148 GB, free: 14.58 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003424/0.01138, allocations: 320.1 kB / 0.8151 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 8.722e-05/0.01146, allocations: 52.97 kB / 0.8151 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.206e-05/0.0115, allocations: 23.67 kB / 0.8151 GB, free: 14.15 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.175e-05/0.01151, allocations: 7.938 kB / 0.8151 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.464e-05/0.01153, allocations: 33.39 kB / 0.8152 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=7): time 1.232e-06/0.01153, allocations: 1.438 kB / 0.8152 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7): time 0.000154/0.01169, allocations: 65.64 kB / 0.8152 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.727e-05/0.01172, allocations: 51.41 kB / 0.8153 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.371e-05/0.0118, allocations: 185.9 kB / 0.8155 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.16e-05/0.01181, allocations: 26.86 kB / 0.8155 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.26e-05/0.01186, allocations: 146.8 kB / 0.8156 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.728e-05/0.01189, allocations: 23.8 kB / 0.8156 GB, free: 13.56 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.909e-05/0.01193, allocations: 27.89 kB / 0.8157 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001253/0.01205, allocations: 496.6 kB / 0.8161 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.866e-05/0.01207, allocations: 7.938 kB / 0.8162 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.883e-05/0.01209, allocations: 12.86 kB / 0.8162 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.43e-05/0.01214, allocations: 27.62 kB / 0.8162 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.01214, allocations: 0.8125 kB / 0.8162 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.702e-05/0.01223, allocations: 58.14 kB / 0.8163 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/0.01224, allocations: 4.531 kB / 0.8163 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.01224, allocations: 4 kB / 0.8163 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.141e-05/0.01225, allocations: 1.375 kB / 0.8163 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.948e-05/0.01234, allocations: 19.92 kB / 0.8163 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.354e-06/0.01235, allocations: 80 / 0.8163 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.769e-05/0.01238, allocations: 16.8 kB / 0.8163 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.082e-06/0.01239, allocations: 3.984 kB / 0.8163 GB, free: 12.87 MB / 0.7761 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 (7): * Single equations (assignments): 7 * 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 7.379e-05/0.01246, allocations: 165.3 kB / 0.8165 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.761e-05/0.01249, allocations: 11.95 kB / 0.8165 GB, free: 12.69 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.515e-05/0.01252, allocations: 9.719 kB / 0.8165 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.01252, allocations: 7.984 kB / 0.8165 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-06/0.01252, allocations: 0 / 0.8165 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.01252, allocations: 0.7188 kB / 0.8165 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001391/0.01266, allocations: 113.2 kB / 0.8166 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.01266, allocations: 0.875 kB / 0.8166 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.468e-05/0.01272, allocations: 19.92 kB / 0.8166 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.01272, allocations: 1.562 kB / 0.8166 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.159e-06/0.01273, allocations: 0 / 0.8166 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.01273, allocations: 0 / 0.8166 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.01273, allocations: 4 kB / 0.8166 GB, free: 12.51 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001308/0.01286, allocations: 212.9 kB / 0.8168 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.272e-05/0.01287, allocations: 11.94 kB / 0.8168 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.239e-05/0.01288, allocations: 7.984 kB / 0.8168 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.243e-05/0.01295, allocations: 7.281 kB / 0.8168 GB, free: 12.26 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.589e-05/0.01298, allocations: 7.984 kB / 0.8169 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.118e-06/0.01299, allocations: 3.938 kB / 0.8169 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.479e-05/0.01303, allocations: 131.2 kB / 0.817 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.01303, allocations: 0 / 0.817 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.000232/0.01326, allocations: 19.89 kB / 0.817 GB, free: 12.1 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 (7): * Single equations (assignments): 7 * 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.631e-05/0.01335, allocations: 107.2 kB / 0.8171 GB, free: 11.99 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.003099/0.01645, allocations: 40.09 kB / 0.8171 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.01645, allocations: 1.25 kB / 0.8171 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.427e-05/0.01648, allocations: 19.67 kB / 0.8172 GB, free: 11.92 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000266/0.01675, allocations: 17 kB / 0.8172 GB, free: 11.91 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003301/0.01708, allocations: 188.7 kB / 0.8174 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.722e-05/0.01712, allocations: 59.34 kB / 0.8174 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.447e-05/0.01715, allocations: 5.094 kB / 0.8174 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.378e-05/0.01723, allocations: 82.84 kB / 0.8175 GB, free: 11.53 MB / 0.7761 GB Notification: Performance of SimCode: time 5.41e-07/0.01723, allocations: 0 / 0.8175 GB, free: 11.53 MB / 0.7761 GB Notification: Performance of Templates: time 0.002932/0.02016, allocations: 1.121 MB / 0.8186 GB, free: 10.49 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime.sim & ./Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIDDerivativeTime.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.0402903580106795]