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.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.001629/0.001629, allocations: 108.4 kB / 16.46 MB, free: 6.453 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.001487/0.001487, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.579/1.579, allocations: 230.6 MB / 252.8 MB, free: 8.977 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.403/3.403, allocations: 0.505 GB / 0.8066 GB, free: 23.11 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.BaseClasses.Validation.PIGain,fileNamePrefix="Buildings_latest_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_latest_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIGain",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.002118/0.002118, allocations: 72.58 kB / 1.172 GB, free: 17.53 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4295/0.4316, allocations: 180.2 MB / 1.348 GB, free: 10 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain): time 0.002464/0.4341, allocations: 0.9968 MB / 1.349 GB, free: 9.004 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001329/0.4354, allocations: 0.9094 MB / 1.35 GB, free: 8.082 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.841e-05/0.4355, allocations: 8 kB / 1.35 GB, free: 8.074 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 5.787e-05/0.4356, allocations: 19.73 kB / 1.35 GB, free: 8.055 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001179/0.4357, allocations: 15.8 kB / 1.35 GB, free: 8.039 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001096/0.4358, allocations: 51.95 kB / 1.35 GB, free: 7.988 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002241/0.436, allocations: 172.2 kB / 1.35 GB, free: 7.816 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002238/0.4362, allocations: 76.7 kB / 1.35 GB, free: 7.746 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001231/0.4364, allocations: 67.72 kB / 1.35 GB, free: 7.68 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000112/0.4365, allocations: 71.67 kB / 1.35 GB, free: 7.609 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 5.135e-05/0.4365, allocations: 20 kB / 1.35 GB, free: 7.59 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 2.734e-05/0.4365, allocations: 24 kB / 1.35 GB, free: 7.566 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 4.507e-05/0.4366, allocations: 39.84 kB / 1.35 GB, free: 7.527 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 8.776e-05/0.4367, allocations: 75.59 kB / 1.35 GB, free: 7.453 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0003051/0.437, allocations: 227 kB / 1.35 GB, free: 7.23 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.437, allocations: 0 / 1.35 GB, free: 7.23 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.124e-06/0.437, allocations: 0 / 1.35 GB, free: 7.23 MB / 1.045 GB Notification: Performance of Transformations before backend: time 8.165e-06/0.437, allocations: 3.938 kB / 1.35 GB, free: 7.227 MB / 1.045 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.0008732/0.4379, allocations: 475.1 kB / 1.351 GB, free: 6.707 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.81e-05/0.4379, allocations: 11.98 kB / 1.351 GB, free: 6.695 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.752e-05/0.438, allocations: 50.73 kB / 1.351 GB, free: 6.637 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.324e-05/0.438, allocations: 20.8 kB / 1.351 GB, free: 6.617 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00024/0.4383, allocations: 220.4 kB / 1.351 GB, free: 6.363 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.737e-05/0.4383, allocations: 8.703 kB / 1.351 GB, free: 6.355 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.578e-05/0.4383, allocations: 20.38 kB / 1.351 GB, free: 6.336 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004798/0.4388, allocations: 184.7 kB / 1.351 GB, free: 6.152 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.4388, allocations: 3.938 kB / 1.351 GB, free: 6.148 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.979e-05/0.4388, allocations: 8 kB / 1.351 GB, free: 6.141 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.318e-06/0.4388, allocations: 4 kB / 1.351 GB, free: 6.137 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000554/0.4394, allocations: 172.1 kB / 1.352 GB, free: 5.969 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000774/0.4402, allocations: 0.5118 MB / 1.352 GB, free: 5.406 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003769/0.4405, allocations: 134.5 kB / 1.352 GB, free: 5.266 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002763/0.4408, allocations: 88.78 kB / 1.352 GB, free: 5.176 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.539e-05/0.4408, allocations: 0 / 1.352 GB, free: 5.176 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.593e-05/0.4409, allocations: 30.56 kB / 1.352 GB, free: 5.137 MB / 1.045 GB Notification: Performance of pre-optimization done (n=13): time 9.92e-07/0.4409, allocations: 0 / 1.352 GB, free: 5.137 MB / 1.045 GB Notification: Performance of matching and sorting (n=13): time 0.0009539/0.4418, allocations: 256.4 kB / 1.353 GB, free: 4.883 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.052e-05/0.4419, allocations: 59.41 kB / 1.353 GB, free: 4.812 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001227/0.442, allocations: 131.8 kB / 1.353 GB, free: 4.672 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.338e-05/0.442, allocations: 25.7 kB / 1.353 GB, free: 4.641 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001388/0.4422, allocations: 136.2 kB / 1.353 GB, free: 4.504 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.538e-05/0.4422, allocations: 43.62 kB / 1.353 GB, free: 4.461 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.489e-05/0.4423, allocations: 29.7 kB / 1.353 GB, free: 4.426 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001663/0.4424, allocations: 326.8 kB / 1.353 GB, free: 4.098 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002527/0.4427, allocations: 63.94 kB / 1.353 GB, free: 4.035 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002738/0.443, allocations: 92.62 kB / 1.353 GB, free: 3.938 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000507/0.4435, allocations: 166.4 kB / 1.354 GB, free: 3.766 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.4435, allocations: 0 / 1.354 GB, free: 3.766 MB / 1.045 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005785/0.444, allocations: 193.5 kB / 1.354 GB, free: 3.57 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.4441, allocations: 8.062 kB / 1.354 GB, free: 3.562 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.4441, allocations: 0 / 1.354 GB, free: 3.562 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.4441, allocations: 4 kB / 1.354 GB, free: 3.559 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002222/0.4443, allocations: 43.91 kB / 1.354 GB, free: 3.516 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.161e-06/0.4443, allocations: 0 / 1.354 GB, free: 3.516 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001358/0.4444, allocations: 27.86 kB / 1.354 GB, free: 3.488 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.296e-05/0.4445, allocations: 4 kB / 1.354 GB, free: 3.484 MB / 1.045 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 0.000123/0.4446, allocations: 133.8 kB / 1.354 GB, free: 3.344 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.513e-05/0.4446, allocations: 11.94 kB / 1.354 GB, free: 3.332 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.784e-05/0.4447, allocations: 20.77 kB / 1.354 GB, free: 3.305 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.4447, allocations: 7.938 kB / 1.354 GB, free: 3.297 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.4447, allocations: 0 / 1.354 GB, free: 3.297 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.4447, allocations: 0 / 1.354 GB, free: 3.297 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002983/0.445, allocations: 249.4 kB / 1.354 GB, free: 3.004 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.445, allocations: 4 kB / 1.354 GB, free: 3 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000192/0.4452, allocations: 35.91 kB / 1.354 GB, free: 2.965 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.508e-06/0.4452, allocations: 8 kB / 1.354 GB, free: 2.957 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.466e-05/0.4452, allocations: 4 kB / 1.354 GB, free: 2.953 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.4452, allocations: 0 / 1.354 GB, free: 2.953 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.4452, allocations: 0 / 1.354 GB, free: 2.953 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006638/0.4459, allocations: 289.2 kB / 1.355 GB, free: 2.656 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 5.413e-05/0.4459, allocations: 85.06 kB / 1.355 GB, free: 2.555 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.111e-05/0.4459, allocations: 4 kB / 1.355 GB, free: 2.551 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001545/0.4461, allocations: 19.97 kB / 1.355 GB, free: 2.531 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.272e-05/0.4461, allocations: 11.98 kB / 1.355 GB, free: 2.52 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.145e-06/0.4462, allocations: 4 kB / 1.355 GB, free: 2.516 MB / 1.045 GB Notification: Performance of sorting global known variables: time 8.16e-05/0.4462, allocations: 103.2 kB / 1.355 GB, free: 2.414 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.4462, allocations: 0 / 1.355 GB, free: 2.414 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002552/0.4465, allocations: 35.89 kB / 1.355 GB, free: 2.379 MB / 1.045 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.0009526/0.4474, allocations: 0.8255 MB / 1.356 GB, free: 1.527 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.000571/0.448, allocations: 158.6 kB / 1.356 GB, free: 1.375 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.448, allocations: 0 / 1.356 GB, free: 1.375 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0002645/0.4483, allocations: 87.98 kB / 1.356 GB, free: 1.289 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003978/0.4487, allocations: 16 kB / 1.356 GB, free: 1.273 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002935/0.4516, allocations: 1.838 MB / 1.358 GB, free: 15.35 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003581/0.452, allocations: 0.7196 MB / 1.358 GB, free: 14.6 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 6.465e-05/0.452, allocations: 8.422 kB / 1.358 GB, free: 14.59 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.089e-05/0.4521, allocations: 41.3 kB / 1.358 GB, free: 14.55 MB / 1.061 GB Notification: Performance of SimCode: time 7.71e-07/0.4521, allocations: 0 / 1.358 GB, free: 14.55 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0248/0.4769, allocations: 2.75 MB / 1.361 GB, free: 12.01 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.092/8.569, allocations: 15.98 kB / 1.361 GB, free: 12 MB / 1.061 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIGain_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIGain.fmu > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 15.682930898852646]