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.001353/0.001353, allocations: 80.92 kB / 20.75 MB, free: 3.742 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.001516/0.001516, allocations: 161 kB / 24.17 MB, free: 332 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.021/1.021, allocations: 177.1 MB / 204.6 MB, free: 5.484 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 1.896/1.896, allocations: 377.9 MB / 0.624 GB, free: 8.367 MB / 0.5886 GB " [Timeout remaining time 178] 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.484e-06/2.484e-06, allocations: 0 / 0.76 GB, free: 6.613 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.859e-05/2.107e-05, allocations: 5.547 kB / 0.76 GB, free: 6.609 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay): time 0.002179/0.0022, allocations: 1.321 MB / 0.7613 GB, free: 5.316 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001933/0.004133, allocations: 1.554 MB / 0.7628 GB, free: 3.754 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001831/0.004316, allocations: 4 kB / 0.7629 GB, free: 3.75 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0001527/0.004469, allocations: 36.66 kB / 0.7629 GB, free: 3.715 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001102/0.004579, allocations: 54.92 kB / 0.7629 GB, free: 3.664 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006508/0.00523, allocations: 328.7 kB / 0.7633 GB, free: 3.344 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0003966/0.005626, allocations: 464.1 kB / 0.7637 GB, free: 2.891 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001928/0.005819, allocations: 142.4 kB / 0.7638 GB, free: 2.746 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002283/0.006047, allocations: 259.5 kB / 0.7641 GB, free: 2.492 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001599/0.006207, allocations: 132.6 kB / 0.7642 GB, free: 2.363 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 4.765e-05/0.006255, allocations: 51.94 kB / 0.7643 GB, free: 2.312 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001111/0.006366, allocations: 64 kB / 0.7643 GB, free: 2.25 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 4.909e-05/0.006415, allocations: 76.77 kB / 0.7644 GB, free: 2.176 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0001006/0.006516, allocations: 127.7 kB / 0.7645 GB, free: 2.051 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0003785/0.006894, allocations: 330.9 kB / 0.7648 GB, free: 1.727 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.006897, allocations: 0.6875 kB / 0.7648 GB, free: 1.727 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.032e-06/0.006899, allocations: 1.781 kB / 0.7648 GB, free: 1.727 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.006904, allocations: 4 kB / 0.7648 GB, free: 1.723 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.0006826/0.007586, allocations: 0.5424 MB / 0.7654 GB, free: 1.137 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.007623, allocations: 12.03 kB / 0.7654 GB, free: 1.125 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001578/0.007781, allocations: 53.77 kB / 0.7654 GB, free: 1.074 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000242/0.008023, allocations: 204.2 kB / 0.7656 GB, free: 0.8477 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.828e-05/0.008051, allocations: 29.03 kB / 0.7656 GB, free: 0.8203 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.25e-05/0.008084, allocations: 32.38 kB / 0.7657 GB, free: 0.7891 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001764/0.00826, allocations: 171.3 kB / 0.7658 GB, free: 0.6172 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/0.008269, allocations: 4.125 kB / 0.7658 GB, free: 0.6133 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.616e-05/0.008286, allocations: 12.38 kB / 0.7659 GB, free: 0.6016 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/0.008293, allocations: 9.125 kB / 0.7659 GB, free: 0.5938 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.204e-05/0.008365, allocations: 60.5 kB / 0.7659 GB, free: 0.5312 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006906/0.009056, allocations: 0.537 MB / 0.7664 GB, free: 15.97 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001287/0.009184, allocations: 90.45 kB / 0.7665 GB, free: 15.88 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.708e-05/0.009221, allocations: 32.84 kB / 0.7666 GB, free: 15.84 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.987e-05/0.009241, allocations: 7.938 kB / 0.7666 GB, free: 15.83 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001141/0.009355, allocations: 107.2 kB / 0.7667 GB, free: 15.71 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=22): time 1.643e-06/0.009357, allocations: 1.594 kB / 0.7667 GB, free: 15.71 MB / 0.7292 GB Notification: Performance of matching and sorting (n=22): time 0.0001894/0.009546, allocations: 135.4 kB / 0.7668 GB, free: 15.58 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.338e-05/0.00958, allocations: 63.33 kB / 0.7669 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001172/0.009697, allocations: 207.4 kB / 0.7671 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0002183/0.009915, allocations: 34.95 kB / 0.7671 GB, free: 15.25 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 7.968e-05/0.009995, allocations: 180.4 kB / 0.7673 GB, free: 15.07 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.509e-05/0.01003, allocations: 63.47 kB / 0.7673 GB, free: 15.01 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.239e-05/0.01011, allocations: 74.62 kB / 0.7674 GB, free: 14.93 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.1e-05/0.01019, allocations: 334.8 kB / 0.7677 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.684e-05/0.01029, allocations: 119.2 kB / 0.7678 GB, free: 14.46 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001204/0.01041, allocations: 186.2 kB / 0.768 GB, free: 14.25 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001838/0.01059, allocations: 228.4 kB / 0.7682 GB, free: 13.98 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.0106, allocations: 0 / 0.7682 GB, free: 13.98 MB / 0.7292 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002847/0.01088, allocations: 344.4 kB / 0.7686 GB, free: 13.62 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 4.469e-05/0.01093, allocations: 76.48 kB / 0.7686 GB, free: 13.54 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.01093, allocations: 0 / 0.7686 GB, free: 13.54 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.01095, allocations: 4.938 kB / 0.7686 GB, free: 13.53 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.891e-05/0.01104, allocations: 39.92 kB / 0.7687 GB, free: 13.49 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.01105, allocations: 7.938 kB / 0.7687 GB, free: 13.48 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001528/0.0112, allocations: 57.19 kB / 0.7687 GB, free: 13.43 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.338e-05/0.01123, allocations: 23.42 kB / 0.7688 GB, free: 13.41 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 9.789e-05/0.01132, allocations: 138.8 kB / 0.7689 GB, free: 13.27 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.331e-05/0.01135, allocations: 23.97 kB / 0.7689 GB, free: 13.24 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000167/0.01152, allocations: 117.3 kB / 0.769 GB, free: 13.12 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.01152, allocations: 7.938 kB / 0.769 GB, free: 13.11 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.142e-06/0.01152, allocations: 0 / 0.769 GB, free: 13.11 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.01152, allocations: 0 / 0.769 GB, free: 13.11 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002852/0.01181, allocations: 359.7 kB / 0.7694 GB, free: 12.73 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.105e-06/0.01181, allocations: 3.984 kB / 0.7694 GB, free: 12.73 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.652e-05/0.01187, allocations: 35.86 kB / 0.7694 GB, free: 12.69 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.01187, allocations: 0 / 0.7694 GB, free: 12.69 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.649e-06/0.01188, allocations: 7.984 kB / 0.7694 GB, free: 12.68 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.01188, allocations: 4.531 kB / 0.7694 GB, free: 12.68 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.01188, allocations: 0 / 0.7694 GB, free: 12.68 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001403/0.01202, allocations: 233.7 kB / 0.7696 GB, free: 12.43 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.083e-05/0.01205, allocations: 23.86 kB / 0.7697 GB, free: 12.41 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.06e-05/0.01207, allocations: 8 kB / 0.7697 GB, free: 12.4 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.501e-05/0.01212, allocations: 4.594 kB / 0.7697 GB, free: 12.39 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.562e-05/0.01217, allocations: 31.83 kB / 0.7697 GB, free: 12.36 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.224e-06/0.01217, allocations: 6.844 kB / 0.7697 GB, free: 12.36 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 5.078e-05/0.01222, allocations: 67.17 kB / 0.7698 GB, free: 12.29 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4e-08/0.01222, allocations: 0 / 0.7698 GB, free: 12.29 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002286/0.01245, allocations: 75.78 kB / 0.7699 GB, free: 12.22 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.0001294/0.01258, allocations: 104.4 kB / 0.77 GB, free: 12.11 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002707/0.01285, allocations: 327.5 kB / 0.7703 GB, free: 11.75 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 7.574e-06/0.01286, allocations: 4 kB / 0.7703 GB, free: 11.75 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 6.321e-05/0.01292, allocations: 59.2 kB / 0.7703 GB, free: 11.69 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002448/0.01317, allocations: 60.06 kB / 0.7704 GB, free: 11.64 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005488/0.01372, allocations: 439.6 kB / 0.7708 GB, free: 11.18 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.495e-05/0.01377, allocations: 84.31 kB / 0.7709 GB, free: 11.07 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 7.578e-05/0.01385, allocations: 25.14 kB / 0.7709 GB, free: 11.05 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001863/0.01403, allocations: 115.8 kB / 0.771 GB, free: 10.94 MB / 0.7292 GB Notification: Performance of SimCode: time 5.51e-07/0.01404, allocations: 0.5938 kB / 0.771 GB, free: 10.94 MB / 0.7292 GB Notification: Performance of Templates: time 0.006947/0.02098, allocations: 4.339 MB / 0.7753 GB, free: 6.883 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 -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.150491398293525]