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.000764/0.000764, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0007827/0.0007827, allocations: 165.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8659/0.8659, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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 1.759/1.759, allocations: 389 MB / 0.633 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 2.434e-06/2.434e-06, allocations: 0 / 0.9997 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.979e-05/2.222e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime): time 0.001455/0.001477, allocations: 0.8949 MB / 1.001 GB, free: 12.59 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0009114/0.002388, allocations: 0.9016 MB / 1.001 GB, free: 11.67 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.802e-05/0.002446, allocations: 0 / 1.001 GB, free: 11.67 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 4.073e-05/0.002487, allocations: 19.8 kB / 1.001 GB, free: 11.65 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 8.244e-05/0.002569, allocations: 19.8 kB / 1.001 GB, free: 11.63 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 7.93e-05/0.002649, allocations: 43.95 kB / 1.002 GB, free: 11.59 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001262/0.002775, allocations: 160.2 kB / 1.002 GB, free: 11.43 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001644/0.002939, allocations: 77.14 kB / 1.002 GB, free: 11.36 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001135/0.003053, allocations: 87.81 kB / 1.002 GB, free: 11.27 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 5.929e-05/0.003112, allocations: 47.86 kB / 1.002 GB, free: 11.22 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.859e-05/0.003141, allocations: 16 kB / 1.002 GB, free: 11.21 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 1.341e-05/0.003154, allocations: 23.94 kB / 1.002 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.522e-05/0.003179, allocations: 35.84 kB / 1.002 GB, free: 11.15 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 3.591e-05/0.003215, allocations: 47.89 kB / 1.002 GB, free: 11.1 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001733/0.003389, allocations: 219.3 kB / 1.002 GB, free: 10.89 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.395e-06/0.003391, allocations: 0 / 1.002 GB, free: 10.89 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.102e-06/0.003392, allocations: 0 / 1.002 GB, free: 10.89 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.198e-06/0.003396, allocations: 0 / 1.002 GB, free: 10.89 MB / 0.9636 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.0004405/0.003837, allocations: 377.6 kB / 1.003 GB, free: 10.48 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.553e-05/0.003882, allocations: 16.69 kB / 1.003 GB, free: 10.47 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.891e-05/0.003921, allocations: 46.73 kB / 1.003 GB, free: 10.41 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.775e-05/0.003949, allocations: 20.84 kB / 1.003 GB, free: 10.39 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001693/0.004118, allocations: 153.6 kB / 1.003 GB, free: 10.22 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.29e-05/0.004131, allocations: 16.36 kB / 1.003 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.559e-05/0.004147, allocations: 16.38 kB / 1.003 GB, free: 10.19 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002413/0.004388, allocations: 157.9 kB / 1.003 GB, free: 10.03 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.004396, allocations: 192 / 1.003 GB, free: 10.03 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.181e-05/0.004408, allocations: 4.375 kB / 1.003 GB, free: 10.02 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.574e-06/0.004416, allocations: 12.11 kB / 1.003 GB, free: 10.01 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002217/0.004637, allocations: 143.9 kB / 1.003 GB, free: 9.871 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004749/0.005112, allocations: 427.4 kB / 1.004 GB, free: 9.41 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003141/0.005426, allocations: 162.6 kB / 1.004 GB, free: 9.242 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000111/0.005537, allocations: 72.81 kB / 1.004 GB, free: 9.168 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.432e-05/0.005551, allocations: 3.938 kB / 1.004 GB, free: 9.164 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.849e-05/0.00557, allocations: 42.56 kB / 1.004 GB, free: 9.113 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=14): time 1.403e-06/0.005571, allocations: 0 / 1.004 GB, free: 9.113 MB / 0.9636 GB Notification: Performance of matching and sorting (n=14): time 0.0003807/0.005952, allocations: 217.5 kB / 1.004 GB, free: 8.895 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.92e-05/0.005981, allocations: 55.41 kB / 1.004 GB, free: 8.828 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.583e-05/0.006047, allocations: 121.8 kB / 1.004 GB, free: 8.699 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.177e-05/0.006059, allocations: 25.7 kB / 1.004 GB, free: 8.668 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.864e-05/0.006107, allocations: 124.3 kB / 1.004 GB, free: 8.543 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 3.095e-05/0.006138, allocations: 47.58 kB / 1.004 GB, free: 8.496 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.757e-05/0.006176, allocations: 25.72 kB / 1.004 GB, free: 8.465 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.776e-05/0.006254, allocations: 322.8 kB / 1.005 GB, free: 8.141 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.683e-05/0.006351, allocations: 52.2 kB / 1.005 GB, free: 8.09 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.815e-05/0.006439, allocations: 63.45 kB / 1.005 GB, free: 8.031 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001915/0.00663, allocations: 120.8 kB / 1.005 GB, free: 7.91 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.006633, allocations: 3.938 kB / 1.005 GB, free: 7.906 MB / 0.9636 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002326/0.006866, allocations: 165.5 kB / 1.005 GB, free: 7.738 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.006879, allocations: 4 kB / 1.005 GB, free: 7.734 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.006883, allocations: 0 / 1.005 GB, free: 7.734 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.006896, allocations: 4 kB / 1.005 GB, free: 7.73 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001008/0.006996, allocations: 43.91 kB / 1.005 GB, free: 7.688 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.007001, allocations: 3.938 kB / 1.005 GB, free: 7.684 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.699e-05/0.007048, allocations: 19.88 kB / 1.005 GB, free: 7.664 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.663e-06/0.007055, allocations: 4 kB / 1.005 GB, free: 7.66 MB / 0.9636 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 7.829e-05/0.007133, allocations: 125.8 kB / 1.005 GB, free: 7.527 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.66e-05/0.00715, allocations: 11.89 kB / 1.005 GB, free: 7.516 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.38e-05/0.007174, allocations: 16.44 kB / 1.005 GB, free: 7.496 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.007176, allocations: 0 / 1.005 GB, free: 7.496 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.007181, allocations: 0 / 1.005 GB, free: 7.496 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.007184, allocations: 3.984 kB / 1.005 GB, free: 7.492 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001527/0.007337, allocations: 196.7 kB / 1.006 GB, free: 7.258 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.007338, allocations: 0 / 1.006 GB, free: 7.258 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.482e-05/0.007423, allocations: 43.84 kB / 1.006 GB, free: 7.215 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.007425, allocations: 4 kB / 1.006 GB, free: 7.211 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.486e-06/0.007433, allocations: 4 kB / 1.006 GB, free: 7.207 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.007434, allocations: 0 / 1.006 GB, free: 7.207 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.007436, allocations: 3.984 kB / 1.006 GB, free: 7.203 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003517/0.007788, allocations: 263.4 kB / 1.006 GB, free: 6.93 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.103e-05/0.007799, allocations: 11.83 kB / 1.006 GB, free: 6.918 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.306e-05/0.007812, allocations: 4 kB / 1.006 GB, free: 6.914 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.031e-05/0.007873, allocations: 19.98 kB / 1.006 GB, free: 6.895 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.911e-05/0.007922, allocations: 11.91 kB / 1.006 GB, free: 6.883 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.359e-06/0.007926, allocations: 4 kB / 1.006 GB, free: 6.879 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 4.27e-05/0.007969, allocations: 99.27 kB / 1.006 GB, free: 6.781 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.007969, allocations: 0 / 1.006 GB, free: 6.781 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001661/0.008135, allocations: 23.95 kB / 1.006 GB, free: 6.758 MB / 0.9636 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.0004249/0.00856, allocations: 0.7975 MB / 1.007 GB, free: 5.934 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002375/0.008797, allocations: 131.8 kB / 1.007 GB, free: 5.805 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.352e-06/0.008799, allocations: 3.938 kB / 1.007 GB, free: 5.801 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0001001/0.008899, allocations: 71.88 kB / 1.007 GB, free: 5.73 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002821/0.009181, allocations: 23.98 kB / 1.007 GB, free: 5.707 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001375/0.01056, allocations: 1.711 MB / 1.009 GB, free: 3.906 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.866e-05/0.01061, allocations: 93.62 kB / 1.009 GB, free: 3.797 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 5.464e-05/0.01067, allocations: 16.47 kB / 1.009 GB, free: 3.781 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.438e-05/0.01073, allocations: 44.48 kB / 1.009 GB, free: 3.738 MB / 0.9636 GB Notification: Performance of SimCode: time 5.91e-07/0.01073, allocations: 0 / 1.009 GB, free: 3.738 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0165/0.02723, allocations: 3.156 MB / 1.012 GB, free: 0.8203 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.459/6.487, allocations: 12.03 kB / 1.012 GB, free: 0.8086 MB / 0.9636 GB " [Timeout remaining time 293] (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/jenkins/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: 10.505975352600217]