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.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.001268/0.001268, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 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.001451/0.001451, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.8993/0.8993, allocations: 177.1 MB / 202.8 MB, free: 5.75 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.733/1.733, allocations: 377.8 MB / 0.6221 GB, free: 8.656 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: "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIGain",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 7.414e-06/7.414e-06, allocations: 0 / 0.981 GB, free: 2.543 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.272e-05/3.014e-05, allocations: 2.281 kB / 0.981 GB, free: 2.539 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain): time 0.001631/0.001661, allocations: 0.9229 MB / 0.9819 GB, free: 1.617 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0008868/0.002548, allocations: 0.9133 MB / 0.9828 GB, free: 0.6914 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.98e-05/0.002608, allocations: 4 kB / 0.9828 GB, free: 0.6875 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 4.503e-05/0.002653, allocations: 15.8 kB / 0.9828 GB, free: 0.6719 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 9.109e-05/0.002744, allocations: 27.73 kB / 0.9828 GB, free: 0.6445 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 8.943e-05/0.002833, allocations: 51.92 kB / 0.9829 GB, free: 0.5938 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.0001549/0.002988, allocations: 168.2 kB / 0.983 GB, free: 440 kB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001766/0.003165, allocations: 68.88 kB / 0.9831 GB, free: 368 kB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001282/0.003293, allocations: 107.7 kB / 0.9832 GB, free: 260 kB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 6.702e-05/0.00336, allocations: 55.78 kB / 0.9833 GB, free: 204 kB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 3.161e-05/0.003392, allocations: 20 kB / 0.9833 GB, free: 184 kB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 1.514e-05/0.003407, allocations: 20 kB / 0.9833 GB, free: 164 kB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 2.85e-05/0.003435, allocations: 35.91 kB / 0.9833 GB, free: 128 kB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 4.061e-05/0.003476, allocations: 47.84 kB / 0.9834 GB, free: 80 kB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001933/0.003669, allocations: 231.2 kB / 0.9836 GB, free: 15.85 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.003671, allocations: 0 / 0.9836 GB, free: 15.85 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.312e-06/0.003673, allocations: 0 / 0.9836 GB, free: 15.85 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.468e-06/0.003677, allocations: 4 kB / 0.9836 GB, free: 15.84 MB / 0.948 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.0005079/0.004185, allocations: 398 kB / 0.984 GB, free: 15.42 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.83e-05/0.004233, allocations: 12.03 kB / 0.984 GB, free: 15.41 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.482e-05/0.004278, allocations: 46.73 kB / 0.984 GB, free: 15.35 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.537e-05/0.004313, allocations: 20.84 kB / 0.9841 GB, free: 15.33 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000174/0.004487, allocations: 156.5 kB / 0.9842 GB, free: 15.16 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.462e-05/0.004502, allocations: 16.7 kB / 0.9842 GB, free: 15.14 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.808e-05/0.00452, allocations: 20.3 kB / 0.9842 GB, free: 15.12 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002876/0.004808, allocations: 192.7 kB / 0.9844 GB, free: 14.93 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.004816, allocations: 192 / 0.9844 GB, free: 14.93 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.273e-05/0.004829, allocations: 4.375 kB / 0.9844 GB, free: 14.93 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.597e-06/0.004837, allocations: 8.125 kB / 0.9844 GB, free: 14.92 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002974/0.005135, allocations: 184.1 kB / 0.9846 GB, free: 14.74 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005124/0.005647, allocations: 431.4 kB / 0.985 GB, free: 14.28 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000228/0.005875, allocations: 146.4 kB / 0.9852 GB, free: 14.12 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001472/0.006022, allocations: 88.8 kB / 0.9853 GB, free: 14.04 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.426e-05/0.006037, allocations: 0 / 0.9853 GB, free: 14.04 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.284e-05/0.00606, allocations: 34.56 kB / 0.9853 GB, free: 13.99 MB / 0.948 GB Notification: Performance of pre-optimization done (n=13): time 1.152e-06/0.006061, allocations: 0 / 0.9853 GB, free: 13.99 MB / 0.948 GB Notification: Performance of matching and sorting (n=13): time 0.0004784/0.006539, allocations: 253.4 kB / 0.9855 GB, free: 13.74 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.533e-05/0.006574, allocations: 59.28 kB / 0.9856 GB, free: 13.67 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.684e-05/0.006661, allocations: 128.9 kB / 0.9857 GB, free: 13.53 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.502e-05/0.006676, allocations: 29.7 kB / 0.9857 GB, free: 13.5 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 7.226e-05/0.006749, allocations: 128.3 kB / 0.9859 GB, free: 13.37 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.825e-05/0.006777, allocations: 47.64 kB / 0.9859 GB, free: 13.32 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.08e-05/0.006818, allocations: 25.72 kB / 0.9859 GB, free: 13.29 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.196e-05/0.00691, allocations: 318.8 kB / 0.9862 GB, free: 12.97 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001243/0.007034, allocations: 67.94 kB / 0.9863 GB, free: 12.9 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001343/0.007168, allocations: 94.5 kB / 0.9864 GB, free: 12.8 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002575/0.007426, allocations: 168.5 kB / 0.9865 GB, free: 12.63 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.566e-06/0.007429, allocations: 3.938 kB / 0.9866 GB, free: 12.62 MB / 0.948 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002901/0.007719, allocations: 197.5 kB / 0.9867 GB, free: 12.43 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.007733, allocations: 4 kB / 0.9867 GB, free: 12.42 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.209e-06/0.007738, allocations: 0 / 0.9867 GB, free: 12.42 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.007753, allocations: 4 kB / 0.9867 GB, free: 12.42 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001254/0.007878, allocations: 39.95 kB / 0.9868 GB, free: 12.38 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.007883, allocations: 0 / 0.9868 GB, free: 12.38 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.089e-05/0.007944, allocations: 27.88 kB / 0.9868 GB, free: 12.35 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.654e-06/0.007952, allocations: 4 kB / 0.9868 GB, free: 12.35 MB / 0.948 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 7.916e-05/0.008031, allocations: 141.8 kB / 0.987 GB, free: 12.2 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.625e-05/0.008047, allocations: 7.953 kB / 0.987 GB, free: 12.19 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.56e-05/0.008073, allocations: 12.78 kB / 0.987 GB, free: 12.18 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.008076, allocations: 4 kB / 0.987 GB, free: 12.18 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.008081, allocations: 3.938 kB / 0.987 GB, free: 12.17 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.008084, allocations: 0 / 0.987 GB, free: 12.17 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001665/0.00825, allocations: 208.5 kB / 0.9872 GB, free: 11.93 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.008252, allocations: 0 / 0.9872 GB, free: 11.93 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.284e-05/0.008334, allocations: 35.97 kB / 0.9872 GB, free: 11.89 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.022e-06/0.008335, allocations: 4 kB / 0.9872 GB, free: 11.89 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.718e-06/0.008345, allocations: 3.984 kB / 0.9872 GB, free: 11.88 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.22e-07/0.008346, allocations: 0 / 0.9872 GB, free: 11.88 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.008347, allocations: 0 / 0.9872 GB, free: 11.88 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003219/0.008669, allocations: 298 kB / 0.9875 GB, free: 11.58 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.151e-05/0.008681, allocations: 11.91 kB / 0.9875 GB, free: 11.57 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.385e-05/0.008695, allocations: 4 kB / 0.9875 GB, free: 11.56 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.635e-05/0.008771, allocations: 23.97 kB / 0.9875 GB, free: 11.54 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.792e-05/0.008829, allocations: 15.95 kB / 0.9876 GB, free: 11.52 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.34e-06/0.008834, allocations: 4 kB / 0.9876 GB, free: 11.52 MB / 0.948 GB Notification: Performance of sorting global known variables: time 4.868e-05/0.008883, allocations: 97.8 kB / 0.9877 GB, free: 11.43 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.008883, allocations: 0 / 0.9877 GB, free: 11.43 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001781/0.009061, allocations: 35.89 kB / 0.9877 GB, free: 11.39 MB / 0.948 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.0005218/0.009583, allocations: 0.8216 MB / 0.9885 GB, free: 10.54 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0003206/0.009904, allocations: 163.9 kB / 0.9886 GB, free: 10.38 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.009906, allocations: 0 / 0.9886 GB, free: 10.38 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001291/0.01003, allocations: 75.88 kB / 0.9887 GB, free: 10.31 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002582/0.01029, allocations: 22.02 kB / 0.9887 GB, free: 10.29 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001687/0.01198, allocations: 1.843 MB / 0.9905 GB, free: 8.355 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.055e-05/0.01205, allocations: 102.9 kB / 0.9906 GB, free: 8.234 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 4.76e-05/0.0121, allocations: 8.5 kB / 0.9906 GB, free: 8.227 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.534e-05/0.01216, allocations: 44.48 kB / 0.9907 GB, free: 8.184 MB / 0.948 GB Notification: Performance of SimCode: time 5.11e-07/0.01216, allocations: 0 / 0.9907 GB, free: 8.184 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01559/0.02775, allocations: 3.47 MB / 0.9941 GB, free: 4.949 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.743/6.77, allocations: 1.172 kB / 0.9941 GB, free: 4.949 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIGain_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIGain.fmu > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIGain.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 10.825271656736732]