Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00177/0.00177, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.002044/0.002044, allocations: 215.8 kB / 22.99 MB, free: 4.945 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.489/1.489, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.184/3.184, allocations: 0.4892 GB / 0.7951 GB, free: 35.48 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_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_12_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.001998/0.001998, allocations: 67.64 kB / 1.154 GB, free: 25.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3215/0.3235, allocations: 176.1 MB / 1.326 GB, free: 1.902 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay): time 0.002843/0.3263, allocations: 1.276 MB / 1.328 GB, free: 0.6289 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002325/0.3286, allocations: 1.502 MB / 1.329 GB, free: 15.11 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002023/0.3288, allocations: 11.94 kB / 1.329 GB, free: 15.1 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001484/0.329, allocations: 35.59 kB / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001502/0.3291, allocations: 47.53 kB / 1.329 GB, free: 15.02 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008282/0.33, allocations: 334 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000576/0.3305, allocations: 464.2 kB / 1.33 GB, free: 14.24 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002562/0.3308, allocations: 133.7 kB / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002433/0.331, allocations: 175.5 kB / 1.33 GB, free: 13.94 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000246/0.3313, allocations: 155.3 kB / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 8.771e-05/0.3314, allocations: 48 kB / 1.33 GB, free: 13.74 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000147/0.3315, allocations: 75.92 kB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 6.869e-05/0.3316, allocations: 67.77 kB / 1.331 GB, free: 13.6 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001817/0.3318, allocations: 155.3 kB / 1.331 GB, free: 13.45 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006731/0.3324, allocations: 0.5799 MB / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.3324, allocations: 3.938 kB / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of FrontEnd: time 8.22e-07/0.3325, allocations: 0 / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.025e-05/0.3325, allocations: 0 / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.0009834/0.3334, allocations: 0.5906 MB / 1.332 GB, free: 12.22 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 2.567e-05/0.3335, allocations: 8.031 kB / 1.332 GB, free: 12.21 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001797/0.3336, allocations: 44.69 kB / 1.332 GB, free: 12.17 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004465/0.3341, allocations: 239.6 kB / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.192e-05/0.3341, allocations: 25.03 kB / 1.332 GB, free: 11.88 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.341e-05/0.3342, allocations: 36.38 kB / 1.332 GB, free: 11.85 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004017/0.3346, allocations: 226.7 kB / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.3346, allocations: 4.172 kB / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.487e-05/0.3346, allocations: 15.92 kB / 1.332 GB, free: 11.6 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.728e-06/0.3346, allocations: 8 kB / 1.332 GB, free: 11.59 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002944/0.3349, allocations: 162.6 kB / 1.333 GB, free: 11.43 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001263/0.3362, allocations: 0.6877 MB / 1.333 GB, free: 10.71 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000283/0.3365, allocations: 146.7 kB / 1.333 GB, free: 10.56 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001271/0.3366, allocations: 68.78 kB / 1.333 GB, free: 10.49 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.338e-05/0.3366, allocations: 4 kB / 1.333 GB, free: 10.48 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002193/0.3369, allocations: 140.6 kB / 1.334 GB, free: 10.34 MB / 1.029 GB Notification: Performance of pre-optimization done (n=22): time 1.493e-06/0.3369, allocations: 4 kB / 1.334 GB, free: 10.33 MB / 1.029 GB Notification: Performance of matching and sorting (n=22): time 0.0004711/0.3373, allocations: 247.1 kB / 1.334 GB, free: 10.09 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.99e-05/0.3374, allocations: 59.34 kB / 1.334 GB, free: 10.02 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002493/0.3376, allocations: 223.8 kB / 1.334 GB, free: 9.785 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.85e-05/0.3377, allocations: 37.7 kB / 1.334 GB, free: 9.742 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001501/0.3378, allocations: 180.5 kB / 1.334 GB, free: 9.562 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.653e-05/0.3379, allocations: 71.41 kB / 1.334 GB, free: 9.492 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001547/0.3381, allocations: 73.69 kB / 1.334 GB, free: 9.414 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001755/0.3382, allocations: 330.8 kB / 1.335 GB, free: 9.082 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002929/0.3385, allocations: 183.6 kB / 1.335 GB, free: 8.891 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003263/0.3388, allocations: 229 kB / 1.335 GB, free: 8.637 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003831/0.3392, allocations: 265.2 kB / 1.335 GB, free: 8.348 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.3392, allocations: 4 kB / 1.335 GB, free: 8.344 MB / 1.029 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0007729/0.34, allocations: 484.1 kB / 1.336 GB, free: 7.84 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 6.069e-05/0.3401, allocations: 71.55 kB / 1.336 GB, free: 7.758 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.3401, allocations: 8 kB / 1.336 GB, free: 7.75 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/0.3401, allocations: 3.938 kB / 1.336 GB, free: 7.746 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001488/0.3402, allocations: 35.86 kB / 1.336 GB, free: 7.711 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/0.3402, allocations: 4 kB / 1.336 GB, free: 7.707 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004003/0.3406, allocations: 75.77 kB / 1.336 GB, free: 7.633 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.439e-05/0.3407, allocations: 23.98 kB / 1.336 GB, free: 7.609 MB / 1.029 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 (30): * Single equations (assignments): 28 * 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.000183/0.3409, allocations: 158.3 kB / 1.336 GB, free: 7.445 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.385e-05/0.3409, allocations: 23.83 kB / 1.336 GB, free: 7.422 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003741/0.3413, allocations: 209.5 kB / 1.336 GB, free: 7.215 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.3413, allocations: 4 kB / 1.336 GB, free: 7.211 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.3413, allocations: 3.938 kB / 1.336 GB, free: 7.207 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.3413, allocations: 3.984 kB / 1.336 GB, free: 7.203 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006906/0.342, allocations: 0.5096 MB / 1.337 GB, free: 6.648 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.093e-06/0.342, allocations: 96 / 1.337 GB, free: 6.648 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000103/0.3421, allocations: 31.92 kB / 1.337 GB, free: 6.617 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.19e-06/0.3421, allocations: 3.938 kB / 1.337 GB, free: 6.613 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.09e-05/0.3421, allocations: 15.98 kB / 1.337 GB, free: 6.598 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.3421, allocations: 0 / 1.337 GB, free: 6.598 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/0.3421, allocations: 4 kB / 1.337 GB, free: 6.594 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003786/0.3425, allocations: 305.8 kB / 1.337 GB, free: 6.27 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.384e-05/0.3425, allocations: 19.89 kB / 1.337 GB, free: 6.25 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.428e-05/0.3426, allocations: 7.938 kB / 1.337 GB, free: 6.242 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001353/0.3427, allocations: 15.98 kB / 1.337 GB, free: 6.227 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.99e-05/0.3428, allocations: 19.97 kB / 1.337 GB, free: 6.207 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.547e-05/0.3428, allocations: 11.98 kB / 1.337 GB, free: 6.195 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001641/0.3429, allocations: 160.6 kB / 1.338 GB, free: 6.039 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3429, allocations: 0 / 1.338 GB, free: 6.039 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000358/0.3433, allocations: 75.78 kB / 1.338 GB, free: 5.965 MB / 1.029 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 (22): * Single equations (assignments): 20 * 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.0001547/0.3435, allocations: 128.9 kB / 1.338 GB, free: 5.828 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005976/0.344, allocations: 409.9 kB / 1.338 GB, free: 5.391 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.3441, allocations: 320 / 1.338 GB, free: 5.391 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001511/0.3442, allocations: 83.92 kB / 1.338 GB, free: 5.309 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004418/0.3446, allocations: 56.77 kB / 1.338 GB, free: 5.254 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008161/0.3455, allocations: 0.4901 MB / 1.339 GB, free: 4.723 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001516/0.3456, allocations: 146.9 kB / 1.339 GB, free: 4.562 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.09e-05/0.3457, allocations: 23.42 kB / 1.339 GB, free: 4.539 MB / 1.029 GB Notification: Performance of SimCode: time 3.2e-07/0.3457, allocations: 3.938 kB / 1.339 GB, free: 4.535 MB / 1.029 GB Notification: Performance of Templates: time 0.006018/0.3517, allocations: 3.685 MB / 1.342 GB, free: 0.8867 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay.sim & ./Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_SystemIdentification_FirstOrderTimeDelay_BaseClasses_Validation_TimeConstantDelay.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.31011310685426]