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.0008416/0.0008416, 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.000964/0.000964, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.9103/0.9103, allocations: 177.1 MB / 202.8 MB, free: 5.746 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.74/1.74, allocations: 377.9 MB / 0.6221 GB, free: 8.668 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 1.563e-06/1.563e-06, allocations: 0 / 0.981 GB, free: 2.562 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.448e-05/1.604e-05, allocations: 8.953 kB / 0.981 GB, free: 2.555 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain): time 0.001364/0.00138, allocations: 0.9268 MB / 0.9819 GB, free: 1.629 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0008861/0.002266, allocations: 0.9172 MB / 0.9828 GB, free: 0.6992 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.207e-05/0.002328, allocations: 4 kB / 0.9828 GB, free: 0.6953 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 4.343e-05/0.002371, allocations: 15.8 kB / 0.9828 GB, free: 0.6797 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 9.89e-05/0.00247, allocations: 27.72 kB / 0.9828 GB, free: 0.6523 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 8.877e-05/0.002559, allocations: 47.95 kB / 0.9829 GB, free: 0.6055 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.0001346/0.002693, allocations: 168.2 kB / 0.983 GB, free: 452 kB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001674/0.002861, allocations: 76.86 kB / 0.9831 GB, free: 372 kB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001193/0.00298, allocations: 95.75 kB / 0.9832 GB, free: 276 kB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 7.14e-05/0.003052, allocations: 63.78 kB / 0.9833 GB, free: 212 kB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 3.051e-05/0.003082, allocations: 20 kB / 0.9833 GB, free: 192 kB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 1.366e-05/0.003096, allocations: 16 kB / 0.9833 GB, free: 176 kB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 2.975e-05/0.003125, allocations: 35.91 kB / 0.9833 GB, free: 140 kB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 4.262e-05/0.003168, allocations: 55.83 kB / 0.9834 GB, free: 84 kB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0002061/0.003374, allocations: 231.2 kB / 0.9836 GB, free: 15.86 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.003378, allocations: 4 kB / 0.9836 GB, free: 15.85 MB / 0.948 GB Notification: Performance of FrontEnd: time 9.92e-07/0.003379, allocations: 0 / 0.9836 GB, free: 15.85 MB / 0.948 GB Notification: Performance of Transformations before backend: time 3.737e-06/0.003382, allocations: 0 / 0.9836 GB, free: 15.85 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.0005224/0.003905, allocations: 398 kB / 0.984 GB, free: 15.43 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.003948, allocations: 8.031 kB / 0.984 GB, free: 15.42 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.306e-05/0.003991, allocations: 50.73 kB / 0.9841 GB, free: 15.36 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.914e-05/0.00402, allocations: 20.84 kB / 0.9841 GB, free: 15.34 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001579/0.004178, allocations: 149.9 kB / 0.9842 GB, free: 15.17 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.261e-05/0.004191, allocations: 8.703 kB / 0.9842 GB, free: 15.16 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.806e-05/0.004209, allocations: 16.38 kB / 0.9842 GB, free: 15.14 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002866/0.004495, allocations: 192.6 kB / 0.9844 GB, free: 14.95 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.004503, allocations: 4.188 kB / 0.9844 GB, free: 14.95 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.358e-05/0.004517, allocations: 4.375 kB / 0.9844 GB, free: 14.95 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.004524, allocations: 8.125 kB / 0.9844 GB, free: 14.94 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002803/0.004804, allocations: 180.1 kB / 0.9846 GB, free: 14.76 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004916/0.005296, allocations: 435.4 kB / 0.985 GB, free: 14.29 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00021/0.005506, allocations: 146.4 kB / 0.9852 GB, free: 14.14 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001331/0.005639, allocations: 84.8 kB / 0.9852 GB, free: 14.05 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.287e-05/0.005652, allocations: 4 kB / 0.9852 GB, free: 14.05 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.788e-05/0.00567, allocations: 30.56 kB / 0.9853 GB, free: 14.01 MB / 0.948 GB Notification: Performance of pre-optimization done (n=13): time 1.213e-06/0.005671, allocations: 0 / 0.9853 GB, free: 14.01 MB / 0.948 GB Notification: Performance of matching and sorting (n=13): time 0.0004552/0.006126, allocations: 255.9 kB / 0.9855 GB, free: 13.76 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.515e-05/0.006161, allocations: 59.34 kB / 0.9856 GB, free: 13.69 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.783e-05/0.006249, allocations: 136.4 kB / 0.9857 GB, free: 13.54 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.347e-05/0.006262, allocations: 25.7 kB / 0.9857 GB, free: 13.51 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 7.281e-05/0.006335, allocations: 128.3 kB / 0.9859 GB, free: 13.38 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.658e-05/0.006362, allocations: 43.64 kB / 0.9859 GB, free: 13.34 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.002e-05/0.006402, allocations: 29.7 kB / 0.9859 GB, free: 13.3 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.901e-05/0.006491, allocations: 322.8 kB / 0.9862 GB, free: 12.98 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00012/0.006611, allocations: 67.94 kB / 0.9863 GB, free: 12.91 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001335/0.006744, allocations: 86.52 kB / 0.9864 GB, free: 12.82 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002497/0.006994, allocations: 174.6 kB / 0.9865 GB, free: 12.64 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/0.006998, allocations: 3.938 kB / 0.9866 GB, free: 12.64 MB / 0.948 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002916/0.00729, allocations: 195.5 kB / 0.9867 GB, free: 12.44 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.007305, allocations: 8 kB / 0.9867 GB, free: 12.43 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.007312, allocations: 0 / 0.9867 GB, free: 12.43 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.223e-05/0.007334, allocations: 4 kB / 0.9867 GB, free: 12.43 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001181/0.007452, allocations: 35.97 kB / 0.9868 GB, free: 12.39 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.137e-06/0.007462, allocations: 7.984 kB / 0.9868 GB, free: 12.39 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.702e-05/0.007529, allocations: 27.88 kB / 0.9868 GB, free: 12.36 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.326e-06/0.007537, allocations: 4 kB / 0.9868 GB, free: 12.36 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 8.582e-05/0.007623, allocations: 133.8 kB / 0.9869 GB, free: 12.21 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.899e-05/0.007642, allocations: 15.94 kB / 0.987 GB, free: 12.2 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.38e-05/0.007666, allocations: 12.78 kB / 0.987 GB, free: 12.19 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.684e-06/0.007667, allocations: 0 / 0.987 GB, free: 12.19 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.007673, allocations: 4 kB / 0.987 GB, free: 12.18 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.007676, allocations: 3.938 kB / 0.987 GB, free: 12.18 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001698/0.007846, allocations: 204.5 kB / 0.9872 GB, free: 11.94 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.007848, allocations: 0 / 0.9872 GB, free: 11.94 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.831e-05/0.007926, allocations: 31.97 kB / 0.9872 GB, free: 11.91 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.007928, allocations: 4 kB / 0.9872 GB, free: 11.9 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.248e-06/0.007937, allocations: 4 kB / 0.9872 GB, free: 11.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.01e-07/0.007938, allocations: 0 / 0.9872 GB, free: 11.9 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.007939, allocations: 3.984 kB / 0.9872 GB, free: 11.89 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003003/0.008239, allocations: 291.2 kB / 0.9875 GB, free: 11.59 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.378e-06/0.008249, allocations: 11.91 kB / 0.9875 GB, free: 11.58 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.415e-05/0.008263, allocations: 8 kB / 0.9875 GB, free: 11.57 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.128e-05/0.008334, allocations: 19.97 kB / 0.9875 GB, free: 11.55 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.368e-05/0.008378, allocations: 11.98 kB / 0.9875 GB, free: 11.54 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.779e-06/0.008383, allocations: 4 kB / 0.9876 GB, free: 11.54 MB / 0.948 GB Notification: Performance of sorting global known variables: time 3.982e-05/0.008422, allocations: 99.25 kB / 0.9876 GB, free: 11.44 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.008422, allocations: 0 / 0.9876 GB, free: 11.44 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001573/0.00858, allocations: 31.89 kB / 0.9877 GB, free: 11.41 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.000465/0.009045, allocations: 0.8282 MB / 0.9885 GB, free: 10.56 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002886/0.009333, allocations: 155.9 kB / 0.9886 GB, free: 10.41 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.009335, allocations: 3.938 kB / 0.9886 GB, free: 10.4 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001218/0.009457, allocations: 83.88 kB / 0.9887 GB, free: 10.32 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000219/0.009676, allocations: 18.02 kB / 0.9887 GB, free: 10.3 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001575/0.01125, allocations: 1.846 MB / 0.9905 GB, free: 8.371 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.631e-05/0.01132, allocations: 102.9 kB / 0.9906 GB, free: 8.25 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 4.42e-05/0.01136, allocations: 4.5 kB / 0.9906 GB, free: 8.246 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.664e-05/0.01143, allocations: 48.48 kB / 0.9907 GB, free: 8.199 MB / 0.948 GB Notification: Performance of SimCode: time 7.11e-07/0.01143, allocations: 0 / 0.9907 GB, free: 8.199 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01549/0.02692, allocations: 3.47 MB / 0.9941 GB, free: 4.961 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.59/6.617, allocations: 1.172 kB / 0.9941 GB, free: 4.961 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 & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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.847210578620434]