Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.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.0007446/0.0007446, 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.0007728/0.0007728, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.9006/0.9006, 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.742/1.742, allocations: 389 MB / 0.633 GB, free: 12.71 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.Validation.PI,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_Validation_PI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_Validation_PI",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.527e-06/3.527e-06, allocations: 0 / 0.9997 GB, free: 13.55 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.398e-05/2.75e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.54 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI): time 0.002775/0.002802, allocations: 1.208 MB / 1.001 GB, free: 12.34 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001504/0.004306, allocations: 1.03 MB / 1.002 GB, free: 11.29 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001588/0.004464, allocations: 4 kB / 1.002 GB, free: 11.29 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 8.179e-05/0.004546, allocations: 27.61 kB / 1.002 GB, free: 11.26 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0001777/0.004724, allocations: 39.59 kB / 1.002 GB, free: 11.22 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002099/0.004934, allocations: 119.9 kB / 1.002 GB, free: 11.11 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0004402/0.005374, allocations: 352.4 kB / 1.002 GB, free: 10.76 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004011/0.005775, allocations: 166.5 kB / 1.003 GB, free: 10.6 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003073/0.006082, allocations: 203.6 kB / 1.003 GB, free: 10.4 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001658/0.006248, allocations: 91.69 kB / 1.003 GB, free: 10.31 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 5.537e-05/0.006304, allocations: 48 kB / 1.003 GB, free: 10.26 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 2.874e-05/0.006332, allocations: 47.94 kB / 1.003 GB, free: 10.21 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 4.59e-05/0.006378, allocations: 83.8 kB / 1.003 GB, free: 10.13 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 7.048e-05/0.006449, allocations: 99.75 kB / 1.003 GB, free: 10.04 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0003628/0.006812, allocations: 0.5568 MB / 1.004 GB, free: 9.477 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.006816, allocations: 4 kB / 1.004 GB, free: 9.473 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.573e-06/0.006817, allocations: 0 / 1.004 GB, free: 9.473 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 6.773e-06/0.006824, allocations: 0 / 1.004 GB, free: 9.473 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.0005782/0.007402, allocations: 0.4959 MB / 1.004 GB, free: 8.945 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.007444, allocations: 8.75 kB / 1.004 GB, free: 8.938 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.23e-05/0.007497, allocations: 74.72 kB / 1.004 GB, free: 8.855 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.945e-05/0.007536, allocations: 36.7 kB / 1.004 GB, free: 8.82 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002192/0.007755, allocations: 206 kB / 1.004 GB, free: 8.59 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.744e-05/0.007773, allocations: 28.97 kB / 1.004 GB, free: 8.562 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.529e-05/0.007798, allocations: 28.38 kB / 1.004 GB, free: 8.535 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004461/0.008244, allocations: 310.6 kB / 1.005 GB, free: 8.227 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.008255, allocations: 192 / 1.005 GB, free: 8.227 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.079e-05/0.008275, allocations: 16.38 kB / 1.005 GB, free: 8.211 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/0.008284, allocations: 16.12 kB / 1.005 GB, free: 8.195 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004154/0.008699, allocations: 278.4 kB / 1.005 GB, free: 7.922 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008645/0.009564, allocations: 0.7614 MB / 1.006 GB, free: 7.117 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004204/0.009984, allocations: 254.7 kB / 1.006 GB, free: 6.859 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001913/0.01018, allocations: 140.8 kB / 1.006 GB, free: 6.719 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.581e-05/0.01019, allocations: 0 / 1.006 GB, free: 6.719 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.784e-05/0.01021, allocations: 35 kB / 1.006 GB, free: 6.676 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=25): time 1.403e-06/0.01021, allocations: 0 / 1.006 GB, free: 6.676 MB / 0.9636 GB Notification: Performance of matching and sorting (n=25): time 0.0005636/0.01077, allocations: 361.3 kB / 1.007 GB, free: 6.316 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.132e-05/0.01081, allocations: 59.34 kB / 1.007 GB, free: 6.246 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.022e-05/0.0109, allocations: 141.8 kB / 1.007 GB, free: 6.098 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.669e-05/0.01091, allocations: 29.7 kB / 1.007 GB, free: 6.062 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 7.551e-05/0.01099, allocations: 168.5 kB / 1.007 GB, free: 5.895 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 4.283e-05/0.01103, allocations: 87.23 kB / 1.007 GB, free: 5.809 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.222e-05/0.01108, allocations: 37.94 kB / 1.007 GB, free: 5.762 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.303e-05/0.01117, allocations: 330.8 kB / 1.007 GB, free: 5.43 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001514/0.01132, allocations: 100.4 kB / 1.007 GB, free: 5.332 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001661/0.01148, allocations: 123.4 kB / 1.008 GB, free: 5.203 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003154/0.0118, allocations: 243.2 kB / 1.008 GB, free: 4.957 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.0118, allocations: 0 / 1.008 GB, free: 4.957 MB / 0.9636 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0003645/0.01217, allocations: 277.3 kB / 1.008 GB, free: 4.68 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.01218, allocations: 12.06 kB / 1.008 GB, free: 4.668 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.01219, allocations: 0 / 1.008 GB, free: 4.668 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.0122, allocations: 0 / 1.008 GB, free: 4.668 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001488/0.01235, allocations: 67.89 kB / 1.008 GB, free: 4.602 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.01236, allocations: 7.938 kB / 1.008 GB, free: 4.594 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.154e-05/0.01243, allocations: 31.8 kB / 1.008 GB, free: 4.562 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.778e-06/0.01244, allocations: 8 kB / 1.008 GB, free: 4.555 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (27): * Single equations (assignments): 27 * 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.0001006/0.01254, allocations: 149.8 kB / 1.008 GB, free: 4.398 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.169e-05/0.01256, allocations: 15.91 kB / 1.008 GB, free: 4.383 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.015e-05/0.01259, allocations: 21.27 kB / 1.008 GB, free: 4.363 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.01259, allocations: 4 kB / 1.008 GB, free: 4.359 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.0126, allocations: 0 / 1.008 GB, free: 4.359 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.0126, allocations: 3.938 kB / 1.008 GB, free: 4.355 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002221/0.01282, allocations: 296.4 kB / 1.009 GB, free: 4.023 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.01282, allocations: 3.938 kB / 1.009 GB, free: 4.02 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001323/0.01296, allocations: 55.97 kB / 1.009 GB, free: 3.965 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.526e-06/0.01296, allocations: 4 kB / 1.009 GB, free: 3.961 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.155e-05/0.01297, allocations: 11.98 kB / 1.009 GB, free: 3.949 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.01297, allocations: 0 / 1.009 GB, free: 3.949 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.01297, allocations: 0 / 1.009 GB, free: 3.949 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003754/0.01335, allocations: 367.1 kB / 1.009 GB, free: 3.574 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.305e-05/0.01336, allocations: 19.84 kB / 1.009 GB, free: 3.555 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.518e-05/0.01338, allocations: 7.984 kB / 1.009 GB, free: 3.547 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.753e-05/0.01346, allocations: 19.98 kB / 1.009 GB, free: 3.527 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.053e-05/0.01351, allocations: 23.89 kB / 1.009 GB, free: 3.504 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.544e-06/0.01351, allocations: 8 kB / 1.009 GB, free: 3.496 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 4.576e-05/0.01356, allocations: 109.3 kB / 1.009 GB, free: 3.391 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5.1e-08/0.01356, allocations: 0 / 1.009 GB, free: 3.391 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001774/0.01374, allocations: 55.84 kB / 1.009 GB, free: 3.336 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 (25): * Single equations (assignments): 25 * 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.000574/0.01431, allocations: 0.9079 MB / 1.01 GB, free: 2.398 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0003677/0.01468, allocations: 235.8 kB / 1.01 GB, free: 2.168 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.01468, allocations: 0 / 1.01 GB, free: 2.168 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0001646/0.01484, allocations: 123.8 kB / 1.011 GB, free: 2.047 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002958/0.01514, allocations: 27.97 kB / 1.011 GB, free: 2.02 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001995/0.01713, allocations: 2.285 MB / 1.013 GB, free: 15.64 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.649e-05/0.01722, allocations: 141.8 kB / 1.013 GB, free: 15.48 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 6.86e-05/0.01729, allocations: 17.48 kB / 1.013 GB, free: 15.46 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.32e-05/0.01738, allocations: 76.47 kB / 1.013 GB, free: 15.39 MB / 0.9792 GB Notification: Performance of SimCode: time 4.81e-07/0.01738, allocations: 0 / 1.013 GB, free: 15.39 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01507/0.03245, allocations: 4.28 MB / 1.017 GB, free: 11.32 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.502/6.534, allocations: 6.484 kB / 1.017 GB, free: 11.31 MB / 0.9792 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_Validation_PI_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_Validation_PI.fmu > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_Validation_PI.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.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.586900758557022]