Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain.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.001325/0.001325, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.00144/0.00144, allocations: 215.2 kB / 22.25 MB, free: 5.082 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.495/1.495, allocations: 230.6 MB / 256 MB, free: 8.035 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.315/3.315, allocations: 0.505 GB / 0.8101 GB, free: 22.08 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.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_SystemIdentification_FirstOrderTimeDelay_BaseClasses_Validation_Gain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_SystemIdentification_FirstOrderTimeDelay_BaseClasses_Validation_Gain",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.00201/0.00201, allocations: 73.61 kB / 1.177 GB, free: 17.18 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3444/0.3464, allocations: 180.2 MB / 1.353 GB, free: 8.516 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain): time 0.002888/0.3493, allocations: 1.228 MB / 1.354 GB, free: 7.289 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002737/0.3521, allocations: 1.518 MB / 1.356 GB, free: 5.758 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002184/0.3523, allocations: 4 kB / 1.356 GB, free: 5.754 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 9.126e-05/0.3524, allocations: 23.67 kB / 1.356 GB, free: 5.73 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0002594/0.3526, allocations: 63.52 kB / 1.356 GB, free: 5.668 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001251/0.3539, allocations: 465.1 kB / 1.356 GB, free: 5.227 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0008981/0.3548, allocations: 0.5303 MB / 1.357 GB, free: 4.695 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002007/0.355, allocations: 67.98 kB / 1.357 GB, free: 4.621 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004435/0.3554, allocations: 211.4 kB / 1.357 GB, free: 4.414 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003958/0.3558, allocations: 187.3 kB / 1.357 GB, free: 4.23 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.000113/0.3559, allocations: 56 kB / 1.357 GB, free: 4.176 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001486/0.3561, allocations: 67.98 kB / 1.357 GB, free: 4.109 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 5.798e-05/0.3561, allocations: 47.84 kB / 1.357 GB, free: 4.062 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0003236/0.3565, allocations: 199.2 kB / 1.357 GB, free: 3.867 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0006912/0.3572, allocations: 0.557 MB / 1.358 GB, free: 3.309 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.3572, allocations: 0 / 1.358 GB, free: 3.309 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3572, allocations: 4 kB / 1.358 GB, free: 3.305 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.114e-05/0.3572, allocations: 0 / 1.358 GB, free: 3.305 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: 35 * Number of variables: 35 Notification: Performance of Generate backend data structure: time 0.001112/0.3583, allocations: 0.6354 MB / 1.359 GB, free: 2.613 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/0.3583, allocations: 8.031 kB / 1.359 GB, free: 2.605 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.066e-05/0.3584, allocations: 50.73 kB / 1.359 GB, free: 2.547 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001138/0.3585, allocations: 40.73 kB / 1.359 GB, free: 2.508 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000507/0.359, allocations: 245.3 kB / 1.359 GB, free: 2.246 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.764e-05/0.359, allocations: 20.38 kB / 1.359 GB, free: 2.227 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.97e-05/0.3591, allocations: 32.38 kB / 1.359 GB, free: 2.195 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003075/0.3594, allocations: 149.6 kB / 1.359 GB, free: 2.043 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.382e-05/0.3594, allocations: 4 kB / 1.359 GB, free: 2.039 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.745e-05/0.3595, allocations: 7.938 kB / 1.359 GB, free: 2.031 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/0.3595, allocations: 4 kB / 1.359 GB, free: 2.027 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000198/0.3597, allocations: 87.89 kB / 1.359 GB, free: 1.941 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001269/0.3609, allocations: 0.7175 MB / 1.36 GB, free: 1.18 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003456/0.3613, allocations: 110.8 kB / 1.36 GB, free: 1.062 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001105/0.3614, allocations: 52.83 kB / 1.36 GB, free: 1.008 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.572e-05/0.3614, allocations: 0 / 1.36 GB, free: 1.008 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003245/0.3617, allocations: 164.6 kB / 1.36 GB, free: 0.8359 MB / 1.045 GB Notification: Performance of pre-optimization done (n=22): time 1.673e-06/0.3617, allocations: 0 / 1.36 GB, free: 0.8359 MB / 1.045 GB Notification: Performance of matching and sorting (n=22): time 0.0005353/0.3623, allocations: 263.4 kB / 1.36 GB, free: 0.5742 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.236e-05/0.3623, allocations: 55.41 kB / 1.361 GB, free: 0.5078 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002729/0.3626, allocations: 240.9 kB / 1.361 GB, free: 268 kB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 5.79e-05/0.3627, allocations: 37.7 kB / 1.361 GB, free: 224 kB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001511/0.3628, allocations: 152.5 kB / 1.361 GB, free: 68 kB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 5.664e-05/0.3629, allocations: 59.48 kB / 1.361 GB, free: 8 kB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000221/0.3631, allocations: 101.9 kB / 1.361 GB, free: 15.9 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001993/0.3633, allocations: 334.8 kB / 1.361 GB, free: 15.56 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003381/0.3636, allocations: 152.2 kB / 1.362 GB, free: 15.41 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003993/0.364, allocations: 240.4 kB / 1.362 GB, free: 15.14 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005527/0.3646, allocations: 394.8 kB / 1.362 GB, free: 14.7 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-06/0.3646, allocations: 0 / 1.362 GB, free: 14.7 MB / 1.061 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001066/0.3656, allocations: 0.59 MB / 1.363 GB, free: 14.08 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 0.000118/0.3658, allocations: 138.8 kB / 1.363 GB, free: 13.92 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/0.3658, allocations: 7.938 kB / 1.363 GB, free: 13.91 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/0.3658, allocations: 4 kB / 1.363 GB, free: 13.91 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001054/0.3659, allocations: 27.92 kB / 1.363 GB, free: 13.88 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.073e-05/0.3659, allocations: 7.938 kB / 1.363 GB, free: 13.87 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006424/0.3665, allocations: 115.8 kB / 1.363 GB, free: 13.76 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.804e-05/0.3666, allocations: 27.98 kB / 1.363 GB, free: 13.73 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 17 (tunSta.y,$PRE.tunSta.y,$whenCondition9,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,u.booPul.y,$PRE.u.booPul.y,tOn.booPul.y,$PRE.tOn.booPul.y,tOff.booPul.y,$PRE.tOff.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 4 * 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.0001899/0.3668, allocations: 157.7 kB / 1.363 GB, free: 13.57 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.573e-05/0.3668, allocations: 23.86 kB / 1.363 GB, free: 13.54 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.995e-05/0.3669, allocations: 30.2 kB / 1.363 GB, free: 13.51 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.3669, allocations: 4 kB / 1.363 GB, free: 13.5 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/0.3669, allocations: 4 kB / 1.363 GB, free: 13.5 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.3669, allocations: 0 / 1.363 GB, free: 13.5 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000683/0.3676, allocations: 0.5187 MB / 1.364 GB, free: 12.93 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.3676, allocations: 3.938 kB / 1.364 GB, free: 12.93 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.971e-05/0.3677, allocations: 27.91 kB / 1.364 GB, free: 12.9 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.3677, allocations: 0 / 1.364 GB, free: 12.9 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.353e-05/0.3677, allocations: 4 kB / 1.364 GB, free: 12.9 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.3677, allocations: 0 / 1.364 GB, free: 12.9 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3677, allocations: 0 / 1.364 GB, free: 12.9 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005314/0.3682, allocations: 383.1 kB / 1.364 GB, free: 12.51 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 4.13e-05/0.3683, allocations: 27.83 kB / 1.364 GB, free: 12.48 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.921e-05/0.3683, allocations: 0 / 1.364 GB, free: 12.48 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.158e-05/0.3684, allocations: 11.98 kB / 1.364 GB, free: 12.47 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.459e-05/0.3685, allocations: 19.91 kB / 1.364 GB, free: 12.45 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.514e-05/0.3685, allocations: 8 kB / 1.364 GB, free: 12.44 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001868/0.3687, allocations: 168.5 kB / 1.364 GB, free: 12.28 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.3687, allocations: 0 / 1.364 GB, free: 12.28 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004568/0.3691, allocations: 87.89 kB / 1.364 GB, free: 12.19 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (gai.Iy.y) * Number of discrete variables: 13 ($whenCondition9,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,tunSta.y,tOff.booPul.y,tOn.booPul.y,u.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001018/0.3701, allocations: 0.925 MB / 1.365 GB, free: 11.24 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0009639/0.3711, allocations: 0.4979 MB / 1.366 GB, free: 10.7 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.3711, allocations: 4.062 kB / 1.366 GB, free: 10.69 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001243/0.3712, allocations: 65.8 kB / 1.366 GB, free: 10.63 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005206/0.3717, allocations: 72.36 kB / 1.366 GB, free: 10.56 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004755/0.3765, allocations: 3.231 MB / 1.369 GB, free: 7.16 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003984/0.3769, allocations: 0.748 MB / 1.37 GB, free: 6.387 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 8.878e-05/0.377, allocations: 21.95 kB / 1.37 GB, free: 6.367 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001216/0.3771, allocations: 75.41 kB / 1.37 GB, free: 6.293 MB / 1.061 GB Notification: Performance of SimCode: time 6.91e-07/0.3771, allocations: 4 kB / 1.37 GB, free: 6.289 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04183/0.4189, allocations: 7.146 MB / 1.377 GB, free: 15.38 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.74/12.16, allocations: 8.703 kB / 1.377 GB, free: 15.38 MB / 1.076 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_SystemIdentification_FirstOrderTimeDelay_BaseClasses_Validation_Gain_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_SystemIdentification_FirstOrderTimeDelay_BaseClasses_Validation_Gain.fmu > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_SystemIdentification_FirstOrderTimeDelay_BaseClasses_Validation_Gain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain.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.0668089420069]