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.PIDGain.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.001826/0.001826, allocations: 88.72 kB / 19.44 MB, free: 356 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.002303/0.002303, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.509/1.509, allocations: 177.1 MB / 203.1 MB, free: 5.598 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.283/3.283, allocations: 429.6 MB / 0.673 GB, free: 3.902 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.PIDGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kp.y|T.y|L.y|PIDGai.k",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain") translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kp.y|T.y|L.y|PIDGai.k",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 7.614e-06/7.614e-06, allocations: 4.875 kB / 0.8776 GB, free: 6.496 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.482e-05/5.244e-05, allocations: 2.312 kB / 0.8776 GB, free: 6.492 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain): time 0.002806/0.002859, allocations: 0.8304 MB / 0.8784 GB, free: 5.691 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001832/0.004691, allocations: 0.8793 MB / 0.8793 GB, free: 4.801 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001001/0.004791, allocations: 3.906 kB / 0.8793 GB, free: 4.801 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 4.697e-05/0.004838, allocations: 7.875 kB / 0.8793 GB, free: 4.793 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001406/0.004979, allocations: 23.73 kB / 0.8793 GB, free: 4.77 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001185/0.005097, allocations: 35.95 kB / 0.8794 GB, free: 4.734 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002243/0.005321, allocations: 119.7 kB / 0.8795 GB, free: 4.617 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001701/0.005492, allocations: 33.23 kB / 0.8795 GB, free: 4.586 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002096/0.005701, allocations: 71.86 kB / 0.8796 GB, free: 4.516 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 8.976e-05/0.005791, allocations: 31.89 kB / 0.8796 GB, free: 4.484 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.874e-05/0.00583, allocations: 12 kB / 0.8796 GB, free: 4.473 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 2.11e-05/0.005851, allocations: 13.78 kB / 0.8796 GB, free: 4.461 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 4.044e-05/0.005891, allocations: 27.91 kB / 0.8797 GB, free: 4.434 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 5.603e-05/0.005947, allocations: 27.92 kB / 0.8797 GB, free: 4.406 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002604/0.006208, allocations: 143.5 kB / 0.8798 GB, free: 4.266 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.00621, allocations: 0.9375 kB / 0.8798 GB, free: 4.266 MB / 0.8386 GB Notification: Performance of FrontEnd: time 8.42e-07/0.006211, allocations: 0 / 0.8798 GB, free: 4.266 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.504e-06/0.006219, allocations: 0 / 0.8798 GB, free: 4.266 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0008675/0.007086, allocations: 356.3 kB / 0.8802 GB, free: 3.887 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.046e-05/0.007137, allocations: 12.03 kB / 0.8802 GB, free: 3.875 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.826e-05/0.007215, allocations: 16.89 kB / 0.8802 GB, free: 3.859 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002951/0.00751, allocations: 153.8 kB / 0.8803 GB, free: 3.688 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.896e-05/0.007529, allocations: 4.562 kB / 0.8803 GB, free: 3.684 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.348e-05/0.007552, allocations: 9.344 kB / 0.8803 GB, free: 3.676 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004393/0.007992, allocations: 129.2 kB / 0.8805 GB, free: 3.547 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.008002, allocations: 5.875 kB / 0.8805 GB, free: 3.543 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.803e-05/0.00802, allocations: 4 kB / 0.8805 GB, free: 3.539 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.008026, allocations: 0 / 0.8805 GB, free: 3.539 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005284/0.008554, allocations: 125.2 kB / 0.8806 GB, free: 3.418 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007225/0.009277, allocations: 326 kB / 0.8809 GB, free: 3.07 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004537/0.00973, allocations: 112.1 kB / 0.881 GB, free: 2.953 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002595/0.00999, allocations: 67.28 kB / 0.8811 GB, free: 2.887 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.904e-05/0.01001, allocations: 0 / 0.8811 GB, free: 2.887 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.047e-05/0.01005, allocations: 34.55 kB / 0.8811 GB, free: 2.844 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=8): time 9.82e-07/0.01005, allocations: 0 / 0.8811 GB, free: 2.844 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8): time 0.0008896/0.01094, allocations: 205.9 kB / 0.8813 GB, free: 2.641 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.47e-05/0.01099, allocations: 59.34 kB / 0.8814 GB, free: 2.57 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001491/0.01114, allocations: 126.1 kB / 0.8815 GB, free: 2.434 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.696e-05/0.01117, allocations: 25.7 kB / 0.8815 GB, free: 2.402 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001003/0.01127, allocations: 113.1 kB / 0.8816 GB, free: 2.289 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.07e-05/0.0113, allocations: 23.75 kB / 0.8816 GB, free: 2.266 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.015e-05/0.01136, allocations: 29.7 kB / 0.8817 GB, free: 2.23 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001954/0.01156, allocations: 322.8 kB / 0.882 GB, free: 1.906 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002483/0.01181, allocations: 55.94 kB / 0.882 GB, free: 1.852 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002549/0.01206, allocations: 65.66 kB / 0.8821 GB, free: 1.781 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004897/0.01255, allocations: 125.5 kB / 0.8822 GB, free: 1.652 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.01255, allocations: 0 / 0.8822 GB, free: 1.652 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005642/0.01312, allocations: 165.7 kB / 0.8824 GB, free: 1.484 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.128e-05/0.01314, allocations: 6.031 kB / 0.8824 GB, free: 1.48 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.01315, allocations: 0 / 0.8824 GB, free: 1.48 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.062e-05/0.01317, allocations: 0 / 0.8824 GB, free: 1.48 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002068/0.01337, allocations: 35.91 kB / 0.8824 GB, free: 1.445 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.734e-06/0.01338, allocations: 0 / 0.8824 GB, free: 1.445 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001447/0.01353, allocations: 27.97 kB / 0.8824 GB, free: 1.418 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.027e-06/0.01353, allocations: 0 / 0.8824 GB, free: 1.418 MB / 0.8386 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 (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 0.0001361/0.01367, allocations: 125.8 kB / 0.8826 GB, free: 1.285 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.432e-05/0.01371, allocations: 11.95 kB / 0.8826 GB, free: 1.273 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.362e-05/0.01376, allocations: 12.77 kB / 0.8826 GB, free: 1.254 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-06/0.01376, allocations: 4 kB / 0.8826 GB, free: 1.25 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.01377, allocations: 0 / 0.8826 GB, free: 1.25 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.01377, allocations: 0 / 0.8826 GB, free: 1.25 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002272/0.014, allocations: 145.2 kB / 0.8827 GB, free: 1.078 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.664e-06/0.014, allocations: 0 / 0.8827 GB, free: 1.078 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001823/0.01418, allocations: 31.91 kB / 0.8828 GB, free: 1.047 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.01418, allocations: 0 / 0.8828 GB, free: 1.047 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.014e-05/0.0142, allocations: 4 kB / 0.8828 GB, free: 1.043 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.0142, allocations: 3.938 kB / 0.8828 GB, free: 1.039 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.0142, allocations: 0 / 0.8828 GB, free: 1.039 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006492/0.01485, allocations: 255.7 kB / 0.883 GB, free: 0.7734 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.068e-05/0.01487, allocations: 11.89 kB / 0.883 GB, free: 0.7617 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.031e-05/0.01489, allocations: 8 kB / 0.883 GB, free: 0.7539 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001618/0.01505, allocations: 15.97 kB / 0.883 GB, free: 0.7383 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.257e-05/0.01512, allocations: 11.98 kB / 0.8831 GB, free: 0.7266 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.952e-06/0.01513, allocations: 0 / 0.8831 GB, free: 0.7266 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001019/0.01523, allocations: 103.2 kB / 0.8832 GB, free: 0.625 MB / 0.8386 GB Notification: Performance of sort global known variables: time 8e-08/0.01523, allocations: 0 / 0.8832 GB, free: 0.625 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002577/0.01549, allocations: 16 kB / 0.8832 GB, free: 0.6094 MB / 0.8386 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 (8): * Single equations (assignments): 8 * 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.000154/0.01564, allocations: 99.19 kB / 0.8833 GB, free: 0.5039 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.000566/0.01621, allocations: 131.9 kB / 0.8834 GB, free: 384 kB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.01621, allocations: 0 / 0.8834 GB, free: 384 kB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002542/0.01646, allocations: 59.89 kB / 0.8834 GB, free: 324 kB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004438/0.01691, allocations: 25.08 kB / 0.8835 GB, free: 300 kB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006276/0.01754, allocations: 218.9 kB / 0.8837 GB, free: 56 kB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001493/0.01769, allocations: 84.38 kB / 0.8838 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 6.514e-05/0.01775, allocations: 11.98 kB / 0.8838 GB, free: 15.94 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.855e-05/0.01781, allocations: 12.5 kB / 0.8838 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of SimCode: time 5.91e-07/0.01781, allocations: 4 kB / 0.8838 GB, free: 15.92 MB / 0.8542 GB Notification: Performance of Templates: time 0.005033/0.02284, allocations: 1.303 MB / 0.8851 GB, free: 14.7 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.sim & ./Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIDGain.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.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.415008986950852]