Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.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.001844/0.001844, allocations: 108 kB / 16.46 MB, free: 6.512 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.00238/0.00238, allocations: 209.6 kB / 19.43 MB, free: 3.648 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.506/1.506, allocations: 230.6 MB / 252.8 MB, free: 9.098 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.505/3.505, allocations: 0.505 GB / 0.8066 GB, free: 23.07 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.PID,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_Validation_PID",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_Validation_PID",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.002307/0.002307, allocations: 68.48 kB / 1.172 GB, free: 17.61 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3399/0.3422, allocations: 180.2 MB / 1.348 GB, free: 9.996 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID): time 0.003097/0.3453, allocations: 1.265 MB / 1.349 GB, free: 8.73 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001634/0.347, allocations: 1.003 MB / 1.35 GB, free: 7.715 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002035/0.3472, allocations: 4 kB / 1.35 GB, free: 7.711 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001061/0.3473, allocations: 27.66 kB / 1.35 GB, free: 7.684 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.000179/0.3475, allocations: 35.66 kB / 1.35 GB, free: 7.648 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001849/0.3476, allocations: 95.91 kB / 1.35 GB, free: 7.555 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0003906/0.348, allocations: 307.4 kB / 1.35 GB, free: 7.254 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000321/0.3484, allocations: 145.5 kB / 1.351 GB, free: 7.105 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001907/0.3486, allocations: 123.6 kB / 1.351 GB, free: 6.984 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001599/0.3487, allocations: 115.5 kB / 1.351 GB, free: 6.871 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 5.206e-05/0.3488, allocations: 36 kB / 1.351 GB, free: 6.836 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 4.318e-05/0.3488, allocations: 36 kB / 1.351 GB, free: 6.801 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 6.05e-05/0.3489, allocations: 67.83 kB / 1.351 GB, free: 6.734 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001381/0.349, allocations: 127.3 kB / 1.351 GB, free: 6.609 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0004746/0.3495, allocations: 450.5 kB / 1.351 GB, free: 6.168 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.3495, allocations: 4 kB / 1.351 GB, free: 6.164 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.553e-06/0.3495, allocations: 0 / 1.351 GB, free: 6.164 MB / 1.045 GB Notification: Performance of Transformations before backend: time 9.267e-06/0.3495, allocations: 0 / 1.351 GB, free: 6.164 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0009602/0.3505, allocations: 0.5535 MB / 1.352 GB, free: 5.559 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/0.3505, allocations: 12.03 kB / 1.352 GB, free: 5.547 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.02e-05/0.3506, allocations: 62.72 kB / 1.352 GB, free: 5.477 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.159e-05/0.3506, allocations: 24.8 kB / 1.352 GB, free: 5.453 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000351/0.351, allocations: 272.5 kB / 1.352 GB, free: 5.148 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.231e-05/0.351, allocations: 16.94 kB / 1.352 GB, free: 5.129 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.584e-05/0.3511, allocations: 28.38 kB / 1.352 GB, free: 5.102 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006474/0.3517, allocations: 253.4 kB / 1.353 GB, free: 4.848 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.3517, allocations: 7.938 kB / 1.353 GB, free: 4.84 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.509e-05/0.3517, allocations: 8 kB / 1.353 GB, free: 4.832 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.016e-06/0.3517, allocations: 8 kB / 1.353 GB, free: 4.824 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007004/0.3524, allocations: 238.1 kB / 1.353 GB, free: 4.594 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001198/0.3536, allocations: 0.7561 MB / 1.354 GB, free: 3.785 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005994/0.3542, allocations: 206.7 kB / 1.354 GB, free: 3.574 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003342/0.3546, allocations: 112.7 kB / 1.354 GB, free: 3.461 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.16e-05/0.3546, allocations: 4 kB / 1.354 GB, free: 3.457 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.656e-05/0.3546, allocations: 30.56 kB / 1.354 GB, free: 3.418 MB / 1.045 GB Notification: Performance of pre-optimization done (n=20): time 1.964e-06/0.3546, allocations: 0 / 1.354 GB, free: 3.418 MB / 1.045 GB Notification: Performance of matching and sorting (n=20): time 0.001018/0.3556, allocations: 318.9 kB / 1.354 GB, free: 3.102 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.252e-05/0.3557, allocations: 51.41 kB / 1.354 GB, free: 3.039 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001485/0.3558, allocations: 144.1 kB / 1.354 GB, free: 2.891 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.372e-05/0.3559, allocations: 25.7 kB / 1.355 GB, free: 2.859 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001161/0.356, allocations: 156.6 kB / 1.355 GB, free: 2.703 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 6.355e-05/0.356, allocations: 75.39 kB / 1.355 GB, free: 2.629 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.302e-05/0.3561, allocations: 33.7 kB / 1.355 GB, free: 2.59 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001531/0.3563, allocations: 326.8 kB / 1.355 GB, free: 2.262 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002884/0.3566, allocations: 79.88 kB / 1.355 GB, free: 2.184 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003183/0.3569, allocations: 108.5 kB / 1.355 GB, free: 2.074 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000578/0.3575, allocations: 195.4 kB / 1.355 GB, free: 1.879 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.3575, allocations: 0 / 1.355 GB, free: 1.879 MB / 1.045 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0006594/0.3581, allocations: 246.7 kB / 1.356 GB, free: 1.633 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/0.3581, allocations: 4 kB / 1.356 GB, free: 1.629 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.3581, allocations: 0 / 1.356 GB, free: 1.629 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.3581, allocations: 0 / 1.356 GB, free: 1.629 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000272/0.3584, allocations: 59.92 kB / 1.356 GB, free: 1.57 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.555e-06/0.3584, allocations: 3.938 kB / 1.356 GB, free: 1.566 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001556/0.3586, allocations: 31.86 kB / 1.356 GB, free: 1.535 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.305e-05/0.3586, allocations: 8 kB / 1.356 GB, free: 1.527 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (21): * Single equations (assignments): 21 * 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.0001362/0.3587, allocations: 133.8 kB / 1.356 GB, free: 1.387 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.049e-05/0.3588, allocations: 11.95 kB / 1.356 GB, free: 1.375 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.882e-05/0.3588, allocations: 21.19 kB / 1.356 GB, free: 1.352 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/0.3588, allocations: 11.92 kB / 1.356 GB, free: 1.34 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.3588, allocations: 0 / 1.356 GB, free: 1.34 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.3588, allocations: 0 / 1.356 GB, free: 1.34 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003596/0.3592, allocations: 305.5 kB / 1.356 GB, free: 0.9922 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.3592, allocations: 4 kB / 1.356 GB, free: 0.9883 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002581/0.3595, allocations: 55.89 kB / 1.356 GB, free: 0.9336 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.3595, allocations: 0 / 1.356 GB, free: 0.9336 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.709e-05/0.3595, allocations: 4 kB / 1.356 GB, free: 0.9297 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.3595, allocations: 3.938 kB / 1.356 GB, free: 0.9258 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3595, allocations: 4 kB / 1.356 GB, free: 0.9219 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006896/0.3602, allocations: 329.3 kB / 1.357 GB, free: 0.5859 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 5.969e-05/0.3602, allocations: 100.9 kB / 1.357 GB, free: 480 kB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.513e-05/0.3603, allocations: 8 kB / 1.357 GB, free: 472 kB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001726/0.3604, allocations: 19.91 kB / 1.357 GB, free: 452 kB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.648e-05/0.3605, allocations: 19.92 kB / 1.357 GB, free: 432 kB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.113e-05/0.3605, allocations: 4 kB / 1.357 GB, free: 428 kB / 1.045 GB Notification: Performance of sorting global known variables: time 9.564e-05/0.3606, allocations: 107.3 kB / 1.357 GB, free: 320 kB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.3606, allocations: 0 / 1.357 GB, free: 320 kB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002871/0.3609, allocations: 51.78 kB / 1.357 GB, free: 268 kB / 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 (20): * Single equations (assignments): 20 * 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.001052/0.3619, allocations: 0.8745 MB / 1.358 GB, free: 15.36 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.00064/0.3626, allocations: 195.8 kB / 1.358 GB, free: 15.17 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.3626, allocations: 0 / 1.358 GB, free: 15.17 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0003053/0.3629, allocations: 103.9 kB / 1.358 GB, free: 15.07 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004013/0.3633, allocations: 38.42 kB / 1.358 GB, free: 15.04 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00335/0.3666, allocations: 2.108 MB / 1.36 GB, free: 12.84 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003688/0.367, allocations: 0.7435 MB / 1.361 GB, free: 12.07 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 9.203e-05/0.3671, allocations: 17.42 kB / 1.361 GB, free: 12.06 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001186/0.3672, allocations: 59.42 kB / 1.361 GB, free: 12 MB / 1.061 GB Notification: Performance of SimCode: time 5.41e-07/0.3672, allocations: 0 / 1.361 GB, free: 12 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02832/0.3955, allocations: 3.37 MB / 1.364 GB, free: 8.82 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.152/8.547, allocations: 5.922 kB / 1.364 GB, free: 8.816 MB / 1.061 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_Validation_PID_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_Validation_PID.fmu > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_Validation_PID.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.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.602491923142225]