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.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.001376/0.001376, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001625/0.001625, allocations: 224.3 kB / 23 MB, free: 4.914 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.511/1.511, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.19/3.19, allocations: 0.4892 GB / 0.7951 GB, free: 35.52 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.Gain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|u.y|tOn.y|tOff.y|tunSta.y|gai.k",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain") translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|u.y|tOn.y|tOff.y|tunSta.y|gai.k",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain") [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.002123/0.002123, allocations: 67.41 kB / 1.154 GB, free: 25.58 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3226/0.3247, allocations: 176.1 MB / 1.326 GB, free: 1.895 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain): time 0.002485/0.3272, allocations: 1.13 MB / 1.327 GB, free: 0.7695 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002107/0.3293, allocations: 1.51 MB / 1.329 GB, free: 15.25 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.731e-05/0.3294, allocations: 0 / 1.329 GB, free: 15.25 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 6.403e-05/0.3295, allocations: 23.67 kB / 1.329 GB, free: 15.22 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001743/0.3297, allocations: 59.52 kB / 1.329 GB, free: 15.16 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001055/0.3307, allocations: 459.8 kB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000596/0.3313, allocations: 0.5341 MB / 1.33 GB, free: 14.19 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000164/0.3315, allocations: 60 kB / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000233/0.3317, allocations: 207.5 kB / 1.33 GB, free: 13.92 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002712/0.332, allocations: 167.3 kB / 1.33 GB, free: 13.75 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 9.594e-05/0.3321, allocations: 56 kB / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001294/0.3322, allocations: 67.92 kB / 1.33 GB, free: 13.63 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 5.391e-05/0.3323, allocations: 47.84 kB / 1.331 GB, free: 13.59 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001935/0.3325, allocations: 171.5 kB / 1.331 GB, free: 13.42 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006153/0.3331, allocations: 0.5606 MB / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.3331, allocations: 0 / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.383e-06/0.3331, allocations: 0 / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.052e-06/0.3331, 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: 35 * Number of variables: 35 Notification: Performance of Generate backend data structure: time 0.0009542/0.334, allocations: 0.6255 MB / 1.332 GB, free: 12.17 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.439e-05/0.3341, allocations: 12.03 kB / 1.332 GB, free: 12.16 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.535e-05/0.3342, allocations: 36.8 kB / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004306/0.3346, allocations: 253.2 kB / 1.332 GB, free: 11.85 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.985e-05/0.3346, allocations: 20.36 kB / 1.332 GB, free: 11.83 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.812e-05/0.3347, allocations: 36.31 kB / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002683/0.335, allocations: 141.8 kB / 1.332 GB, free: 11.65 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.621e-05/0.335, allocations: 4 kB / 1.332 GB, free: 11.65 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.065e-05/0.335, allocations: 7.984 kB / 1.332 GB, free: 11.64 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.335, allocations: 4 kB / 1.332 GB, free: 11.64 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001717/0.3352, allocations: 87.95 kB / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009985/0.3362, allocations: 0.5738 MB / 1.333 GB, free: 10.95 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003288/0.3365, allocations: 118.7 kB / 1.333 GB, free: 10.82 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000102/0.3366, allocations: 52.83 kB / 1.333 GB, free: 10.77 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 8.255e-06/0.3366, allocations: 0 / 1.333 GB, free: 10.77 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002994/0.3369, allocations: 168.1 kB / 1.333 GB, free: 10.59 MB / 1.029 GB Notification: Performance of pre-optimization done (n=22): time 1.462e-06/0.3369, allocations: 0 / 1.333 GB, free: 10.59 MB / 1.029 GB Notification: Performance of matching and sorting (n=22): time 0.0005322/0.3375, allocations: 269.2 kB / 1.334 GB, free: 10.32 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.941e-05/0.3375, allocations: 63.28 kB / 1.334 GB, free: 10.25 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000263/0.3378, allocations: 232.9 kB / 1.334 GB, free: 10.02 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.791e-05/0.3378, allocations: 37.7 kB / 1.334 GB, free: 9.973 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001455/0.338, allocations: 152.6 kB / 1.334 GB, free: 9.82 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.573e-05/0.338, allocations: 63.47 kB / 1.334 GB, free: 9.758 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00019/0.3382, allocations: 101.9 kB / 1.334 GB, free: 9.648 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001578/0.3384, allocations: 330.8 kB / 1.334 GB, free: 9.316 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004036/0.3388, allocations: 279 kB / 1.335 GB, free: 9.02 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004743/0.3393, allocations: 362.4 kB / 1.335 GB, free: 8.605 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005323/0.3398, allocations: 395.4 kB / 1.335 GB, free: 8.16 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.3398, allocations: 0 / 1.335 GB, free: 8.16 MB / 1.029 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0011/0.3409, allocations: 0.7291 MB / 1.336 GB, free: 7.375 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001109/0.341, allocations: 130.8 kB / 1.336 GB, free: 7.223 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.341, allocations: 4 kB / 1.336 GB, free: 7.219 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.341, allocations: 4 kB / 1.336 GB, free: 7.215 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.979e-05/0.3411, allocations: 31.86 kB / 1.336 GB, free: 7.184 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/0.3411, allocations: 4 kB / 1.336 GB, free: 7.18 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006356/0.3418, allocations: 112 kB / 1.336 GB, free: 7.07 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.738e-05/0.3418, allocations: 27.98 kB / 1.336 GB, free: 7.043 MB / 1.029 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.0001804/0.342, allocations: 158.2 kB / 1.337 GB, free: 6.879 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.247e-05/0.3421, allocations: 23.86 kB / 1.337 GB, free: 6.855 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.263e-05/0.3421, allocations: 26.28 kB / 1.337 GB, free: 6.824 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.698e-06/0.3421, allocations: 12.02 kB / 1.337 GB, free: 6.812 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.852e-06/0.3421, allocations: 3.984 kB / 1.337 GB, free: 6.809 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.3421, allocations: 0 / 1.337 GB, free: 6.809 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005942/0.3427, allocations: 474 kB / 1.337 GB, free: 6.309 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.3427, allocations: 0 / 1.337 GB, free: 6.309 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.817e-05/0.3428, allocations: 15.98 kB / 1.337 GB, free: 6.293 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.275e-06/0.3428, allocations: 0 / 1.337 GB, free: 6.293 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.948e-05/0.3428, allocations: 11.94 kB / 1.337 GB, free: 6.281 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.3428, allocations: 0 / 1.337 GB, free: 6.281 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3428, allocations: 0 / 1.337 GB, free: 6.281 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005277/0.3434, allocations: 381.3 kB / 1.338 GB, free: 5.895 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.927e-05/0.3434, allocations: 23.83 kB / 1.338 GB, free: 5.871 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.557e-05/0.3434, allocations: 11.92 kB / 1.338 GB, free: 5.859 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.03e-05/0.3435, allocations: 8 kB / 1.338 GB, free: 5.852 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.673e-05/0.3436, allocations: 15.97 kB / 1.338 GB, free: 5.836 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.856e-05/0.3436, allocations: 11.94 kB / 1.338 GB, free: 5.824 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001774/0.3438, allocations: 168.5 kB / 1.338 GB, free: 5.66 MB / 1.029 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3438, allocations: 0 / 1.338 GB, free: 5.66 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003745/0.3442, allocations: 79.89 kB / 1.338 GB, free: 5.582 MB / 1.029 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.0001715/0.3443, allocations: 119.8 kB / 1.338 GB, free: 5.457 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0008405/0.3452, allocations: 0.625 MB / 1.339 GB, free: 4.758 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3452, allocations: 0 / 1.339 GB, free: 4.758 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001388/0.3453, allocations: 75.91 kB / 1.339 GB, free: 4.684 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005087/0.3458, allocations: 72.92 kB / 1.339 GB, free: 4.613 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007934/0.3466, allocations: 444.8 kB / 1.339 GB, free: 4.152 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001451/0.3468, allocations: 138.2 kB / 1.339 GB, free: 3.996 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.785e-05/0.3468, allocations: 35.36 kB / 1.339 GB, free: 3.961 MB / 1.029 GB Notification: Performance of SimCode: time 3e-07/0.3468, allocations: 0 / 1.339 GB, free: 3.961 MB / 1.029 GB Notification: Performance of Templates: time 0.006768/0.3536, allocations: 4.002 MB / 1.343 GB, free: 0 / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain.sim & ./Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.Gain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_SystemIdentification_FirstOrderTimeDelay_BaseClasses_Validation_Gain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 11.747951217927039]