Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay.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.001022/0.001022, 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.00121/0.00121, allocations: 161 kB / 24.16 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.04/1.04, allocations: 177.1 MB / 204.6 MB, free: 5.078 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.95/1.95, allocations: 377.9 MB / 0.624 GB, free: 8.379 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.Relay.BaseClasses.Validation.NormalizedTimeDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|rho.y|norTimDel.tau",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay") translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|rho.y|norTimDel.tau",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.554e-06/2.554e-06, allocations: 0 / 0.7601 GB, free: 6.617 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.224e-05/2.48e-05, allocations: 8.922 kB / 0.7601 GB, free: 6.609 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay): time 0.002047/0.002072, allocations: 1.08 MB / 0.7611 GB, free: 5.555 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001338/0.00341, allocations: 1.297 MB / 0.7624 GB, free: 4.246 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.869e-05/0.003509, allocations: 5.219 kB / 0.7624 GB, free: 4.242 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0001252/0.003634, allocations: 20.39 kB / 0.7624 GB, free: 4.223 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 6.32e-05/0.003698, allocations: 31.61 kB / 0.7624 GB, free: 4.199 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003691/0.004067, allocations: 183.5 kB / 0.7626 GB, free: 4.02 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0002227/0.004289, allocations: 254.5 kB / 0.7629 GB, free: 3.777 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000139/0.004428, allocations: 78.17 kB / 0.7629 GB, free: 3.703 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001252/0.004554, allocations: 139.8 kB / 0.7631 GB, free: 3.566 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001082/0.004662, allocations: 68.41 kB / 0.7631 GB, free: 3.5 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 3.144e-05/0.004693, allocations: 24.62 kB / 0.7632 GB, free: 3.477 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 8.087e-05/0.004774, allocations: 43.97 kB / 0.7632 GB, free: 3.434 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 3.26e-05/0.004807, allocations: 40.88 kB / 0.7632 GB, free: 3.395 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 5.638e-05/0.004863, allocations: 75.81 kB / 0.7633 GB, free: 3.32 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.000204/0.005067, allocations: 184 kB / 0.7635 GB, free: 3.141 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.00507, allocations: 3.984 kB / 0.7635 GB, free: 3.137 MB / 0.7136 GB Notification: Performance of FrontEnd: time 7.71e-07/0.005071, allocations: 1.781 kB / 0.7635 GB, free: 3.137 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.617e-06/0.005074, allocations: 0 / 0.7635 GB, free: 3.137 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0004906/0.005565, allocations: 405.7 kB / 0.7639 GB, free: 2.707 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.005603, allocations: 12.03 kB / 0.7639 GB, free: 2.695 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.719e-05/0.00565, allocations: 26.14 kB / 0.7639 GB, free: 2.672 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002513/0.005901, allocations: 174.4 kB / 0.7641 GB, free: 2.477 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.242e-05/0.005924, allocations: 17.12 kB / 0.7641 GB, free: 2.461 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.175e-05/0.005946, allocations: 20.36 kB / 0.7641 GB, free: 2.441 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001504/0.006096, allocations: 138.9 kB / 0.7642 GB, free: 2.293 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.006104, allocations: 192 / 0.7642 GB, free: 2.293 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/0.006116, allocations: 8.375 kB / 0.7643 GB, free: 2.285 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.042e-06/0.006122, allocations: 5.031 kB / 0.7643 GB, free: 2.281 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.801e-05/0.00617, allocations: 38.45 kB / 0.7643 GB, free: 2.246 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004373/0.006607, allocations: 327.6 kB / 0.7646 GB, free: 1.91 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001323/0.006739, allocations: 58.48 kB / 0.7647 GB, free: 1.844 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.921e-05/0.006768, allocations: 25.72 kB / 0.7647 GB, free: 1.816 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 7.424e-06/0.006776, allocations: 0 / 0.7647 GB, free: 1.816 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001044/0.00688, allocations: 110.1 kB / 0.7648 GB, free: 1.691 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=11): time 1.022e-06/0.006881, allocations: 0 / 0.7648 GB, free: 1.691 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11): time 0.0001392/0.007021, allocations: 81.78 kB / 0.7649 GB, free: 1.605 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.848e-05/0.007119, allocations: 57.41 kB / 0.7649 GB, free: 1.539 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.197e-05/0.007211, allocations: 161.6 kB / 0.7651 GB, free: 1.371 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.995e-05/0.007231, allocations: 29.7 kB / 0.7651 GB, free: 1.336 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.145e-05/0.007292, allocations: 132.3 kB / 0.7652 GB, free: 1.203 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.944e-05/0.007312, allocations: 35.72 kB / 0.7653 GB, free: 1.168 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.429e-05/0.007366, allocations: 44.44 kB / 0.7653 GB, free: 1.121 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.73e-05/0.007443, allocations: 326.8 kB / 0.7656 GB, free: 0.793 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.263e-05/0.007496, allocations: 57.67 kB / 0.7657 GB, free: 0.7305 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.791e-05/0.007554, allocations: 76.27 kB / 0.7658 GB, free: 0.6406 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.293e-05/0.007637, allocations: 104.1 kB / 0.7659 GB, free: 0.5234 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.007639, allocations: 0 / 0.7659 GB, free: 0.5234 MB / 0.7136 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001471/0.007786, allocations: 178.6 kB / 0.766 GB, free: 340 kB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.881e-05/0.007814, allocations: 37.7 kB / 0.7661 GB, free: 296 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.007819, allocations: 0 / 0.7661 GB, free: 296 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.007832, allocations: 0.9375 kB / 0.7661 GB, free: 296 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.661e-05/0.007919, allocations: 19.92 kB / 0.7661 GB, free: 276 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.007924, allocations: 8.891 kB / 0.7661 GB, free: 268 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.001e-05/0.008014, allocations: 31.92 kB / 0.7661 GB, free: 236 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.303e-05/0.008027, allocations: 4.844 kB / 0.7661 GB, free: 232 kB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,rho.booPul.y,$PRE.rho.booPul.y,norTimDel.or2.y,norTimDel.gre.greHys.y,$PRE.norTimDel.gre.greHys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 1 * 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 6.87e-05/0.008096, allocations: 115.8 kB / 0.7662 GB, free: 108 kB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.46e-05/0.00811, allocations: 15.92 kB / 0.7662 GB, free: 92 kB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.233e-05/0.008143, allocations: 16.78 kB / 0.7663 GB, free: 72 kB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.008144, allocations: 0 / 0.7663 GB, free: 72 kB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.062e-06/0.008145, allocations: 0 / 0.7663 GB, free: 72 kB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.008149, allocations: 4.641 kB / 0.7663 GB, free: 68 kB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000106/0.008255, allocations: 113.8 kB / 0.7664 GB, free: 15.94 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.008257, allocations: 0.6562 kB / 0.7664 GB, free: 15.94 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.117e-05/0.008298, allocations: 16.44 kB / 0.7664 GB, free: 15.92 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.417e-06/0.008301, allocations: 7.141 kB / 0.7664 GB, free: 15.92 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-06/0.008308, allocations: 4 kB / 0.7664 GB, free: 15.91 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.008309, allocations: 3.938 kB / 0.7664 GB, free: 15.91 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.008311, allocations: 4 kB / 0.7664 GB, free: 15.91 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.059e-05/0.008401, allocations: 97.02 kB / 0.7665 GB, free: 15.79 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.39e-05/0.008415, allocations: 15.89 kB / 0.7665 GB, free: 15.78 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.566e-05/0.008431, allocations: 8 kB / 0.7665 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.843e-05/0.008459, allocations: 3.938 kB / 0.7665 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.404e-05/0.008494, allocations: 18.41 kB / 0.7665 GB, free: 15.75 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.312e-06/0.0085, allocations: 4 kB / 0.7666 GB, free: 15.75 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001647/0.008665, allocations: 35.23 kB / 0.7666 GB, free: 15.71 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.008665, allocations: 0 / 0.7666 GB, free: 15.71 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001305/0.008795, allocations: 43.88 kB / 0.7666 GB, free: 15.67 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$whenCondition2,norTimDel.gre.greHys.y,norTimDel.or2.y,rho.booPul.y) * Number of discrete states: 1 (norTimDel.gre.greHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001056/0.008901, allocations: 93.52 kB / 0.7667 GB, free: 15.57 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001487/0.009049, allocations: 162.5 kB / 0.7669 GB, free: 15.39 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.009052, allocations: 1.094 kB / 0.7669 GB, free: 15.39 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 4.088e-05/0.009093, allocations: 36.94 kB / 0.7669 GB, free: 15.35 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001255/0.009219, allocations: 29.11 kB / 0.7669 GB, free: 15.32 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003132/0.009532, allocations: 270.2 kB / 0.7672 GB, free: 15.04 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.545e-05/0.009567, allocations: 72.12 kB / 0.7673 GB, free: 14.95 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 4.424e-05/0.009612, allocations: 18.27 kB / 0.7673 GB, free: 14.93 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.882e-05/0.00971, allocations: 83.34 kB / 0.7674 GB, free: 14.85 MB / 0.7292 GB Notification: Performance of SimCode: time 9.72e-07/0.009711, allocations: 0 / 0.7674 GB, free: 14.85 MB / 0.7292 GB Notification: Performance of Templates: time 0.004156/0.01387, allocations: 2.434 MB / 0.7697 GB, free: 12.6 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay.sim & ./Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_Relay_BaseClasses_Validation_NormalizedTimeDelay.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.159758375026286]