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.001361/0.001361, allocations: 81.95 kB / 19.87 MB, free: 4.617 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.001595/0.001595, allocations: 173.7 kB / 23.28 MB, free: 1.219 MB / 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.9586/0.9586, allocations: 177.1 MB / 203.7 MB, free: 5.523 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.35/2.35, allocations: 438.1 MB / 0.682 GB, free: 14.12 MB / 0.6511 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 1.713e-06/1.713e-06, allocations: 0 / 0.8898 GB, free: 9.676 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.634e-05/1.805e-05, allocations: 5.266 kB / 0.8898 GB, free: 9.672 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.SystemIdentification.FirstOrderTimeDelay.BaseClasses.Validation.TimeConstantDelay): time 0.001731/0.001749, allocations: 1.345 MB / 0.8911 GB, free: 8.328 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001602/0.003351, allocations: 1.536 MB / 0.8926 GB, free: 6.777 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001416/0.003493, allocations: 4 kB / 0.8926 GB, free: 6.773 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0001291/0.003622, allocations: 35.55 kB / 0.8926 GB, free: 6.738 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 9.054e-05/0.003712, allocations: 59.45 kB / 0.8927 GB, free: 6.68 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007317/0.004444, allocations: 335.2 kB / 0.893 GB, free: 6.352 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0003323/0.004776, allocations: 476.1 kB / 0.8935 GB, free: 5.883 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001754/0.004952, allocations: 137.7 kB / 0.8936 GB, free: 5.746 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001884/0.00514, allocations: 263.5 kB / 0.8938 GB, free: 5.488 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001456/0.005286, allocations: 127.6 kB / 0.894 GB, free: 5.363 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 4.731e-05/0.005333, allocations: 52 kB / 0.894 GB, free: 5.312 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 8.646e-05/0.005419, allocations: 67.98 kB / 0.8941 GB, free: 5.246 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 4.286e-05/0.005462, allocations: 75.73 kB / 0.8941 GB, free: 5.172 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 8e-05/0.005542, allocations: 135.7 kB / 0.8943 GB, free: 5.039 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0002735/0.005816, allocations: 354.7 kB / 0.8946 GB, free: 4.691 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.364e-06/0.005818, allocations: 0 / 0.8946 GB, free: 4.691 MB / 0.8542 GB Notification: Performance of FrontEnd: time 4.71e-07/0.005819, allocations: 0 / 0.8946 GB, free: 4.691 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.707e-06/0.005822, allocations: 0 / 0.8946 GB, free: 4.691 MB / 0.8542 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.0005663/0.006389, allocations: 0.6826 MB / 0.8953 GB, free: 3.957 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.3e-05/0.006422, allocations: 8.625 kB / 0.8953 GB, free: 3.949 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001258/0.006548, allocations: 64.7 kB / 0.8953 GB, free: 3.887 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002181/0.006766, allocations: 257 kB / 0.8956 GB, free: 3.605 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.109e-05/0.006787, allocations: 25.03 kB / 0.8956 GB, free: 3.582 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.264e-05/0.006819, allocations: 36.38 kB / 0.8957 GB, free: 3.547 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000167/0.006986, allocations: 179.4 kB / 0.8958 GB, free: 3.359 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.755e-06/0.006994, allocations: 192 / 0.8958 GB, free: 3.359 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.372e-05/0.007008, allocations: 12.38 kB / 0.8958 GB, free: 3.348 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.203e-06/0.007015, allocations: 8.375 kB / 0.8958 GB, free: 3.34 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.872e-05/0.007094, allocations: 76.45 kB / 0.8959 GB, free: 3.266 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006935/0.007787, allocations: 0.7572 MB / 0.8967 GB, free: 2.473 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001931/0.00798, allocations: 123.3 kB / 0.8968 GB, free: 2.34 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.977e-05/0.00802, allocations: 51.62 kB / 0.8968 GB, free: 2.285 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.549e-05/0.008036, allocations: 4 kB / 0.8968 GB, free: 2.281 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001082/0.008144, allocations: 119.5 kB / 0.8969 GB, free: 2.152 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=23): time 1.393e-06/0.008145, allocations: 0 / 0.8969 GB, free: 2.152 MB / 0.8542 GB Notification: Performance of matching and sorting (n=23): time 0.0002228/0.008368, allocations: 185.3 kB / 0.8971 GB, free: 1.965 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.693e-05/0.008395, allocations: 59.41 kB / 0.8972 GB, free: 1.895 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001252/0.00852, allocations: 266.6 kB / 0.8974 GB, free: 1.613 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.628e-05/0.008546, allocations: 37.7 kB / 0.8975 GB, free: 1.57 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 9.574e-05/0.008642, allocations: 243.1 kB / 0.8977 GB, free: 1.324 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.404e-05/0.008676, allocations: 67.47 kB / 0.8978 GB, free: 1.258 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.29e-05/0.008759, allocations: 87.58 kB / 0.8978 GB, free: 1.164 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001051/0.008864, allocations: 0.504 MB / 0.8983 GB, free: 0.6484 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.677e-05/0.008961, allocations: 123.6 kB / 0.8985 GB, free: 0.5156 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001254/0.009086, allocations: 214.2 kB / 0.8987 GB, free: 264 kB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001771/0.009263, allocations: 245.4 kB / 0.8989 GB, free: 15.97 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/0.009268, allocations: 7.938 kB / 0.8989 GB, free: 15.96 MB / 0.8698 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0003331/0.009601, allocations: 427.8 kB / 0.8993 GB, free: 15.52 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 3.346e-05/0.009635, allocations: 71.58 kB / 0.8994 GB, free: 15.43 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.00964, allocations: 8 kB / 0.8994 GB, free: 15.43 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.072e-05/0.009651, allocations: 4 kB / 0.8994 GB, free: 15.42 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.759e-05/0.009729, allocations: 39.92 kB / 0.8994 GB, free: 15.38 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.009733, allocations: 4 kB / 0.8994 GB, free: 15.38 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001401/0.009873, allocations: 55.78 kB / 0.8995 GB, free: 15.32 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.054e-05/0.009894, allocations: 16 kB / 0.8995 GB, free: 15.31 MB / 0.8698 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.0002219/0.01012, allocations: 192.4 kB / 0.8997 GB, free: 15.11 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.585e-05/0.01014, allocations: 31.86 kB / 0.8997 GB, free: 15.08 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001654/0.01031, allocations: 161.5 kB / 0.8999 GB, free: 14.92 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.01031, allocations: 4 kB / 0.8999 GB, free: 14.91 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.102e-06/0.01031, allocations: 0 / 0.8999 GB, free: 14.91 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.01031, allocations: 4 kB / 0.8999 GB, free: 14.91 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003044/0.01062, allocations: 0.4889 MB / 0.9004 GB, free: 14.38 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.01062, allocations: 0 / 0.9004 GB, free: 14.38 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.166e-05/0.01067, allocations: 28.02 kB / 0.9004 GB, free: 14.35 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.01068, allocations: 8 kB / 0.9004 GB, free: 14.34 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.835e-06/0.01068, allocations: 4 kB / 0.9004 GB, free: 14.34 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.01069, allocations: 4 kB / 0.9004 GB, free: 14.33 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.01069, allocations: 3.938 kB / 0.9004 GB, free: 14.33 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001686/0.01086, allocations: 339.8 kB / 0.9007 GB, free: 13.96 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 1.79e-05/0.01087, allocations: 23.78 kB / 0.9007 GB, free: 13.94 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.969e-05/0.01089, allocations: 11.98 kB / 0.9008 GB, free: 13.93 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.227e-05/0.01095, allocations: 4 kB / 0.9008 GB, free: 13.93 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.839e-05/0.01098, allocations: 31.89 kB / 0.9008 GB, free: 13.89 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.943e-06/0.01099, allocations: 4 kB / 0.9008 GB, free: 13.89 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 6.304e-05/0.01105, allocations: 177.8 kB / 0.901 GB, free: 13.72 MB / 0.8698 GB Notification: Performance of sort global known variables: time 6e-08/0.01105, allocations: 0 / 0.901 GB, free: 13.72 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002163/0.01127, allocations: 79.83 kB / 0.901 GB, free: 13.64 MB / 0.8698 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.0001035/0.01137, allocations: 129.2 kB / 0.9012 GB, free: 13.5 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002542/0.01163, allocations: 341.9 kB / 0.9015 GB, free: 13.13 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.262e-06/0.01163, allocations: 0.5 kB / 0.9015 GB, free: 13.13 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 6.028e-05/0.01169, allocations: 70.22 kB / 0.9016 GB, free: 13.06 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002579/0.01195, allocations: 60.62 kB / 0.9016 GB, free: 13 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004738/0.01242, allocations: 464.7 kB / 0.9021 GB, free: 12.5 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.306e-05/0.01246, allocations: 88.25 kB / 0.9021 GB, free: 12.4 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 6.063e-05/0.01252, allocations: 22.3 kB / 0.9022 GB, free: 12.38 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001554/0.01268, allocations: 150.1 kB / 0.9023 GB, free: 12.23 MB / 0.8698 GB Notification: Performance of SimCode: time 5.91e-07/0.01268, allocations: 4 kB / 0.9023 GB, free: 12.22 MB / 0.8698 GB Notification: Performance of Templates: time 0.005549/0.01823, allocations: 4.381 MB / 0.9066 GB, free: 7.992 MB / 0.8698 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.335059541743249]