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.PIIntegralTime.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.001497/0.001497, allocations: 80.28 kB / 19.18 MB, free: 2.531 MB / 14.72 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.001686/0.001686, allocations: 164.6 kB / 22.46 MB, free: 5.359 MB / 14.72 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.507/1.507, allocations: 177.1 MB / 202.8 MB, free: 9.195 MB / 190.1 MB " [Timeout remaining time 178] 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 2.891/2.891, allocations: 377.8 MB / 0.6221 GB, free: 12.62 MB / 0.5919 GB " [Timeout remaining time 176] 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.PIIntegralTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T.y|L.y|PIIntTim.Ti",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime") translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T.y|L.y|PIIntTim.Ti",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.695e-06/2.695e-06, allocations: 3.938 kB / 0.9815 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.8e-05/3.07e-05, allocations: 5.094 kB / 0.9815 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime): time 0.002182/0.002213, allocations: 0.8919 MB / 0.9823 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.00124/0.003453, allocations: 0.9016 MB / 0.9832 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.383e-05/0.003516, allocations: 8 kB / 0.9832 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.87e-05/0.003565, allocations: 19.73 kB / 0.9832 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 9.92e-05/0.003664, allocations: 11.86 kB / 0.9833 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001044/0.003769, allocations: 51.89 kB / 0.9833 GB, free: 10.06 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001944/0.003963, allocations: 156.2 kB / 0.9835 GB, free: 9.91 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001979/0.004161, allocations: 73.2 kB / 0.9835 GB, free: 9.832 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001659/0.004327, allocations: 87.81 kB / 0.9836 GB, free: 9.746 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 9.285e-05/0.00442, allocations: 47.86 kB / 0.9837 GB, free: 9.699 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.894e-05/0.004459, allocations: 16 kB / 0.9837 GB, free: 9.684 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 2.423e-05/0.004483, allocations: 24 kB / 0.9837 GB, free: 9.66 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 5.089e-05/0.004534, allocations: 35.84 kB / 0.9837 GB, free: 9.625 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 5.795e-05/0.004592, allocations: 47.89 kB / 0.9838 GB, free: 9.578 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002491/0.004841, allocations: 215.3 kB / 0.984 GB, free: 9.367 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.004844, allocations: 0 / 0.984 GB, free: 9.367 MB / 0.9356 GB Notification: Performance of FrontEnd: time 6.92e-07/0.004845, allocations: 0 / 0.984 GB, free: 9.367 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.21e-06/0.00485, allocations: 0 / 0.984 GB, free: 9.367 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0006822/0.005532, allocations: 377.6 kB / 0.9843 GB, free: 8.965 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.005569, allocations: 19.97 kB / 0.9844 GB, free: 8.945 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.828e-05/0.005617, allocations: 20.83 kB / 0.9844 GB, free: 8.926 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002324/0.005849, allocations: 157.5 kB / 0.9845 GB, free: 8.746 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.927e-05/0.005869, allocations: 12.38 kB / 0.9845 GB, free: 8.734 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.319e-05/0.005892, allocations: 12.38 kB / 0.9845 GB, free: 8.723 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004081/0.0063, allocations: 163.5 kB / 0.9847 GB, free: 8.559 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.00631, allocations: 192 / 0.9847 GB, free: 8.559 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.753e-05/0.006327, allocations: 8.375 kB / 0.9847 GB, free: 8.551 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.174e-06/0.006335, allocations: 8.375 kB / 0.9847 GB, free: 8.543 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004486/0.006783, allocations: 147.8 kB / 0.9849 GB, free: 8.398 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006418/0.007425, allocations: 391.8 kB / 0.9852 GB, free: 7.984 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005051/0.00793, allocations: 166.6 kB / 0.9854 GB, free: 7.812 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000229/0.008159, allocations: 76.8 kB / 0.9855 GB, free: 7.734 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.584e-05/0.008175, allocations: 0 / 0.9855 GB, free: 7.734 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.822e-05/0.008203, allocations: 34.56 kB / 0.9855 GB, free: 7.691 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=14): time 1.062e-06/0.008204, allocations: 0 / 0.9855 GB, free: 7.691 MB / 0.9356 GB Notification: Performance of matching and sorting (n=14): time 0.0007149/0.008919, allocations: 222.8 kB / 0.9857 GB, free: 7.469 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.218e-05/0.008971, allocations: 59.41 kB / 0.9858 GB, free: 7.398 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001038/0.009075, allocations: 117.8 kB / 0.9859 GB, free: 7.273 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.474e-05/0.0091, allocations: 29.7 kB / 0.9859 GB, free: 7.238 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 8.022e-05/0.00918, allocations: 120.4 kB / 0.986 GB, free: 7.117 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.959e-05/0.00923, allocations: 43.59 kB / 0.9861 GB, free: 7.074 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.291e-05/0.009283, allocations: 25.72 kB / 0.9861 GB, free: 7.043 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001765/0.009459, allocations: 322.8 kB / 0.9864 GB, free: 6.719 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001983/0.009657, allocations: 56.2 kB / 0.9865 GB, free: 6.664 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000189/0.009846, allocations: 59.2 kB / 0.9865 GB, free: 6.609 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003928/0.01024, allocations: 120.8 kB / 0.9866 GB, free: 6.488 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.01024, allocations: 0 / 0.9866 GB, free: 6.488 MB / 0.9356 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004608/0.0107, allocations: 169.5 kB / 0.9868 GB, free: 6.316 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.01072, allocations: 11.88 kB / 0.9868 GB, free: 6.305 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.01072, allocations: 0 / 0.9868 GB, free: 6.305 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.01074, allocations: 4 kB / 0.9868 GB, free: 6.301 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002001/0.01094, allocations: 35.97 kB / 0.9868 GB, free: 6.266 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.01095, allocations: 0 / 0.9868 GB, free: 6.266 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001092/0.01106, allocations: 23.88 kB / 0.9869 GB, free: 6.242 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.537e-05/0.01107, allocations: 8 kB / 0.9869 GB, free: 6.234 MB / 0.9356 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 (14): * Single equations (assignments): 14 * 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.000111/0.01118, allocations: 121.8 kB / 0.987 GB, free: 6.105 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.542e-05/0.01122, allocations: 7.953 kB / 0.987 GB, free: 6.098 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.753e-05/0.01126, allocations: 24.36 kB / 0.987 GB, free: 6.074 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.01127, allocations: 0 / 0.987 GB, free: 6.074 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.01127, allocations: 0 / 0.987 GB, free: 6.074 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.307e-06/0.01127, allocations: 3.938 kB / 0.987 GB, free: 6.07 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000231/0.01151, allocations: 165.2 kB / 0.9872 GB, free: 5.879 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.01151, allocations: 0 / 0.9872 GB, free: 5.879 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001949/0.0117, allocations: 39.97 kB / 0.9872 GB, free: 5.84 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.0117, allocations: 0 / 0.9872 GB, free: 5.84 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.374e-05/0.01172, allocations: 8 kB / 0.9872 GB, free: 5.832 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.01172, allocations: 3.938 kB / 0.9872 GB, free: 5.828 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.01172, allocations: 0 / 0.9872 GB, free: 5.828 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005405/0.01226, allocations: 263.4 kB / 0.9875 GB, free: 5.555 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 1.712e-05/0.01228, allocations: 15.89 kB / 0.9875 GB, free: 5.539 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.921e-05/0.0123, allocations: 4 kB / 0.9875 GB, free: 5.535 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001368/0.01244, allocations: 23.91 kB / 0.9875 GB, free: 5.512 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.536e-05/0.0125, allocations: 7.984 kB / 0.9875 GB, free: 5.504 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.916e-06/0.01251, allocations: 4 kB / 0.9875 GB, free: 5.5 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.535e-05/0.01258, allocations: 95.7 kB / 0.9876 GB, free: 5.406 MB / 0.9356 GB Notification: Performance of sort global known variables: time 7e-08/0.01258, allocations: 0 / 0.9876 GB, free: 5.406 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002623/0.01284, allocations: 27.89 kB / 0.9876 GB, free: 5.379 MB / 0.9356 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 (14): * Single equations (assignments): 14 * 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.0001441/0.01298, allocations: 99.25 kB / 0.9877 GB, free: 5.273 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004927/0.01347, allocations: 139.3 kB / 0.9879 GB, free: 5.141 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.01348, allocations: 0 / 0.9879 GB, free: 5.141 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002277/0.0137, allocations: 75.88 kB / 0.9879 GB, free: 5.066 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003739/0.01408, allocations: 26.12 kB / 0.988 GB, free: 5.043 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006245/0.0147, allocations: 270 kB / 0.9882 GB, free: 4.754 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001163/0.01482, allocations: 97.61 kB / 0.9883 GB, free: 4.641 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 6.156e-05/0.01488, allocations: 8.5 kB / 0.9883 GB, free: 4.633 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.215e-05/0.01493, allocations: 16.5 kB / 0.9883 GB, free: 4.617 MB / 0.9356 GB Notification: Performance of SimCode: time 5.91e-07/0.01493, allocations: 0 / 0.9883 GB, free: 4.617 MB / 0.9356 GB Notification: Performance of Templates: time 0.004448/0.01938, allocations: 1.184 MB / 0.9895 GB, free: 3.504 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime.sim & ./Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIIntegralTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime.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.30024504289031]