Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.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.001325/0.001325, allocations: 103.6 kB / 18.95 MB, free: 2.688 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.001584/0.001584, allocations: 216.8 kB / 22.24 MB, free: 5.242 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.567/1.567, allocations: 230.6 MB / 256 MB, free: 7.805 MB / 206.1 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.311/3.311, allocations: 0.5107 GB / 0.8158 GB, free: 17.77 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.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: "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_Validation_PI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_Validation_PI",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002067/0.002067, allocations: 61.25 kB / 1.186 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4205/0.4225, allocations: 181.9 MB / 1.363 GB, free: 14.07 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI): time 0.003057/0.4256, allocations: 1.21 MB / 1.365 GB, free: 12.85 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.00166/0.4272, allocations: 1.026 MB / 1.366 GB, free: 11.81 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001802/0.4274, allocations: 4 kB / 1.366 GB, free: 11.81 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.000108/0.4275, allocations: 35.59 kB / 1.366 GB, free: 11.77 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001838/0.4277, allocations: 31.66 kB / 1.366 GB, free: 11.74 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002133/0.4279, allocations: 119.9 kB / 1.366 GB, free: 11.62 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0004223/0.4284, allocations: 344.5 kB / 1.366 GB, free: 11.29 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003523/0.4287, allocations: 170.4 kB / 1.366 GB, free: 11.12 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002133/0.4289, allocations: 131.6 kB / 1.366 GB, free: 10.99 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001653/0.4291, allocations: 119.4 kB / 1.366 GB, free: 10.88 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 6.302e-05/0.4292, allocations: 44 kB / 1.367 GB, free: 10.83 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 5.301e-05/0.4292, allocations: 44 kB / 1.367 GB, free: 10.79 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 8.127e-05/0.4293, allocations: 83.77 kB / 1.367 GB, free: 10.71 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001311/0.4294, allocations: 127.5 kB / 1.367 GB, free: 10.58 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0005746/0.43, allocations: 0.5331 MB / 1.367 GB, free: 10.05 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.43, allocations: 4 kB / 1.367 GB, free: 10.04 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.625e-06/0.43, allocations: 0 / 1.367 GB, free: 10.04 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.358e-05/0.43, allocations: 4 kB / 1.367 GB, free: 10.04 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001004/0.431, allocations: 0.4978 MB / 1.368 GB, free: 9.508 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.037e-05/0.4311, allocations: 12.03 kB / 1.368 GB, free: 9.496 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.595e-05/0.4312, allocations: 66.72 kB / 1.368 GB, free: 9.422 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.135e-05/0.4312, allocations: 32.75 kB / 1.368 GB, free: 9.391 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000336/0.4315, allocations: 214.7 kB / 1.368 GB, free: 9.152 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.407e-05/0.4316, allocations: 25.03 kB / 1.368 GB, free: 9.129 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.154e-05/0.4316, allocations: 32.31 kB / 1.368 GB, free: 9.098 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006734/0.4323, allocations: 318.5 kB / 1.368 GB, free: 8.785 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.584e-05/0.4323, allocations: 3.938 kB / 1.368 GB, free: 8.781 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.463e-05/0.4323, allocations: 12 kB / 1.368 GB, free: 8.77 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.094e-05/0.4323, allocations: 8 kB / 1.368 GB, free: 8.762 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007276/0.4331, allocations: 286.4 kB / 1.369 GB, free: 8.477 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001249/0.4343, allocations: 0.7536 MB / 1.369 GB, free: 7.68 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006652/0.435, allocations: 243.8 kB / 1.37 GB, free: 7.434 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003448/0.4353, allocations: 133.2 kB / 1.37 GB, free: 7.301 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.018e-05/0.4354, allocations: 4 kB / 1.37 GB, free: 7.297 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.853e-05/0.4354, allocations: 42.5 kB / 1.37 GB, free: 7.246 MB / 1.061 GB Notification: Performance of pre-optimization done (n=25): time 2.144e-06/0.4354, allocations: 0 / 1.37 GB, free: 7.246 MB / 1.061 GB Notification: Performance of matching and sorting (n=25): time 0.001002/0.4364, allocations: 363.5 kB / 1.37 GB, free: 6.887 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.909e-05/0.4365, allocations: 59.33 kB / 1.37 GB, free: 6.816 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001377/0.4366, allocations: 143.2 kB / 1.37 GB, free: 6.668 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.67e-05/0.4366, allocations: 29.7 kB / 1.37 GB, free: 6.633 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001224/0.4367, allocations: 168.5 kB / 1.371 GB, free: 6.465 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 8.643e-05/0.4368, allocations: 95.16 kB / 1.371 GB, free: 6.371 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.24e-05/0.4369, allocations: 37.89 kB / 1.371 GB, free: 6.324 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001548/0.4371, allocations: 330.8 kB / 1.371 GB, free: 5.992 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002905/0.4373, allocations: 92.41 kB / 1.371 GB, free: 5.902 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003045/0.4377, allocations: 131.4 kB / 1.371 GB, free: 5.766 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005784/0.4382, allocations: 228 kB / 1.371 GB, free: 5.535 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.4382, allocations: 0 / 1.371 GB, free: 5.535 MB / 1.061 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0006892/0.4389, allocations: 289.2 kB / 1.372 GB, free: 5.246 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.4389, allocations: 8 kB / 1.372 GB, free: 5.238 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.563e-06/0.4389, allocations: 0 / 1.372 GB, free: 5.238 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.945e-05/0.439, allocations: 8.062 kB / 1.372 GB, free: 5.23 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002933/0.4393, allocations: 63.89 kB / 1.372 GB, free: 5.168 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.242e-05/0.4393, allocations: 7.938 kB / 1.372 GB, free: 5.16 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001543/0.4394, allocations: 31.83 kB / 1.372 GB, free: 5.129 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.474e-05/0.4395, allocations: 15.97 kB / 1.372 GB, free: 5.113 MB / 1.061 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 (27): * Single equations (assignments): 27 * 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.0001543/0.4396, allocations: 145.8 kB / 1.372 GB, free: 4.961 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.251e-05/0.4396, allocations: 15.91 kB / 1.372 GB, free: 4.945 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.754e-05/0.4397, allocations: 25.28 kB / 1.372 GB, free: 4.918 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.394e-06/0.4397, allocations: 7.938 kB / 1.372 GB, free: 4.91 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.4397, allocations: 0 / 1.372 GB, free: 4.91 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.4397, allocations: 3.984 kB / 1.372 GB, free: 4.906 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003694/0.4401, allocations: 288.5 kB / 1.372 GB, free: 4.582 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.4401, allocations: 0 / 1.372 GB, free: 4.582 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002771/0.4404, allocations: 63.89 kB / 1.372 GB, free: 4.52 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.4404, allocations: 0 / 1.372 GB, free: 4.52 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.659e-05/0.4404, allocations: 4 kB / 1.372 GB, free: 4.516 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.699e-06/0.4404, allocations: 7.938 kB / 1.372 GB, free: 4.508 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.4404, allocations: 0 / 1.372 GB, free: 4.508 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007365/0.4411, allocations: 379.1 kB / 1.373 GB, free: 4.121 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.328e-05/0.4412, allocations: 11.91 kB / 1.373 GB, free: 4.109 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.589e-05/0.4412, allocations: 4 kB / 1.373 GB, free: 4.105 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000172/0.4414, allocations: 27.91 kB / 1.373 GB, free: 4.078 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.009e-05/0.4414, allocations: 15.97 kB / 1.373 GB, free: 4.062 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.723e-05/0.4415, allocations: 12 kB / 1.373 GB, free: 4.051 MB / 1.061 GB Notification: Performance of sorting global known variables: time 8.571e-05/0.4415, allocations: 108.8 kB / 1.373 GB, free: 3.945 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.4415, allocations: 0 / 1.373 GB, free: 3.945 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000307/0.4418, allocations: 59.78 kB / 1.373 GB, free: 3.887 MB / 1.061 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 (25): * Single equations (assignments): 25 * 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.001105/0.443, allocations: 0.9039 MB / 1.374 GB, free: 2.957 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0006722/0.4436, allocations: 227.7 kB / 1.374 GB, free: 2.734 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.4436, allocations: 128 / 1.374 GB, free: 2.734 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0003172/0.4439, allocations: 123.9 kB / 1.374 GB, free: 2.613 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004282/0.4444, allocations: 33.44 kB / 1.374 GB, free: 2.582 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003669/0.448, allocations: 2.27 MB / 1.377 GB, free: 228 kB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001619/0.4482, allocations: 149.7 kB / 1.377 GB, free: 56 kB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001069/0.4483, allocations: 21.47 kB / 1.377 GB, free: 36 kB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001541/0.4485, allocations: 71.5 kB / 1.377 GB, free: 15.96 MB / 1.076 GB Notification: Performance of SimCode: time 4e-07/0.4485, allocations: 0 / 1.377 GB, free: 15.96 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03501/0.4835, allocations: 4.131 MB / 1.381 GB, free: 12.02 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.51/11.99, allocations: 4.75 kB / 1.381 GB, free: 12.02 MB / 1.076 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_Validation_PI.fmu > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_Validation_PI.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.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: 19.162737970240414]