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.PIIntegralTime.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.001359/0.001359, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001557/0.001557, allocations: 218.1 kB / 22.26 MB, free: 5.125 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.529/1.529, allocations: 230.6 MB / 256 MB, free: 7.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.481/3.481, allocations: 0.505 GB / 0.8101 GB, free: 22 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.PIIntegralTime,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIIntegralTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIIntegralTime",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.002154/0.002154, allocations: 61.5 kB / 1.177 GB, free: 17.13 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4287/0.4309, allocations: 180.2 MB / 1.353 GB, free: 8.457 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime): time 0.002973/0.4339, allocations: 0.9768 MB / 1.354 GB, free: 7.484 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001402/0.4353, allocations: 0.9016 MB / 1.355 GB, free: 6.57 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001303/0.4354, allocations: 0 / 1.355 GB, free: 6.57 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 6.496e-05/0.4355, allocations: 19.8 kB / 1.355 GB, free: 6.551 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001369/0.4356, allocations: 19.8 kB / 1.355 GB, free: 6.531 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001239/0.4357, allocations: 47.95 kB / 1.355 GB, free: 6.484 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.000258/0.436, allocations: 156.2 kB / 1.355 GB, free: 6.328 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002413/0.4362, allocations: 77.36 kB / 1.355 GB, free: 6.25 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001403/0.4364, allocations: 59.84 kB / 1.355 GB, free: 6.191 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001076/0.4365, allocations: 63.7 kB / 1.355 GB, free: 6.129 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.262e-05/0.4365, allocations: 23.94 kB / 1.355 GB, free: 6.105 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 2.737e-05/0.4365, allocations: 16 kB / 1.355 GB, free: 6.09 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 4.624e-05/0.4366, allocations: 43.84 kB / 1.355 GB, free: 6.047 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 8.018e-05/0.4367, allocations: 71.61 kB / 1.355 GB, free: 5.977 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002938/0.437, allocations: 215.1 kB / 1.356 GB, free: 5.766 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.437, allocations: 0 / 1.356 GB, free: 5.766 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.635e-06/0.437, allocations: 4 kB / 1.356 GB, free: 5.762 MB / 1.045 GB Notification: Performance of Transformations before backend: time 9.568e-06/0.437, allocations: 3.938 kB / 1.356 GB, free: 5.758 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0007513/0.4377, allocations: 381.7 kB / 1.356 GB, free: 5.352 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.746e-05/0.4378, allocations: 8.031 kB / 1.356 GB, free: 5.344 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.652e-05/0.4378, allocations: 46.73 kB / 1.356 GB, free: 5.289 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.406e-05/0.4379, allocations: 24.84 kB / 1.356 GB, free: 5.266 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002686/0.4382, allocations: 154.3 kB / 1.356 GB, free: 5.09 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.618e-05/0.4382, allocations: 8.375 kB / 1.356 GB, free: 5.082 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.012e-05/0.4382, allocations: 16.38 kB / 1.356 GB, free: 5.066 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003992/0.4386, allocations: 165.7 kB / 1.356 GB, free: 4.898 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/0.4386, allocations: 7.938 kB / 1.356 GB, free: 4.891 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.706e-05/0.4386, allocations: 4 kB / 1.356 GB, free: 4.887 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-06/0.4386, allocations: 4 kB / 1.356 GB, free: 4.883 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000395/0.439, allocations: 139.9 kB / 1.356 GB, free: 4.746 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000774/0.4398, allocations: 479.2 kB / 1.357 GB, free: 4.234 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004799/0.4403, allocations: 154.6 kB / 1.357 GB, free: 4.074 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002075/0.4405, allocations: 75.69 kB / 1.357 GB, free: 4 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.356e-05/0.4405, allocations: 4 kB / 1.357 GB, free: 3.996 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.486e-05/0.4406, allocations: 34.56 kB / 1.357 GB, free: 3.953 MB / 1.045 GB Notification: Performance of pre-optimization done (n=14): time 1.583e-06/0.4406, allocations: 0 / 1.357 GB, free: 3.953 MB / 1.045 GB Notification: Performance of matching and sorting (n=14): time 0.0006616/0.4412, allocations: 213.8 kB / 1.357 GB, free: 3.738 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.603e-05/0.4413, allocations: 59.34 kB / 1.357 GB, free: 3.668 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001127/0.4414, allocations: 117.8 kB / 1.358 GB, free: 3.543 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.534e-05/0.4414, allocations: 25.7 kB / 1.358 GB, free: 3.512 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 8.55e-05/0.4415, allocations: 124.3 kB / 1.358 GB, free: 3.387 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 5.31e-05/0.4415, allocations: 47.59 kB / 1.358 GB, free: 3.34 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.723e-05/0.4416, allocations: 29.72 kB / 1.358 GB, free: 3.305 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001542/0.4417, allocations: 326.8 kB / 1.358 GB, free: 2.977 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001754/0.4419, allocations: 55.95 kB / 1.358 GB, free: 2.922 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001582/0.4421, allocations: 51.95 kB / 1.358 GB, free: 2.871 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003294/0.4424, allocations: 126.7 kB / 1.358 GB, free: 2.746 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.4424, allocations: 0 / 1.358 GB, free: 2.746 MB / 1.045 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004013/0.4428, allocations: 165.6 kB / 1.358 GB, free: 2.578 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.225e-05/0.4428, allocations: 11.94 kB / 1.358 GB, free: 2.566 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.4428, allocations: 0 / 1.358 GB, free: 2.566 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.896e-05/0.4429, allocations: 0 / 1.358 GB, free: 2.566 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001783/0.443, allocations: 39.97 kB / 1.358 GB, free: 2.527 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.443, allocations: 0 / 1.358 GB, free: 2.527 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.74e-05/0.4431, allocations: 19.92 kB / 1.358 GB, free: 2.508 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.075e-05/0.4432, allocations: 7.938 kB / 1.359 GB, free: 2.5 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (14): * Single equations (assignments): 14 * 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.0001178/0.4433, allocations: 125.8 kB / 1.359 GB, free: 2.367 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.426e-05/0.4433, allocations: 11.91 kB / 1.359 GB, free: 2.355 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.806e-05/0.4434, allocations: 20.42 kB / 1.359 GB, free: 2.336 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.4434, allocations: 0 / 1.359 GB, free: 2.336 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/0.4434, allocations: 3.938 kB / 1.359 GB, free: 2.332 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.4434, allocations: 0 / 1.359 GB, free: 2.332 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002985/0.4437, allocations: 212.6 kB / 1.359 GB, free: 2.082 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.4437, allocations: 4 kB / 1.359 GB, free: 2.078 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001772/0.4438, allocations: 35.97 kB / 1.359 GB, free: 2.043 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.4438, allocations: 0 / 1.359 GB, free: 2.043 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.501e-05/0.4439, allocations: 8 kB / 1.359 GB, free: 2.035 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.987e-06/0.4439, allocations: 4 kB / 1.359 GB, free: 2.031 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.4439, allocations: 0 / 1.359 GB, free: 2.031 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004698/0.4443, allocations: 271.3 kB / 1.359 GB, free: 1.75 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.754e-05/0.4444, allocations: 11.89 kB / 1.359 GB, free: 1.738 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.235e-05/0.4444, allocations: 4 kB / 1.359 GB, free: 1.734 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001167/0.4445, allocations: 11.98 kB / 1.359 GB, free: 1.723 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.565e-05/0.4446, allocations: 15.97 kB / 1.359 GB, free: 1.707 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.175e-06/0.4446, allocations: 4 kB / 1.359 GB, free: 1.703 MB / 1.045 GB Notification: Performance of sorting global known variables: time 6.894e-05/0.4446, allocations: 95.66 kB / 1.359 GB, free: 1.609 MB / 1.045 GB Notification: Performance of sort global known variables: time 1e-07/0.4446, allocations: 3.938 kB / 1.359 GB, free: 1.605 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002505/0.4449, allocations: 27.95 kB / 1.359 GB, free: 1.578 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 (14): * Single equations (assignments): 14 * 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.0008315/0.4457, allocations: 0.8126 MB / 1.36 GB, free: 0.7422 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0004182/0.4461, allocations: 119.9 kB / 1.36 GB, free: 0.625 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.4461, allocations: 0 / 1.36 GB, free: 0.625 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001906/0.4463, allocations: 75.88 kB / 1.36 GB, free: 0.5508 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003917/0.4467, allocations: 20 kB / 1.36 GB, free: 0.5312 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002508/0.4492, allocations: 1.708 MB / 1.362 GB, free: 14.74 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000376/0.4496, allocations: 0.708 MB / 1.363 GB, free: 14.01 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 7.11e-05/0.4497, allocations: 16.34 kB / 1.363 GB, free: 13.99 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.662e-05/0.4498, allocations: 39.44 kB / 1.363 GB, free: 13.95 MB / 1.061 GB Notification: Performance of SimCode: time 4.51e-07/0.4498, allocations: 0 / 1.363 GB, free: 13.95 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03224/0.482, allocations: 2.593 MB / 1.365 GB, free: 11.54 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.04/11.52, allocations: 6.578 kB / 1.365 GB, free: 11.53 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIIntegralTime_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIIntegralTime.fmu > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIIntegralTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime.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: 18.751175108132884]