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.TimeConstantDelay.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: 104.3 kB / 19.7 MB, free: 2.156 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.001503/0.001503, allocations: 210.2 kB / 22.99 MB, free: 4.98 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.457/1.457, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.215/3.215, allocations: 0.505 GB / 0.8109 GB, free: 23.57 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: translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|tOn.y|k.y|ratioLT.y|timConDel.T|timConDel.L",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay") translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|tOn.y|k.y|ratioLT.y|timConDel.T|timConDel.L",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay") [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.002095/0.002095, allocations: 66.97 kB / 1.178 GB, free: 16.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3714/0.3735, allocations: 180.2 MB / 1.354 GB, free: 7.457 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay): time 0.002918/0.3764, allocations: 1.301 MB / 1.355 GB, free: 6.152 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.00227/0.3787, allocations: 1.505 MB / 1.357 GB, free: 4.633 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001605/0.3788, allocations: 8 kB / 1.357 GB, free: 4.625 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001813/0.379, allocations: 39.53 kB / 1.357 GB, free: 4.586 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001217/0.3791, allocations: 51.53 kB / 1.357 GB, free: 4.535 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008285/0.38, allocations: 342.1 kB / 1.357 GB, free: 4.207 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0005272/0.3805, allocations: 476.1 kB / 1.358 GB, free: 3.742 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002857/0.3808, allocations: 141.7 kB / 1.358 GB, free: 3.598 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001969/0.381, allocations: 175.5 kB / 1.358 GB, free: 3.426 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002473/0.3812, allocations: 179.2 kB / 1.358 GB, free: 3.25 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 7.801e-05/0.3813, allocations: 52 kB / 1.358 GB, free: 3.199 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001353/0.3814, allocations: 75.97 kB / 1.358 GB, free: 3.125 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 7.066e-05/0.3815, allocations: 71.72 kB / 1.358 GB, free: 3.055 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.000194/0.3817, allocations: 159.3 kB / 1.358 GB, free: 2.898 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0006766/0.3824, allocations: 0.5954 MB / 1.359 GB, free: 2.301 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.3824, allocations: 3.984 kB / 1.359 GB, free: 2.297 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.533e-06/0.3824, allocations: 0 / 1.359 GB, free: 2.297 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.963e-06/0.3824, allocations: 0 / 1.359 GB, free: 2.297 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.001052/0.3835, allocations: 0.5867 MB / 1.36 GB, free: 1.664 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.3835, allocations: 8.031 kB / 1.36 GB, free: 1.656 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001871/0.3837, allocations: 44.73 kB / 1.36 GB, free: 1.613 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004653/0.3841, allocations: 259.5 kB / 1.36 GB, free: 1.332 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.658e-05/0.3842, allocations: 25.03 kB / 1.36 GB, free: 1.309 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.381e-05/0.3842, allocations: 32.38 kB / 1.36 GB, free: 1.277 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004203/0.3847, allocations: 242.7 kB / 1.36 GB, free: 1.031 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.3847, allocations: 4.125 kB / 1.36 GB, free: 1.027 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.811e-05/0.3847, allocations: 15.94 kB / 1.36 GB, free: 1.012 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.605e-06/0.3847, allocations: 4 kB / 1.36 GB, free: 1.008 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003009/0.385, allocations: 174.5 kB / 1.36 GB, free: 0.8398 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00123/0.3862, allocations: 0.7072 MB / 1.361 GB, free: 104 kB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004773/0.3867, allocations: 172.3 kB / 1.361 GB, free: 15.93 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001222/0.3868, allocations: 68.83 kB / 1.361 GB, free: 15.86 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.463e-05/0.3869, allocations: 7.984 kB / 1.361 GB, free: 15.85 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000245/0.3871, allocations: 141.1 kB / 1.361 GB, free: 15.7 MB / 1.061 GB Notification: Performance of pre-optimization done (n=23): time 1.693e-06/0.3871, allocations: 0 / 1.361 GB, free: 15.7 MB / 1.061 GB Notification: Performance of matching and sorting (n=23): time 0.0005/0.3876, allocations: 263.6 kB / 1.362 GB, free: 15.44 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.211e-05/0.3877, allocations: 59.39 kB / 1.362 GB, free: 15.37 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002305/0.3879, allocations: 219.8 kB / 1.362 GB, free: 15.14 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 4.544e-05/0.3879, allocations: 33.7 kB / 1.362 GB, free: 15.11 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001548/0.3881, allocations: 188.5 kB / 1.362 GB, free: 14.92 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 7.057e-05/0.3882, allocations: 75.41 kB / 1.362 GB, free: 14.84 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001408/0.3883, allocations: 77.67 kB / 1.362 GB, free: 14.76 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001535/0.3885, allocations: 330.8 kB / 1.363 GB, free: 14.43 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002796/0.3887, allocations: 187.3 kB / 1.363 GB, free: 14.23 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003084/0.389, allocations: 236.5 kB / 1.363 GB, free: 13.97 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003827/0.3894, allocations: 269 kB / 1.363 GB, free: 13.68 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.3894, allocations: 4 kB / 1.363 GB, free: 13.68 MB / 1.061 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0007425/0.3902, allocations: 0.489 MB / 1.364 GB, free: 13.16 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 6.164e-05/0.3902, allocations: 71.39 kB / 1.364 GB, free: 13.07 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.3902, allocations: 7.938 kB / 1.364 GB, free: 13.07 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.3903, allocations: 0 / 1.364 GB, free: 13.07 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001378/0.3904, allocations: 35.98 kB / 1.364 GB, free: 13.03 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.346e-06/0.3904, allocations: 3.938 kB / 1.364 GB, free: 13.03 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004046/0.3908, allocations: 75.77 kB / 1.364 GB, free: 12.95 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.262e-05/0.3909, allocations: 16 kB / 1.364 GB, free: 12.94 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,ratioLT.booPul.y,$PRE.ratioLT.booPul.y,tOn.booPul.y,$PRE.tOn.booPul.y,timConDel.edg.u,$PRE.timConDel.edg.u,timConDel.gre1.greHys.y,$PRE.timConDel.gre1.greHys.y,timConDel.triFai) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 2 * 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.0001711/0.391, allocations: 161.7 kB / 1.364 GB, free: 12.77 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.502e-05/0.3911, allocations: 23.86 kB / 1.364 GB, free: 12.75 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003841/0.3914, allocations: 211.6 kB / 1.364 GB, free: 12.53 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.3914, allocations: 4 kB / 1.364 GB, free: 12.52 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.3915, allocations: 3.984 kB / 1.364 GB, free: 12.52 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/0.3915, allocations: 0 / 1.364 GB, free: 12.52 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006586/0.3921, allocations: 0.5277 MB / 1.365 GB, free: 11.95 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.3921, allocations: 4.094 kB / 1.365 GB, free: 11.94 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001012/0.3922, allocations: 23.98 kB / 1.365 GB, free: 11.92 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.548e-06/0.3922, allocations: 4 kB / 1.365 GB, free: 11.91 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.759e-05/0.3922, allocations: 4 kB / 1.365 GB, free: 11.91 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.3922, allocations: 4 kB / 1.365 GB, free: 11.91 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.3922, allocations: 7.875 kB / 1.365 GB, free: 11.9 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003825/0.3926, allocations: 322.3 kB / 1.365 GB, free: 11.56 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.397e-05/0.3927, allocations: 19.8 kB / 1.365 GB, free: 11.54 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.783e-05/0.3927, allocations: 11.98 kB / 1.365 GB, free: 11.53 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001334/0.3928, allocations: 15.88 kB / 1.365 GB, free: 11.52 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.684e-05/0.3929, allocations: 31.95 kB / 1.365 GB, free: 11.48 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.44e-05/0.3929, allocations: 4 kB / 1.365 GB, free: 11.48 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001623/0.3931, allocations: 168.5 kB / 1.366 GB, free: 11.32 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.3931, allocations: 0 / 1.366 GB, free: 11.32 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003468/0.3934, allocations: 75.84 kB / 1.366 GB, free: 11.24 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,timConDel.triFai,timConDel.gre1.greHys.y,timConDel.edg.u,tOn.booPul.y,ratioLT.booPul.y) * Number of discrete states: 2 (timConDel.gre1.greHys.y,timConDel.edg.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001931/0.3936, allocations: 115.2 kB / 1.366 GB, free: 11.12 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0006116/0.3942, allocations: 410.2 kB / 1.366 GB, free: 10.68 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 5.139e-06/0.3942, allocations: 8.062 kB / 1.366 GB, free: 10.67 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001733/0.3944, allocations: 87.84 kB / 1.366 GB, free: 10.59 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004557/0.3949, allocations: 60.12 kB / 1.366 GB, free: 10.53 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000859/0.3957, allocations: 498.5 kB / 1.367 GB, free: 10 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001588/0.3959, allocations: 155.8 kB / 1.367 GB, free: 9.828 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.765e-05/0.3959, allocations: 23.44 kB / 1.367 GB, free: 9.805 MB / 1.061 GB Notification: Performance of SimCode: time 6.41e-07/0.3959, allocations: 0 / 1.367 GB, free: 9.805 MB / 1.061 GB Notification: Performance of Templates: time 0.006488/0.4024, allocations: 3.746 MB / 1.371 GB, free: 6.094 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay.sim & ./Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_SystemIdentification_FirstOrderTimeDelay_BaseClasses_Validation_TimeConstantDelay.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay.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: 11.377786269003991]