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.001104/0.001104, allocations: 87.58 kB / 20.45 MB, free: 4.113 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.001177/0.001177, allocations: 161 kB / 23.82 MB, free: 0.7461 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 0.9954/0.9954, allocations: 177.1 MB / 204.2 MB, free: 5.641 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.85/1.85, allocations: 377.9 MB / 0.6236 GB, free: 8.543 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.304e-06/2.304e-06, allocations: 0 / 0.8116 GB, free: 0.5508 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.782e-05/3.013e-05, allocations: 2.312 kB / 0.8116 GB, free: 0.5469 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDDerivativeTime): time 0.004846/0.004876, allocations: 0.8081 MB / 0.8124 GB, free: 15.76 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0009785/0.005855, allocations: 0.8874 MB / 0.8132 GB, free: 14.86 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.93e-05/0.005904, allocations: 0 / 0.8132 GB, free: 14.86 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 3.919e-05/0.005943, allocations: 8.75 kB / 0.8132 GB, free: 14.86 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 9.788e-05/0.006041, allocations: 19.86 kB / 0.8132 GB, free: 14.84 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 7.132e-05/0.006113, allocations: 24.75 kB / 0.8133 GB, free: 14.81 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001195/0.006232, allocations: 99.7 kB / 0.8134 GB, free: 14.71 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001295/0.006361, allocations: 38.11 kB / 0.8134 GB, free: 14.68 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001062/0.006468, allocations: 51.89 kB / 0.8135 GB, free: 14.62 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 5.839e-05/0.006526, allocations: 31.89 kB / 0.8135 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.488e-05/0.006551, allocations: 8 kB / 0.8135 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 1.265e-05/0.006564, allocations: 13.53 kB / 0.8135 GB, free: 14.57 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.01e-05/0.006584, allocations: 11.98 kB / 0.8135 GB, free: 14.56 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 3.452e-05/0.006618, allocations: 31.91 kB / 0.8135 GB, free: 14.53 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.000118/0.006736, allocations: 63.69 kB / 0.8136 GB, free: 14.47 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.006739, allocations: 1.375 kB / 0.8136 GB, free: 14.47 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.173e-06/0.00674, allocations: 0 / 0.8136 GB, free: 14.47 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.528e-06/0.006745, allocations: 0 / 0.8136 GB, free: 14.47 MB / 0.7292 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.003447/0.01019, allocations: 417.6 kB / 0.814 GB, free: 14.02 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.94e-05/0.01024, allocations: 12.03 kB / 0.814 GB, free: 14.01 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.376e-05/0.01029, allocations: 20.88 kB / 0.814 GB, free: 13.99 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001537/0.01045, allocations: 132.4 kB / 0.8142 GB, free: 13.84 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.205e-05/0.01046, allocations: 5.469 kB / 0.8142 GB, free: 13.83 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.707e-05/0.01048, allocations: 12.38 kB / 0.8142 GB, free: 13.82 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002038/0.01068, allocations: 88.8 kB / 0.8143 GB, free: 13.73 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.01069, allocations: 1.062 kB / 0.8143 GB, free: 13.73 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.355e-05/0.0107, allocations: 4.375 kB / 0.8143 GB, free: 13.72 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.666e-06/0.01071, allocations: 1.438 kB / 0.8143 GB, free: 13.72 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.064e-05/0.01078, allocations: 27.91 kB / 0.8143 GB, free: 13.7 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004253/0.01121, allocations: 341.9 kB / 0.8146 GB, free: 13.33 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000124/0.01133, allocations: 58.98 kB / 0.8147 GB, free: 13.26 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.411e-05/0.01138, allocations: 19.84 kB / 0.8147 GB, free: 13.23 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.187e-05/0.01139, allocations: 7.984 kB / 0.8147 GB, free: 13.23 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.471e-05/0.01141, allocations: 37.38 kB / 0.8147 GB, free: 13.18 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 2.124e-06/0.01141, allocations: 0.5312 kB / 0.8147 GB, free: 13.18 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7): time 0.0002739/0.01169, allocations: 73.64 kB / 0.8148 GB, free: 13.1 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.104e-05/0.01172, allocations: 52.12 kB / 0.8149 GB, free: 13.04 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.628e-05/0.01181, allocations: 181.8 kB / 0.815 GB, free: 12.84 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.257e-05/0.01182, allocations: 26.23 kB / 0.8151 GB, free: 12.81 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.301e-05/0.01187, allocations: 144.4 kB / 0.8152 GB, free: 12.67 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.916e-05/0.0119, allocations: 27.75 kB / 0.8152 GB, free: 12.64 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.944e-05/0.01194, allocations: 27.36 kB / 0.8153 GB, free: 12.61 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001256/0.01206, allocations: 0.4883 MB / 0.8157 GB, free: 12.11 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.295e-05/0.0121, allocations: 8.625 kB / 0.8157 GB, free: 12.1 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.405e-05/0.01212, allocations: 8.297 kB / 0.8157 GB, free: 12.09 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.14e-05/0.01218, allocations: 36.52 kB / 0.8158 GB, free: 12.05 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.01219, allocations: 3.938 kB / 0.8158 GB, free: 12.05 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000108/0.01229, allocations: 62.3 kB / 0.8158 GB, free: 11.98 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.01231, allocations: 8 kB / 0.8158 GB, free: 11.97 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.01231, allocations: 0.8125 kB / 0.8159 GB, free: 11.97 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.01233, allocations: 0 / 0.8159 GB, free: 11.97 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001088/0.01244, allocations: 20.8 kB / 0.8159 GB, free: 11.95 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.01244, allocations: 0 / 0.8159 GB, free: 11.95 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.79e-05/0.01248, allocations: 16.88 kB / 0.8159 GB, free: 11.94 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.322e-06/0.01248, allocations: 0 / 0.8159 GB, free: 11.94 MB / 0.7292 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.353e-05/0.01256, allocations: 161.7 kB / 0.816 GB, free: 11.77 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.715e-05/0.01259, allocations: 7.984 kB / 0.816 GB, free: 11.76 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.695e-05/0.01261, allocations: 13.31 kB / 0.8161 GB, free: 11.75 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.01261, allocations: 0 / 0.8161 GB, free: 11.75 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.01262, allocations: 0 / 0.8161 GB, free: 11.75 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.01262, allocations: 2.219 kB / 0.8161 GB, free: 11.75 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000143/0.01276, allocations: 148.4 kB / 0.8162 GB, free: 11.57 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.01277, allocations: 0 / 0.8162 GB, free: 11.57 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.531e-05/0.01283, allocations: 27.92 kB / 0.8162 GB, free: 11.54 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.01283, allocations: 0 / 0.8162 GB, free: 11.54 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-06/0.01284, allocations: 0 / 0.8162 GB, free: 11.54 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.01284, allocations: 3.156 kB / 0.8162 GB, free: 11.54 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.01285, allocations: 4 kB / 0.8162 GB, free: 11.54 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001659/0.01301, allocations: 211.9 kB / 0.8164 GB, free: 11.31 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.139e-05/0.01302, allocations: 7.953 kB / 0.8164 GB, free: 11.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.288e-05/0.01304, allocations: 0 / 0.8164 GB, free: 11.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.416e-05/0.0131, allocations: 7.984 kB / 0.8165 GB, free: 11.3 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.611e-05/0.01316, allocations: 11.98 kB / 0.8165 GB, free: 11.29 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.979e-06/0.01316, allocations: 0 / 0.8165 GB, free: 11.29 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 5.165e-05/0.01321, allocations: 132.4 kB / 0.8166 GB, free: 11.16 MB / 0.7292 GB Notification: Performance of sort global known variables: time 7.1e-08/0.01321, allocations: 0 / 0.8166 GB, free: 11.16 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002226/0.01344, allocations: 15.95 kB / 0.8166 GB, free: 11.14 MB / 0.7292 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 0.0001162/0.01355, allocations: 114.8 kB / 0.8167 GB, free: 11.02 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001223/0.01367, allocations: 31.67 kB / 0.8167 GB, free: 10.99 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.01368, allocations: 5.688 kB / 0.8168 GB, free: 10.98 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 4.092e-05/0.01372, allocations: 27.62 kB / 0.8168 GB, free: 10.95 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002919/0.01401, allocations: 25.05 kB / 0.8168 GB, free: 10.93 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004325/0.01444, allocations: 179.4 kB / 0.817 GB, free: 10.73 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.721e-05/0.01449, allocations: 64 kB / 0.817 GB, free: 10.64 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.075e-05/0.01452, allocations: 5.953 kB / 0.817 GB, free: 10.64 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.668e-05/0.01456, allocations: 16.5 kB / 0.8171 GB, free: 10.62 MB / 0.7292 GB Notification: Performance of SimCode: time 6.51e-07/0.01456, allocations: 0 / 0.8171 GB, free: 10.62 MB / 0.7292 GB Notification: Performance of Templates: time 0.003005/0.01756, allocations: 1.083 MB / 0.8181 GB, free: 9.617 MB / 0.7292 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.08294654591009]