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.001537/0.001537, allocations: 80.8 kB / 20.75 MB, free: 3.734 MB / 18.57 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.0012/0.0012, allocations: 165 kB / 24.17 MB, free: 328 kB / 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 1.019/1.019, allocations: 177.1 MB / 204.6 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 2.017/2.017, allocations: 377.9 MB / 0.624 GB, free: 8.367 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 3.938 kB / 0.7601 GB, free: 6.551 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.086e-05/2.291e-05, allocations: 4.281 kB / 0.7601 GB, free: 6.547 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay): time 0.002028/0.002051, allocations: 1.352 MB / 0.7614 GB, free: 5.227 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.002073/0.004124, allocations: 1.553 MB / 0.7629 GB, free: 3.664 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001644/0.004288, allocations: 7.938 kB / 0.7629 GB, free: 3.656 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0001459/0.004434, allocations: 33.16 kB / 0.763 GB, free: 3.625 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001049/0.004539, allocations: 62.86 kB / 0.763 GB, free: 3.566 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006426/0.005181, allocations: 323.2 kB / 0.7633 GB, free: 3.25 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.000371/0.005552, allocations: 468.1 kB / 0.7638 GB, free: 2.793 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001839/0.005736, allocations: 138.4 kB / 0.7639 GB, free: 2.652 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001987/0.005935, allocations: 255.5 kB / 0.7642 GB, free: 2.402 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001498/0.006085, allocations: 128.3 kB / 0.7643 GB, free: 2.277 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 4.62e-05/0.006131, allocations: 48 kB / 0.7643 GB, free: 2.23 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000107/0.006238, allocations: 72.72 kB / 0.7644 GB, free: 2.16 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 4.324e-05/0.006281, allocations: 71.75 kB / 0.7645 GB, free: 2.09 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 9.237e-05/0.006374, allocations: 132.5 kB / 0.7646 GB, free: 1.961 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002958/0.006669, allocations: 334.8 kB / 0.7649 GB, free: 1.633 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.006672, allocations: 2.188 kB / 0.7649 GB, free: 1.633 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.683e-06/0.006674, allocations: 7.984 kB / 0.7649 GB, free: 1.625 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.188e-06/0.006678, allocations: 0 / 0.7649 GB, free: 1.625 MB / 0.7136 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.0005624/0.007241, allocations: 0.5346 MB / 0.7654 GB, free: 1.047 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.456e-05/0.007275, allocations: 17.44 kB / 0.7655 GB, free: 1.031 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001367/0.007412, allocations: 56.88 kB / 0.7655 GB, free: 0.9766 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002304/0.007642, allocations: 202.2 kB / 0.7657 GB, free: 0.75 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.709e-05/0.007669, allocations: 30.83 kB / 0.7657 GB, free: 0.7227 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.943e-05/0.007699, allocations: 32.38 kB / 0.7658 GB, free: 0.6914 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000166/0.007865, allocations: 171.3 kB / 0.7659 GB, free: 0.5195 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.007874, allocations: 192 / 0.7659 GB, free: 0.5195 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.669e-05/0.007891, allocations: 16.36 kB / 0.7659 GB, free: 0.5039 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.356e-06/0.007899, allocations: 11.41 kB / 0.766 GB, free: 0.4961 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.425e-05/0.007974, allocations: 64.5 kB / 0.766 GB, free: 440 kB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006686/0.008642, allocations: 0.5219 MB / 0.7665 GB, free: 15.89 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001312/0.008773, allocations: 94.39 kB / 0.7666 GB, free: 15.79 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.875e-05/0.008812, allocations: 39.58 kB / 0.7667 GB, free: 15.75 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.699e-05/0.008829, allocations: 4 kB / 0.7667 GB, free: 15.74 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001176/0.008947, allocations: 107.2 kB / 0.7668 GB, free: 15.62 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=22): time 1.492e-06/0.008948, allocations: 0 / 0.7668 GB, free: 15.62 MB / 0.7292 GB Notification: Performance of matching and sorting (n=22): time 0.0001846/0.009133, allocations: 139.4 kB / 0.7669 GB, free: 15.48 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.008e-05/0.009163, allocations: 55.41 kB / 0.7669 GB, free: 15.42 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001258/0.009289, allocations: 211.4 kB / 0.7671 GB, free: 15.2 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.714e-05/0.009316, allocations: 34.27 kB / 0.7672 GB, free: 15.16 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 7.87e-05/0.009395, allocations: 176.4 kB / 0.7673 GB, free: 14.98 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.519e-05/0.00943, allocations: 68.75 kB / 0.7674 GB, free: 14.92 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.149e-05/0.009511, allocations: 77.64 kB / 0.7675 GB, free: 14.84 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.948e-05/0.009591, allocations: 334.8 kB / 0.7678 GB, free: 14.5 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.546e-05/0.009686, allocations: 119.8 kB / 0.7679 GB, free: 14.37 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001149/0.009801, allocations: 183.6 kB / 0.7681 GB, free: 14.15 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001644/0.009965, allocations: 223 kB / 0.7683 GB, free: 13.9 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.009968, allocations: 0 / 0.7683 GB, free: 13.9 MB / 0.7292 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002793/0.01025, allocations: 353.4 kB / 0.7686 GB, free: 13.53 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 4.187e-05/0.01029, allocations: 67.39 kB / 0.7687 GB, free: 13.45 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.0103, allocations: 4 kB / 0.7687 GB, free: 13.45 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.01031, allocations: 4 kB / 0.7687 GB, free: 13.44 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001016/0.01041, allocations: 47.91 kB / 0.7688 GB, free: 13.39 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.01042, allocations: 7.938 kB / 0.7688 GB, free: 13.39 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001447/0.01056, allocations: 56.69 kB / 0.7688 GB, free: 13.33 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.257e-05/0.01058, allocations: 16.89 kB / 0.7688 GB, free: 13.32 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (32): * Single equations (assignments): 30 * 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.0003468/0.01093, allocations: 135.5 kB / 0.769 GB, free: 13.18 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.126e-05/0.01095, allocations: 23.95 kB / 0.769 GB, free: 13.15 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001532/0.0111, allocations: 127.7 kB / 0.7691 GB, free: 13.02 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.01111, allocations: 3.938 kB / 0.7691 GB, free: 13.02 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.313e-06/0.01111, allocations: 4 kB / 0.7691 GB, free: 13.02 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.01111, allocations: 0 / 0.7691 GB, free: 13.02 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002812/0.01139, allocations: 362.3 kB / 0.7695 GB, free: 12.63 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-06/0.0114, allocations: 0 / 0.7695 GB, free: 12.63 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.839e-05/0.01145, allocations: 31.86 kB / 0.7695 GB, free: 12.6 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.01146, allocations: 0 / 0.7695 GB, free: 12.6 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.127e-05/0.01147, allocations: 11.98 kB / 0.7695 GB, free: 12.59 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.01147, allocations: 0 / 0.7695 GB, free: 12.59 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.01147, allocations: 4 kB / 0.7695 GB, free: 12.59 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001327/0.01161, allocations: 225.9 kB / 0.7697 GB, free: 12.34 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.012e-05/0.01163, allocations: 29.41 kB / 0.7698 GB, free: 12.31 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.107e-05/0.01165, allocations: 8 kB / 0.7698 GB, free: 12.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.566e-05/0.0117, allocations: 8 kB / 0.7698 GB, free: 12.3 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.299e-05/0.01175, allocations: 19.89 kB / 0.7698 GB, free: 12.28 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.566e-06/0.01175, allocations: 9.281 kB / 0.7698 GB, free: 12.27 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.699e-05/0.0118, allocations: 67.16 kB / 0.7699 GB, free: 12.2 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.0118, allocations: 0 / 0.7699 GB, free: 12.2 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002032/0.01201, allocations: 80.44 kB / 0.7699 GB, free: 12.12 MB / 0.7292 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.0001268/0.01213, allocations: 101.1 kB / 0.77 GB, free: 12.02 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002482/0.01238, allocations: 328.7 kB / 0.7703 GB, free: 11.66 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/0.01238, allocations: 4 kB / 0.7704 GB, free: 11.66 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 5.848e-05/0.01244, allocations: 63.12 kB / 0.7704 GB, free: 11.6 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002471/0.01269, allocations: 72.02 kB / 0.7705 GB, free: 11.53 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000521/0.01321, allocations: 432.8 kB / 0.7709 GB, free: 11.08 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.006e-05/0.01326, allocations: 84.31 kB / 0.771 GB, free: 10.98 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 6.844e-05/0.01333, allocations: 25.02 kB / 0.771 GB, free: 10.95 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001538/0.01348, allocations: 111.3 kB / 0.7711 GB, free: 10.84 MB / 0.7292 GB Notification: Performance of SimCode: time 8.51e-07/0.01348, allocations: 5.281 kB / 0.7711 GB, free: 10.84 MB / 0.7292 GB Notification: Performance of Templates: time 0.006371/0.01986, allocations: 4.345 MB / 0.7754 GB, free: 6.766 MB / 0.7292 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.35085006384179]