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.00142/0.00142, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.001421/0.001421, allocations: 169 kB / 24.05 MB, free: 460 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 0.9787/0.9787, allocations: 177.1 MB / 204.5 MB, free: 5.527 MB / 186.7 MB " [Timeout remaining time 179] 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 2.107/2.107, allocations: 429.5 MB / 0.6743 GB, free: 3.945 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.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: Performance of FrontEnd - loaded program: time 3.858e-06/3.858e-06, allocations: 0 / 0.8794 GB, free: 6.008 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.679e-05/4.065e-05, allocations: 2.312 kB / 0.8794 GB, free: 6.004 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay): time 0.00277/0.002811, allocations: 1.349 MB / 0.8807 GB, free: 4.688 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.00228/0.005091, allocations: 1.538 MB / 0.8822 GB, free: 3.137 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002112/0.005302, allocations: 4 kB / 0.8822 GB, free: 3.133 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0002273/0.005529, allocations: 35.53 kB / 0.8823 GB, free: 3.098 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.000153/0.005682, allocations: 56.42 kB / 0.8823 GB, free: 3.043 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008568/0.006539, allocations: 340.6 kB / 0.8827 GB, free: 2.711 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0004701/0.007009, allocations: 476.1 kB / 0.8831 GB, free: 2.246 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002548/0.007264, allocations: 133.6 kB / 0.8832 GB, free: 2.109 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002679/0.007532, allocations: 264.8 kB / 0.8835 GB, free: 1.852 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002085/0.00774, allocations: 131.6 kB / 0.8836 GB, free: 1.723 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 6.129e-05/0.007802, allocations: 52 kB / 0.8837 GB, free: 1.672 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001233/0.007925, allocations: 71.27 kB / 0.8837 GB, free: 1.605 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 6.073e-05/0.007986, allocations: 79.69 kB / 0.8838 GB, free: 1.527 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.00011/0.008096, allocations: 131.7 kB / 0.8839 GB, free: 1.398 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0004318/0.008527, allocations: 342.8 kB / 0.8843 GB, free: 1.062 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.008531, allocations: 0 / 0.8843 GB, free: 1.062 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.002e-06/0.008532, allocations: 0 / 0.8843 GB, free: 1.062 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.763e-06/0.008539, allocations: 0 / 0.8843 GB, free: 1.062 MB / 0.8386 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.0008529/0.009392, allocations: 0.691 MB / 0.8849 GB, free: 328 kB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/0.009434, allocations: 8.031 kB / 0.8849 GB, free: 320 kB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001903/0.009624, allocations: 66.14 kB / 0.885 GB, free: 256 kB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003239/0.009948, allocations: 248.9 kB / 0.8852 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.683e-05/0.009985, allocations: 32.97 kB / 0.8853 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.852e-05/0.01002, allocations: 40.36 kB / 0.8853 GB, free: 15.91 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002247/0.01025, allocations: 171.4 kB / 0.8855 GB, free: 15.73 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.379e-05/0.01026, allocations: 192 / 0.8855 GB, free: 15.73 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.97e-05/0.01028, allocations: 20.3 kB / 0.8855 GB, free: 15.71 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.668e-06/0.01029, allocations: 4.375 kB / 0.8855 GB, free: 15.7 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.51e-05/0.01039, allocations: 80.47 kB / 0.8856 GB, free: 15.62 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009298/0.01132, allocations: 0.7416 MB / 0.8863 GB, free: 14.84 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002861/0.0116, allocations: 135.4 kB / 0.8864 GB, free: 14.7 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.153e-05/0.01165, allocations: 35.67 kB / 0.8865 GB, free: 14.66 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.588e-05/0.01168, allocations: 11.97 kB / 0.8865 GB, free: 14.65 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001569/0.01184, allocations: 121.4 kB / 0.8866 GB, free: 14.52 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=23): time 1.934e-06/0.01184, allocations: 0 / 0.8866 GB, free: 14.52 MB / 0.8542 GB Notification: Performance of matching and sorting (n=23): time 0.000291/0.01213, allocations: 181 kB / 0.8868 GB, free: 14.34 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.597e-05/0.01218, allocations: 63.33 kB / 0.8868 GB, free: 14.26 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001779/0.01235, allocations: 266.6 kB / 0.8871 GB, free: 13.98 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.243e-05/0.01239, allocations: 37.7 kB / 0.8871 GB, free: 13.94 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001381/0.01252, allocations: 239.1 kB / 0.8873 GB, free: 13.7 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.082e-05/0.01256, allocations: 67.47 kB / 0.8874 GB, free: 13.63 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001058/0.01267, allocations: 87.58 kB / 0.8875 GB, free: 13.54 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001491/0.01282, allocations: 0.5079 MB / 0.888 GB, free: 13.02 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001267/0.01295, allocations: 123.6 kB / 0.8881 GB, free: 12.89 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001677/0.01311, allocations: 215.2 kB / 0.8883 GB, free: 12.63 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002176/0.01333, allocations: 261.9 kB / 0.8886 GB, free: 12.32 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.01334, allocations: 3.938 kB / 0.8886 GB, free: 12.32 MB / 0.8542 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0004229/0.01376, allocations: 416.1 kB / 0.889 GB, free: 11.88 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 5.099e-05/0.01381, allocations: 67.39 kB / 0.889 GB, free: 11.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.01382, allocations: 0 / 0.889 GB, free: 11.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.01383, allocations: 4.25 kB / 0.889 GB, free: 11.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.684e-05/0.01393, allocations: 43.92 kB / 0.8891 GB, free: 11.76 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.276e-06/0.01394, allocations: 11.92 kB / 0.8891 GB, free: 11.75 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001671/0.0141, allocations: 59.75 kB / 0.8891 GB, free: 11.69 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.471e-05/0.01413, allocations: 15.98 kB / 0.8892 GB, free: 11.67 MB / 0.8542 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 (33): * Single equations (assignments): 31 * 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.0001314/0.01426, allocations: 184.5 kB / 0.8893 GB, free: 11.48 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.132e-05/0.01429, allocations: 23.86 kB / 0.8894 GB, free: 11.46 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002328/0.01452, allocations: 171.7 kB / 0.8895 GB, free: 11.28 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.01453, allocations: 3.938 kB / 0.8895 GB, free: 11.28 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.01453, allocations: 4 kB / 0.8895 GB, free: 11.27 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.01454, allocations: 3.984 kB / 0.8895 GB, free: 11.27 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004093/0.01494, allocations: 495 kB / 0.89 GB, free: 10.74 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.01495, allocations: 4 kB / 0.89 GB, free: 10.74 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.134e-05/0.01501, allocations: 27.98 kB / 0.89 GB, free: 10.71 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.516e-06/0.01502, allocations: 0 / 0.89 GB, free: 10.71 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.079e-05/0.01503, allocations: 8.031 kB / 0.89 GB, free: 10.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.01503, allocations: 7.984 kB / 0.89 GB, free: 10.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/0.01503, allocations: 4 kB / 0.89 GB, free: 10.69 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002301/0.01526, allocations: 335.2 kB / 0.8904 GB, free: 10.33 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.379e-05/0.01529, allocations: 23.8 kB / 0.8904 GB, free: 10.31 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.339e-05/0.01531, allocations: 4 kB / 0.8904 GB, free: 10.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.619e-05/0.01538, allocations: 8 kB / 0.8904 GB, free: 10.3 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.418e-05/0.01543, allocations: 27.83 kB / 0.8904 GB, free: 10.27 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.629e-06/0.01544, allocations: 8 kB / 0.8904 GB, free: 10.26 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 9.027e-05/0.01553, allocations: 177.7 kB / 0.8906 GB, free: 10.09 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.01553, allocations: 0 / 0.8906 GB, free: 10.09 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002592/0.01579, allocations: 79.84 kB / 0.8907 GB, free: 10.01 MB / 0.8542 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.000165/0.01596, allocations: 119.2 kB / 0.8908 GB, free: 9.887 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003356/0.01629, allocations: 356.8 kB / 0.8911 GB, free: 9.5 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.01629, allocations: 0 / 0.8911 GB, free: 9.5 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 7.523e-05/0.01637, allocations: 68.09 kB / 0.8912 GB, free: 9.43 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000321/0.01669, allocations: 64.81 kB / 0.8913 GB, free: 9.367 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006189/0.01731, allocations: 460.4 kB / 0.8917 GB, free: 8.875 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.98e-05/0.01738, allocations: 96.25 kB / 0.8918 GB, free: 8.762 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 8.102e-05/0.01746, allocations: 30.27 kB / 0.8918 GB, free: 8.73 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001829/0.01764, allocations: 142.1 kB / 0.892 GB, free: 8.59 MB / 0.8542 GB Notification: Performance of SimCode: time 8.42e-07/0.01764, allocations: 0 / 0.892 GB, free: 8.59 MB / 0.8542 GB Notification: Performance of Templates: time 0.007434/0.02508, allocations: 4.481 MB / 0.8963 GB, free: 4.254 MB / 0.8542 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay.pipe 2>&1) [Timeout 240] 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","",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.712560212239623]