Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.002221/0.002221, allocations: 116.8 kB / 17.16 MB, free: 5.895 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.002337/0.002337, allocations: 212 kB / 20.13 MB, free: 2.949 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.62/1.62, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.184/3.184, allocations: 0.49 GB / 0.7923 GB, free: 1.316 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.Validation.PID,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_Validation_PID",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_Validation_PID",fmuType="cs",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.002023/0.002023, allocations: 63.91 kB / 1.15 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.085/1.087, allocations: 176.1 MB / 1.321 GB, free: 24.86 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID): time 0.002139/1.089, allocations: 1.266 MB / 1.323 GB, free: 23.99 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001066/1.09, allocations: 0.9998 MB / 1.324 GB, free: 23.23 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.779e-05/1.091, allocations: 9.469 kB / 1.324 GB, free: 23.22 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 6.565e-05/1.091, allocations: 26.58 kB / 1.324 GB, free: 23.2 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001246/1.091, allocations: 33.47 kB / 1.324 GB, free: 23.18 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001166/1.091, allocations: 94.72 kB / 1.324 GB, free: 23.12 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002439/1.091, allocations: 310.5 kB / 1.324 GB, free: 22.95 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002468/1.091, allocations: 148.6 kB / 1.324 GB, free: 22.86 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001204/1.091, allocations: 117.6 kB / 1.324 GB, free: 22.79 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 9.981e-05/1.092, allocations: 116.8 kB / 1.325 GB, free: 22.72 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.932e-05/1.092, allocations: 39.75 kB / 1.325 GB, free: 22.72 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 2.943e-05/1.092, allocations: 33.91 kB / 1.325 GB, free: 22.72 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 4.164e-05/1.092, allocations: 70.7 kB / 1.325 GB, free: 22.67 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 7.583e-05/1.092, allocations: 125.8 kB / 1.325 GB, free: 22.57 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003088/1.092, allocations: 451 kB / 1.325 GB, free: 22.41 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.431e-06/1.092, allocations: 0 / 1.325 GB, free: 22.41 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.294e-06/1.092, allocations: 0 / 1.325 GB, free: 22.41 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.842e-06/1.092, allocations: 0 / 1.325 GB, free: 22.41 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0007956/1.093, allocations: 0.5513 MB / 1.326 GB, free: 21.94 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/1.093, allocations: 11.16 kB / 1.326 GB, free: 21.94 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.596e-05/1.093, allocations: 6.375 kB / 1.326 GB, free: 21.94 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.052e-05/1.093, allocations: 61.62 kB / 1.326 GB, free: 21.88 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.193e-05/1.093, allocations: 31.34 kB / 1.326 GB, free: 21.87 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000265/1.093, allocations: 269.1 kB / 1.326 GB, free: 21.61 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.118e-05/1.093, allocations: 24.25 kB / 1.326 GB, free: 21.59 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.37e-05/1.093, allocations: 25.53 kB / 1.326 GB, free: 21.59 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005684/1.094, allocations: 258.3 kB / 1.326 GB, free: 21.48 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/1.094, allocations: 0 / 1.326 GB, free: 21.48 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.651e-05/1.094, allocations: 10.59 kB / 1.326 GB, free: 21.47 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.478e-06/1.094, allocations: 5.406 kB / 1.326 GB, free: 21.47 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006559/1.095, allocations: 242.8 kB / 1.327 GB, free: 21.4 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00101/1.096, allocations: 0.7504 MB / 1.327 GB, free: 20.89 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006178/1.096, allocations: 206.7 kB / 1.328 GB, free: 20.8 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003328/1.097, allocations: 114.9 kB / 1.328 GB, free: 20.76 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.512e-05/1.097, allocations: 2.719 kB / 1.328 GB, free: 20.76 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.645e-05/1.097, allocations: 35.28 kB / 1.328 GB, free: 20.72 MB / 1.061 GB Notification: Performance of pre-optimization done (n=20): time 1.452e-06/1.097, allocations: 0.5 kB / 1.328 GB, free: 20.72 MB / 1.061 GB Notification: Performance of matching and sorting (n=20): time 0.001077/1.098, allocations: 314.3 kB / 1.328 GB, free: 20.61 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.978e-05/1.098, allocations: 53.84 kB / 1.328 GB, free: 20.55 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000117/1.098, allocations: 148.8 kB / 1.328 GB, free: 20.43 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.666e-05/1.098, allocations: 26.33 kB / 1.328 GB, free: 20.4 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 7.989e-05/1.098, allocations: 158.7 kB / 1.328 GB, free: 20.26 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.873e-05/1.098, allocations: 69.52 kB / 1.328 GB, free: 20.21 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.327e-05/1.098, allocations: 37.05 kB / 1.328 GB, free: 20.18 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 6.629e-05/1.098, allocations: 332.8 kB / 1.329 GB, free: 19.85 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003059/1.098, allocations: 74.86 kB / 1.329 GB, free: 19.84 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003122/1.099, allocations: 105.5 kB / 1.329 GB, free: 19.79 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006032/1.099, allocations: 190.7 kB / 1.329 GB, free: 19.72 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.155e-06/1.099, allocations: 4 kB / 1.329 GB, free: 19.72 MB / 1.061 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0007234/1.1, allocations: 239.2 kB / 1.329 GB, free: 19.62 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/1.1, allocations: 6.344 kB / 1.329 GB, free: 19.62 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/1.1, allocations: 0.5625 kB / 1.329 GB, free: 19.62 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.015e-05/1.1, allocations: 5.625 kB / 1.329 GB, free: 19.62 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002978/1.1, allocations: 57.17 kB / 1.329 GB, free: 19.61 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.067e-05/1.1, allocations: 2.406 kB / 1.329 GB, free: 19.61 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001749/1.101, allocations: 26.14 kB / 1.329 GB, free: 19.61 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.774e-05/1.101, allocations: 4.438 kB / 1.329 GB, free: 19.61 MB / 1.061 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.0001336/1.101, allocations: 138 kB / 1.33 GB, free: 19.47 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.408e-05/1.101, allocations: 18.81 kB / 1.33 GB, free: 19.46 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.644e-05/1.101, allocations: 24.39 kB / 1.33 GB, free: 19.44 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.975e-06/1.101, allocations: 6.453 kB / 1.33 GB, free: 19.43 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.357e-06/1.101, allocations: 0.5625 kB / 1.33 GB, free: 19.43 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/1.101, allocations: 1.812 kB / 1.33 GB, free: 19.43 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003931/1.101, allocations: 309.1 kB / 1.33 GB, free: 19.18 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/1.101, allocations: 4.594 kB / 1.33 GB, free: 19.18 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002841/1.102, allocations: 51.7 kB / 1.33 GB, free: 19.17 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.701e-06/1.102, allocations: 1.297 kB / 1.33 GB, free: 19.17 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.462e-05/1.102, allocations: 1.312 kB / 1.33 GB, free: 19.17 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.38e-06/1.102, allocations: 9.438 kB / 1.33 GB, free: 19.16 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/1.102, allocations: 0.6562 kB / 1.33 GB, free: 19.16 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007407/1.102, allocations: 336.6 kB / 1.33 GB, free: 18.97 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 4.132e-05/1.102, allocations: 100.8 kB / 1.33 GB, free: 18.86 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.762e-05/1.102, allocations: 6.812 kB / 1.33 GB, free: 18.85 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001811/1.103, allocations: 21.75 kB / 1.33 GB, free: 18.85 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001075/1.103, allocations: 15.48 kB / 1.33 GB, free: 18.84 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.387e-05/1.103, allocations: 7.688 kB / 1.33 GB, free: 18.84 MB / 1.061 GB Notification: Performance of sorting global known variables: time 7.486e-05/1.103, allocations: 108 kB / 1.331 GB, free: 18.76 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/1.103, allocations: 0 / 1.331 GB, free: 18.76 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003197/1.103, allocations: 48.25 kB / 1.331 GB, free: 18.74 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 (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.0009868/1.104, allocations: 0.8736 MB / 1.331 GB, free: 18.01 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0007192/1.105, allocations: 192.2 kB / 1.332 GB, free: 17.97 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/1.105, allocations: 0 / 1.332 GB, free: 17.97 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0003192/1.105, allocations: 108 kB / 1.332 GB, free: 17.94 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004138/1.106, allocations: 28.16 kB / 1.332 GB, free: 17.93 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003346/1.109, allocations: 2.103 MB / 1.334 GB, free: 16.41 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002566/1.109, allocations: 0.7476 MB / 1.335 GB, free: 15.7 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001102/1.109, allocations: 15.86 kB / 1.335 GB, free: 15.7 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001183/1.109, allocations: 66.95 kB / 1.335 GB, free: 15.64 MB / 1.061 GB Notification: Performance of SimCode: time 4.31e-07/1.109, allocations: 0 / 1.335 GB, free: 15.64 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02185/1.131, allocations: 3.391 MB / 1.338 GB, free: 15.17 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.655/9.786, allocations: 11.59 kB / 1.338 GB, free: 15.17 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_Validation_PID_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_Validation_PID.fmu > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_Validation_PID.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 16.690248241007794]