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.PIDIntegralTime.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.001375/0.001375, allocations: 80.92 kB / 20.75 MB, free: 3.742 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.001587/0.001587, allocations: 161 kB / 24.17 MB, free: 332 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 0.9737/0.9737, allocations: 177.2 MB / 204.6 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.897/1.897, allocations: 377.9 MB / 0.624 GB, free: 8.352 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.PIDIntegralTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T.y|L.y|PIDIntTim.Ti",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime") translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T.y|L.y|PIDIntTim.Ti",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.745e-06/2.745e-06, allocations: 0 / 0.76 GB, free: 6.613 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.422e-05/3.697e-05, allocations: 5.609 kB / 0.76 GB, free: 6.609 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime): time 0.003398/0.003435, allocations: 0.8371 MB / 0.7609 GB, free: 5.793 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001781/0.005216, allocations: 0.8986 MB / 0.7617 GB, free: 4.883 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.962e-05/0.005316, allocations: 5.406 kB / 0.7617 GB, free: 4.879 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 5.895e-05/0.005375, allocations: 11.86 kB / 0.7618 GB, free: 4.867 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001628/0.005538, allocations: 7.766 kB / 0.7618 GB, free: 4.863 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001298/0.005668, allocations: 32.56 kB / 0.7618 GB, free: 4.832 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0002403/0.005908, allocations: 119.1 kB / 0.7619 GB, free: 4.73 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002034/0.006111, allocations: 46.19 kB / 0.762 GB, free: 4.68 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002122/0.006323, allocations: 76.3 kB / 0.762 GB, free: 4.605 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 8.829e-05/0.006412, allocations: 27.91 kB / 0.7621 GB, free: 4.578 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 4.736e-05/0.006459, allocations: 12.66 kB / 0.7621 GB, free: 4.566 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 1.833e-05/0.006477, allocations: 13.12 kB / 0.7621 GB, free: 4.555 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 3.447e-05/0.006512, allocations: 23.91 kB / 0.7621 GB, free: 4.531 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 4.415e-05/0.006556, allocations: 27.92 kB / 0.7621 GB, free: 4.504 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001637/0.00672, allocations: 76.69 kB / 0.7622 GB, free: 4.43 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.006724, allocations: 0 / 0.7622 GB, free: 4.43 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.683e-06/0.006726, allocations: 0 / 0.7622 GB, free: 4.43 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.074e-06/0.006733, allocations: 1.25 kB / 0.7622 GB, free: 4.43 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0005302/0.007263, allocations: 304.6 kB / 0.7625 GB, free: 4.105 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.007304, allocations: 8.781 kB / 0.7625 GB, free: 4.098 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.566e-05/0.00735, allocations: 12.92 kB / 0.7625 GB, free: 4.086 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001728/0.007522, allocations: 138.1 kB / 0.7626 GB, free: 3.926 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.551e-05/0.007538, allocations: 5.125 kB / 0.7627 GB, free: 3.922 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.936e-05/0.007557, allocations: 8.375 kB / 0.7627 GB, free: 3.914 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002203/0.007778, allocations: 97.31 kB / 0.7628 GB, free: 3.812 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.007787, allocations: 192 / 0.7628 GB, free: 3.812 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.249e-05/0.0078, allocations: 4.375 kB / 0.7628 GB, free: 3.809 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.017e-06/0.007809, allocations: 9.531 kB / 0.7628 GB, free: 3.801 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.797e-05/0.007877, allocations: 28.39 kB / 0.7628 GB, free: 3.773 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004415/0.008318, allocations: 253.7 kB / 0.763 GB, free: 3.512 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002234/0.008542, allocations: 66.5 kB / 0.7631 GB, free: 3.438 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.361e-05/0.008595, allocations: 28.83 kB / 0.7631 GB, free: 3.406 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.252e-05/0.008608, allocations: 4.188 kB / 0.7631 GB, free: 3.402 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.823e-05/0.008636, allocations: 35.25 kB / 0.7632 GB, free: 3.359 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=9): time 1.843e-06/0.008638, allocations: 0 / 0.7632 GB, free: 3.359 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9): time 0.0001823/0.00882, allocations: 70.38 kB / 0.7632 GB, free: 3.285 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.48e-05/0.008865, allocations: 55.39 kB / 0.7633 GB, free: 3.219 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.736e-05/0.008942, allocations: 119.4 kB / 0.7634 GB, free: 3.09 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.334e-05/0.008956, allocations: 25.7 kB / 0.7634 GB, free: 3.059 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.122e-05/0.009007, allocations: 110.1 kB / 0.7635 GB, free: 2.949 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.179e-05/0.009039, allocations: 23.75 kB / 0.7636 GB, free: 2.926 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.65e-05/0.009085, allocations: 29.69 kB / 0.7636 GB, free: 2.891 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001058/0.009191, allocations: 314.8 kB / 0.7639 GB, free: 2.574 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.393e-05/0.009215, allocations: 8 kB / 0.7639 GB, free: 2.566 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.526e-05/0.00924, allocations: 11.98 kB / 0.7639 GB, free: 2.555 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.363e-05/0.009294, allocations: 34.11 kB / 0.7639 GB, free: 2.52 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.009296, allocations: 0 / 0.7639 GB, free: 2.52 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001071/0.009403, allocations: 61.67 kB / 0.764 GB, free: 2.453 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/0.009423, allocations: 5.25 kB / 0.764 GB, free: 2.449 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.009429, allocations: 0 / 0.764 GB, free: 2.449 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/0.009446, allocations: 3.938 kB / 0.764 GB, free: 2.445 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001207/0.009567, allocations: 27.17 kB / 0.764 GB, free: 2.422 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.009572, allocations: 4 kB / 0.764 GB, free: 2.418 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.276e-05/0.009615, allocations: 4 kB / 0.764 GB, free: 2.414 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.112e-06/0.009621, allocations: 0 / 0.764 GB, free: 2.414 MB / 0.7136 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 (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 8.845e-05/0.00971, allocations: 117.8 kB / 0.7641 GB, free: 2.289 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.614e-05/0.009746, allocations: 7.984 kB / 0.7642 GB, free: 2.281 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.738e-05/0.009773, allocations: 12.44 kB / 0.7642 GB, free: 2.27 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-06/0.009776, allocations: 0 / 0.7642 GB, free: 2.27 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.00978, allocations: 7.031 kB / 0.7642 GB, free: 2.266 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.009782, allocations: 0 / 0.7642 GB, free: 2.266 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001602/0.009943, allocations: 105.7 kB / 0.7643 GB, free: 2.145 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.009945, allocations: 0 / 0.7643 GB, free: 2.145 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.966e-05/0.01003, allocations: 19.98 kB / 0.7643 GB, free: 2.125 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.01004, allocations: 4 kB / 0.7643 GB, free: 2.121 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-06/0.01005, allocations: 0 / 0.7643 GB, free: 2.121 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.01005, allocations: 5.438 kB / 0.7643 GB, free: 2.117 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.01005, allocations: 0 / 0.7643 GB, free: 2.117 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001474/0.0102, allocations: 159.5 kB / 0.7645 GB, free: 1.945 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.3e-05/0.01021, allocations: 7.891 kB / 0.7645 GB, free: 1.938 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.381e-05/0.01022, allocations: 4.656 kB / 0.7645 GB, free: 1.934 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.752e-05/0.0103, allocations: 4 kB / 0.7645 GB, free: 1.93 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.318e-05/0.01035, allocations: 16.88 kB / 0.7645 GB, free: 1.914 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.882e-06/0.01035, allocations: 4 kB / 0.7645 GB, free: 1.91 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.319e-05/0.01037, allocations: 19.44 kB / 0.7645 GB, free: 1.891 MB / 0.7136 GB Notification: Performance of sort global known variables: time 9e-08/0.01037, allocations: 0 / 0.7645 GB, free: 1.891 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002254/0.0106, allocations: 16 kB / 0.7645 GB, free: 1.875 MB / 0.7136 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 (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 Backend phase and start with SimCode phase: time 0.000131/0.01073, allocations: 84.41 kB / 0.7646 GB, free: 1.785 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001055/0.01084, allocations: 33.55 kB / 0.7646 GB, free: 1.75 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.01084, allocations: 3.125 kB / 0.7646 GB, free: 1.75 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.465e-05/0.01088, allocations: 32.97 kB / 0.7647 GB, free: 1.715 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002383/0.01112, allocations: 19.86 kB / 0.7647 GB, free: 1.695 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004669/0.01159, allocations: 217.8 kB / 0.7649 GB, free: 1.461 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.604e-05/0.01165, allocations: 63.34 kB / 0.765 GB, free: 1.379 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.217e-05/0.0117, allocations: 9.266 kB / 0.765 GB, free: 1.371 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.557e-05/0.01178, allocations: 65.8 kB / 0.765 GB, free: 1.309 MB / 0.7136 GB Notification: Performance of SimCode: time 1.122e-06/0.01178, allocations: 0 / 0.765 GB, free: 1.309 MB / 0.7136 GB Notification: Performance of Templates: time 0.003979/0.01576, allocations: 1.048 MB / 0.766 GB, free: 372 kB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime.sim & ./Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIDIntegralTime.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.066809019073844]