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.001603/0.001603, allocations: 99.64 kB / 18.95 MB, free: 2.676 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.002017/0.002017, allocations: 214.5 kB / 22.24 MB, free: 5.258 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.603/1.603, allocations: 230.6 MB / 256 MB, free: 7.777 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.392/3.392, allocations: 0.4892 GB / 0.7943 GB, free: 35.55 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="me",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="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.002099/0.002099, allocations: 75 kB / 1.153 GB, free: 25.81 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3429/0.345, allocations: 176.1 MB / 1.325 GB, free: 2.371 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID): time 0.002565/0.3475, allocations: 1.136 MB / 1.326 GB, free: 1.238 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001337/0.3489, allocations: 1.007 MB / 1.327 GB, free: 224 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.934e-05/0.349, allocations: 7.938 kB / 1.327 GB, free: 216 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 6.323e-05/0.349, allocations: 23.67 kB / 1.327 GB, free: 192 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001272/0.3492, allocations: 35.66 kB / 1.327 GB, free: 156 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001483/0.3493, allocations: 95.91 kB / 1.327 GB, free: 60 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.000337/0.3496, allocations: 303.4 kB / 1.328 GB, free: 15.76 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002708/0.3499, allocations: 138 kB / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002173/0.3501, allocations: 119.6 kB / 1.328 GB, free: 15.5 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001291/0.3503, allocations: 103.5 kB / 1.328 GB, free: 15.4 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.734e-05/0.3503, allocations: 36 kB / 1.328 GB, free: 15.37 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 4.187e-05/0.3504, allocations: 36 kB / 1.328 GB, free: 15.33 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 5.79e-05/0.3504, allocations: 59.84 kB / 1.328 GB, free: 15.27 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001034/0.3505, allocations: 107.5 kB / 1.328 GB, free: 15.17 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000448/0.351, allocations: 450.5 kB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.351, allocations: 0 / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.633e-06/0.351, allocations: 0 / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.692e-06/0.351, allocations: 4 kB / 1.329 GB, free: 14.72 MB / 1.029 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.0008627/0.3518, allocations: 481.8 kB / 1.329 GB, free: 14.21 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.3519, allocations: 8.031 kB / 1.329 GB, free: 14.21 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.896e-05/0.3519, allocations: 58.73 kB / 1.329 GB, free: 14.14 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.362e-05/0.352, allocations: 32.75 kB / 1.329 GB, free: 14.11 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003213/0.3523, allocations: 210.7 kB / 1.329 GB, free: 13.88 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.248e-05/0.3523, allocations: 17.03 kB / 1.329 GB, free: 13.86 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.739e-05/0.3524, allocations: 28.38 kB / 1.329 GB, free: 13.84 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000595/0.353, allocations: 262.6 kB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/0.353, allocations: 3.938 kB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.431e-05/0.353, allocations: 11.94 kB / 1.33 GB, free: 13.56 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.548e-06/0.353, allocations: 8 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00068/0.3537, allocations: 238.5 kB / 1.33 GB, free: 13.32 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001167/0.3549, allocations: 0.6478 MB / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005766/0.3554, allocations: 206.7 kB / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003732/0.3558, allocations: 104.8 kB / 1.331 GB, free: 12.31 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.78e-05/0.3558, allocations: 0 / 1.331 GB, free: 12.31 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.211e-05/0.3559, allocations: 42.5 kB / 1.331 GB, free: 12.26 MB / 1.029 GB Notification: Performance of pre-optimization done (n=20): time 1.202e-06/0.3559, allocations: 4 kB / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of matching and sorting (n=20): time 0.000967/0.3568, allocations: 311.6 kB / 1.331 GB, free: 11.95 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.119e-05/0.3569, allocations: 55.34 kB / 1.331 GB, free: 11.88 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001328/0.357, allocations: 145.8 kB / 1.331 GB, free: 11.73 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.32e-05/0.357, allocations: 25.7 kB / 1.331 GB, free: 11.7 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001209/0.3572, allocations: 156.6 kB / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.723e-05/0.3572, allocations: 63.44 kB / 1.332 GB, free: 11.48 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.756e-05/0.3573, allocations: 41.66 kB / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001654/0.3575, allocations: 326.8 kB / 1.332 GB, free: 11.1 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002735/0.3577, allocations: 79.94 kB / 1.332 GB, free: 11.02 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003814/0.3581, allocations: 111.5 kB / 1.332 GB, free: 10.91 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005466/0.3587, allocations: 191.1 kB / 1.332 GB, free: 10.72 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.3587, allocations: 0 / 1.332 GB, free: 10.72 MB / 1.029 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0007124/0.3594, allocations: 239.4 kB / 1.333 GB, free: 10.48 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.427e-05/0.3594, allocations: 11.98 kB / 1.333 GB, free: 10.47 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/0.3594, allocations: 4 kB / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/0.3594, allocations: 0 / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002714/0.3597, allocations: 55.94 kB / 1.333 GB, free: 10.41 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.3597, allocations: 0 / 1.333 GB, free: 10.41 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001478/0.3599, allocations: 27.91 kB / 1.333 GB, free: 10.38 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.513e-05/0.3599, allocations: 4 kB / 1.333 GB, free: 10.38 MB / 1.029 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.0001733/0.36, allocations: 141.8 kB / 1.333 GB, free: 10.23 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.198e-05/0.3601, allocations: 15.91 kB / 1.333 GB, free: 10.21 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.178e-05/0.3601, allocations: 25.09 kB / 1.333 GB, free: 10.18 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.845e-06/0.3602, allocations: 7.938 kB / 1.333 GB, free: 10.18 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.3602, allocations: 7.938 kB / 1.333 GB, free: 10.17 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.3602, allocations: 0 / 1.333 GB, free: 10.17 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003828/0.3606, allocations: 260.5 kB / 1.333 GB, free: 9.871 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.3606, allocations: 0 / 1.333 GB, free: 9.871 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002738/0.3608, allocations: 47.91 kB / 1.333 GB, free: 9.824 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.3608, allocations: 0 / 1.333 GB, free: 9.824 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.069e-05/0.3609, allocations: 8 kB / 1.333 GB, free: 9.816 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.34e-06/0.3609, allocations: 3.938 kB / 1.333 GB, free: 9.812 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/0.3609, allocations: 0 / 1.333 GB, free: 9.812 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000709/0.3616, allocations: 339.3 kB / 1.333 GB, free: 9.465 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.381e-05/0.3616, allocations: 11.91 kB / 1.333 GB, free: 9.453 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.239e-05/0.3616, allocations: 0 / 1.333 GB, free: 9.453 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001869/0.3618, allocations: 27.91 kB / 1.334 GB, free: 9.426 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.725e-05/0.3619, allocations: 15.97 kB / 1.334 GB, free: 9.41 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.087e-05/0.3619, allocations: 8 kB / 1.334 GB, free: 9.402 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.68e-05/0.362, allocations: 113.3 kB / 1.334 GB, free: 9.293 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.362, allocations: 0 / 1.334 GB, free: 9.293 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002861/0.3623, allocations: 51.78 kB / 1.334 GB, free: 9.242 MB / 1.029 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.001168/0.3634, allocations: 0.8777 MB / 1.335 GB, free: 8.34 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0007504/0.3642, allocations: 189.9 kB / 1.335 GB, free: 8.156 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3642, allocations: 4 kB / 1.335 GB, free: 8.152 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002838/0.3645, allocations: 103.9 kB / 1.335 GB, free: 8.051 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004397/0.3649, allocations: 27.98 kB / 1.335 GB, free: 8.023 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003591/0.3685, allocations: 2.108 MB / 1.337 GB, free: 5.828 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001332/0.3686, allocations: 133.6 kB / 1.337 GB, free: 5.684 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 9.492e-05/0.3687, allocations: 17.42 kB / 1.337 GB, free: 5.664 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001236/0.3689, allocations: 63.41 kB / 1.337 GB, free: 5.602 MB / 1.029 GB Notification: Performance of SimCode: time 8.02e-07/0.3689, allocations: 0 / 1.337 GB, free: 5.602 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03266/0.4015, allocations: 3.951 MB / 1.341 GB, free: 1.82 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.54/11.95, allocations: 12.41 kB / 1.341 GB, free: 1.812 MB / 1.029 GB " [Timeout remaining time 288] (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: 19.089931150898337]