Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.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.001811/0.001811, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 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.002005/0.002005, allocations: 169.2 kB / 22.76 MB, free: 1.664 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.607/1.607, allocations: 177.1 MB / 203.1 MB, free: 5.141 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.425/3.425, allocations: 429.5 MB / 0.6729 GB, free: 4.012 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.PIGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kp.y|T.y|L.y|PIGai.k",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain") translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kp.y|T.y|L.y|PIGai.k",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.044e-06/2.044e-06, allocations: 0 / 0.8775 GB, free: 6.66 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.898e-05/3.103e-05, allocations: 5.406 kB / 0.8775 GB, free: 6.656 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain): time 0.002521/0.002552, allocations: 0.9604 MB / 0.8784 GB, free: 5.723 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001479/0.00403, allocations: 0.9055 MB / 0.8793 GB, free: 4.805 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.101e-05/0.004101, allocations: 1.188 kB / 0.8793 GB, free: 4.805 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 5.161e-05/0.004153, allocations: 23.73 kB / 0.8793 GB, free: 4.781 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001132/0.004266, allocations: 23.72 kB / 0.8794 GB, free: 4.758 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001202/0.004386, allocations: 56.81 kB / 0.8794 GB, free: 4.703 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002275/0.004614, allocations: 168.2 kB / 0.8796 GB, free: 4.535 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003273/0.004941, allocations: 69.53 kB / 0.8796 GB, free: 4.469 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001748/0.005116, allocations: 97.41 kB / 0.8797 GB, free: 4.375 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001004/0.005216, allocations: 55.84 kB / 0.8798 GB, free: 4.32 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.768e-05/0.005254, allocations: 19.94 kB / 0.8798 GB, free: 4.301 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 2.72e-05/0.005281, allocations: 20 kB / 0.8798 GB, free: 4.281 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 4.729e-05/0.005328, allocations: 35.91 kB / 0.8799 GB, free: 4.246 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 7.333e-05/0.005402, allocations: 58.77 kB / 0.8799 GB, free: 4.191 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003011/0.005703, allocations: 227.2 kB / 0.8801 GB, free: 3.969 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.836e-06/0.005706, allocations: 0 / 0.8801 GB, free: 3.969 MB / 0.8386 GB Notification: Performance of FrontEnd: time 8.81e-07/0.005707, allocations: 0 / 0.8801 GB, free: 3.969 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.089e-06/0.005712, allocations: 0 / 0.8801 GB, free: 3.969 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0007763/0.006488, allocations: 493.5 kB / 0.8806 GB, free: 3.445 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.006527, allocations: 12.03 kB / 0.8806 GB, free: 3.434 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.424e-05/0.006601, allocations: 32.8 kB / 0.8806 GB, free: 3.402 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002363/0.006838, allocations: 160.7 kB / 0.8808 GB, free: 3.219 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.686e-05/0.006855, allocations: 9.328 kB / 0.8808 GB, free: 3.211 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.909e-05/0.006884, allocations: 24.3 kB / 0.8808 GB, free: 3.188 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003798/0.007263, allocations: 168.7 kB / 0.881 GB, free: 3.02 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.347e-06/0.007273, allocations: 192 / 0.881 GB, free: 3.02 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.762e-05/0.00729, allocations: 4.375 kB / 0.881 GB, free: 3.016 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.007298, allocations: 4.375 kB / 0.881 GB, free: 3.012 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003991/0.007697, allocations: 144.1 kB / 0.8811 GB, free: 2.871 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008326/0.00853, allocations: 0.4948 MB / 0.8816 GB, free: 2.344 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003259/0.008856, allocations: 127 kB / 0.8817 GB, free: 2.207 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000215/0.009071, allocations: 79.62 kB / 0.8818 GB, free: 2.125 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.523e-05/0.009096, allocations: 7.938 kB / 0.8818 GB, free: 2.117 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.439e-05/0.00913, allocations: 33.39 kB / 0.8819 GB, free: 2.074 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=13): time 1.082e-06/0.009131, allocations: 3.938 kB / 0.8819 GB, free: 2.07 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13): time 0.0006748/0.009806, allocations: 209.2 kB / 0.8821 GB, free: 1.863 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.353e-05/0.00986, allocations: 55.66 kB / 0.8821 GB, free: 1.797 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001855/0.01005, allocations: 200.7 kB / 0.8823 GB, free: 1.586 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.535e-05/0.01007, allocations: 29.7 kB / 0.8823 GB, free: 1.551 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001423/0.01021, allocations: 175.1 kB / 0.8825 GB, free: 1.371 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 5.468e-05/0.01027, allocations: 51.53 kB / 0.8825 GB, free: 1.32 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.166e-05/0.01035, allocations: 39.36 kB / 0.8826 GB, free: 1.273 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002964/0.01065, allocations: 0.5001 MB / 0.8831 GB, free: 0.7617 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001695/0.01081, allocations: 47.97 kB / 0.8831 GB, free: 0.7148 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000202/0.01102, allocations: 87.03 kB / 0.8832 GB, free: 0.6172 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003475/0.01136, allocations: 139 kB / 0.8833 GB, free: 480 kB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.01137, allocations: 0 / 0.8833 GB, free: 480 kB / 0.8386 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000436/0.0118, allocations: 177.5 kB / 0.8835 GB, free: 296 kB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.01182, allocations: 4 kB / 0.8835 GB, free: 292 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.01182, allocations: 0 / 0.8835 GB, free: 292 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.01184, allocations: 4 kB / 0.8835 GB, free: 288 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001819/0.01202, allocations: 31.92 kB / 0.8835 GB, free: 256 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.01203, allocations: 0 / 0.8835 GB, free: 256 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.532e-05/0.01212, allocations: 19.88 kB / 0.8836 GB, free: 236 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.463e-05/0.01214, allocations: 8 kB / 0.8836 GB, free: 228 kB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (15): * Single equations (assignments): 15 * 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.0001447/0.01228, allocations: 172.6 kB / 0.8837 GB, free: 44 kB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.413e-05/0.01232, allocations: 19.89 kB / 0.8837 GB, free: 24 kB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.897e-05/0.01237, allocations: 16.77 kB / 0.8838 GB, free: 4 kB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.01238, allocations: 4 kB / 0.8838 GB, free: 0 / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/0.01238, allocations: 112 / 0.8838 GB, free: 16 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.01238, allocations: 3.938 kB / 0.8838 GB, free: 15.99 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000277/0.01266, allocations: 192.5 kB / 0.884 GB, free: 15.77 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.01266, allocations: 0 / 0.884 GB, free: 15.77 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001505/0.01281, allocations: 35.81 kB / 0.884 GB, free: 15.74 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/0.01282, allocations: 3.938 kB / 0.884 GB, free: 15.73 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.092e-05/0.01283, allocations: 4 kB / 0.884 GB, free: 15.73 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.01283, allocations: 0 / 0.884 GB, free: 15.73 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.01283, allocations: 0 / 0.884 GB, free: 15.73 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000509/0.01334, allocations: 315.8 kB / 0.8843 GB, free: 15.4 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.821e-05/0.01336, allocations: 11.89 kB / 0.8843 GB, free: 15.39 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.017e-05/0.01338, allocations: 3.938 kB / 0.8843 GB, free: 15.39 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001273/0.0135, allocations: 15.98 kB / 0.8843 GB, free: 15.37 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.937e-05/0.01356, allocations: 11.98 kB / 0.8843 GB, free: 15.36 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.753e-06/0.01357, allocations: 0 / 0.8843 GB, free: 15.36 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001073/0.01368, allocations: 151.2 kB / 0.8845 GB, free: 15.21 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.01368, allocations: 0 / 0.8845 GB, free: 15.21 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002521/0.01393, allocations: 31.89 kB / 0.8845 GB, free: 15.18 MB / 0.8542 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 (13): * Single equations (assignments): 13 * 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.0001354/0.01407, allocations: 99.23 kB / 0.8846 GB, free: 15.07 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0004328/0.0145, allocations: 142.7 kB / 0.8847 GB, free: 14.93 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.0145, allocations: 0 / 0.8847 GB, free: 14.93 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0002064/0.01471, allocations: 83.7 kB / 0.8848 GB, free: 14.85 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003287/0.01504, allocations: 26.42 kB / 0.8849 GB, free: 14.82 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006971/0.01573, allocations: 297.1 kB / 0.8851 GB, free: 14.51 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001209/0.01585, allocations: 106.9 kB / 0.8852 GB, free: 14.38 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 6.255e-05/0.01592, allocations: 8.484 kB / 0.8852 GB, free: 14.38 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.469e-05/0.01597, allocations: 20.5 kB / 0.8853 GB, free: 14.36 MB / 0.8542 GB Notification: Performance of SimCode: time 5.41e-07/0.01597, allocations: 0 / 0.8853 GB, free: 14.36 MB / 0.8542 GB Notification: Performance of Templates: time 0.005264/0.02123, allocations: 1.43 MB / 0.8867 GB, free: 13 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.sim & ./Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIGain.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.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.689418634050526]