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.001438/0.001438, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.001651/0.001651, allocations: 161.7 kB / 23.55 MB, free: 0.8906 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 1.559/1.559, allocations: 177.1 MB / 203.9 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.852/2.852, allocations: 377.8 MB / 0.6232 GB, free: 8.527 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.445e-06/2.445e-06, allocations: 0 / 0.8108 GB, free: 2.082 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.632e-05/2.877e-05, allocations: 4.422 kB / 0.8108 GB, free: 2.078 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay): time 0.002467/0.002495, allocations: 1.023 MB / 0.8118 GB, free: 1.074 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.002206/0.004702, allocations: 1.249 MB / 0.813 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001432/0.004845, allocations: 4 kB / 0.813 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001585/0.005004, allocations: 20.7 kB / 0.8131 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001035/0.005107, allocations: 35.66 kB / 0.8131 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005878/0.005695, allocations: 189.2 kB / 0.8133 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0003995/0.006094, allocations: 252.1 kB / 0.8135 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001881/0.006282, allocations: 68.88 kB / 0.8136 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002171/0.0065, allocations: 141.2 kB / 0.8137 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001501/0.00665, allocations: 71.77 kB / 0.8138 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 4.995e-05/0.0067, allocations: 28 kB / 0.8138 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 9.394e-05/0.006794, allocations: 39.98 kB / 0.8138 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 5.994e-05/0.006853, allocations: 49.2 kB / 0.8139 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001086/0.006962, allocations: 67.83 kB / 0.814 GB, free: 14.87 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0004823/0.007444, allocations: 347 kB / 0.8143 GB, free: 14.53 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 5.421e-06/0.00745, allocations: 7.938 kB / 0.8143 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of FrontEnd: time 7.21e-07/0.007451, allocations: 1.75 kB / 0.8143 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.589e-06/0.007455, allocations: 0 / 0.8143 GB, free: 14.52 MB / 0.7761 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.0008295/0.008285, allocations: 431.2 kB / 0.8147 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.008322, allocations: 9.188 kB / 0.8147 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001116/0.008433, allocations: 36.8 kB / 0.8148 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003975/0.008831, allocations: 198.4 kB / 0.8149 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.819e-05/0.008859, allocations: 16.38 kB / 0.815 GB, free: 13.78 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.132e-05/0.0089, allocations: 20.38 kB / 0.815 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003143/0.009215, allocations: 170.1 kB / 0.8151 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.009225, allocations: 192 / 0.8151 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.912e-05/0.009245, allocations: 6.562 kB / 0.8151 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.072e-05/0.009255, allocations: 4.375 kB / 0.8152 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002035/0.009459, allocations: 91.89 kB / 0.8152 GB, free: 13.49 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009291/0.01039, allocations: 464.3 kB / 0.8157 GB, free: 13 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002877/0.01068, allocations: 91.2 kB / 0.8158 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.766e-05/0.01076, allocations: 40.83 kB / 0.8158 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.06e-05/0.01077, allocations: 0.5 kB / 0.8158 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002093/0.01098, allocations: 114.7 kB / 0.8159 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=11): time 1.212e-06/0.01098, allocations: 0 / 0.8159 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of matching and sorting (n=11): time 0.000389/0.01137, allocations: 145.6 kB / 0.8161 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.561e-05/0.01143, allocations: 59.39 kB / 0.8161 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001891/0.01162, allocations: 158.9 kB / 0.8163 GB, free: 12.35 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.896e-05/0.01166, allocations: 29.7 kB / 0.8163 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001303/0.01179, allocations: 137.2 kB / 0.8164 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.559e-05/0.01182, allocations: 27.75 kB / 0.8165 GB, free: 12.15 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001049/0.01193, allocations: 50.14 kB / 0.8165 GB, free: 12.1 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001826/0.01211, allocations: 326.8 kB / 0.8168 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001726/0.01228, allocations: 86.33 kB / 0.8169 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001804/0.01246, allocations: 113.9 kB / 0.817 GB, free: 11.55 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002116/0.01268, allocations: 125.1 kB / 0.8171 GB, free: 11.42 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.01268, allocations: 0 / 0.8171 GB, free: 11.42 MB / 0.7761 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004796/0.01316, allocations: 268.2 kB / 0.8174 GB, free: 11.14 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 4.691e-05/0.0132, allocations: 42.91 kB / 0.8174 GB, free: 11.09 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.01321, allocations: 0 / 0.8174 GB, free: 11.09 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.999e-05/0.01324, allocations: 4 kB / 0.8174 GB, free: 11.09 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.947e-05/0.01332, allocations: 12.91 kB / 0.8174 GB, free: 11.08 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.01332, allocations: 7.938 kB / 0.8174 GB, free: 11.07 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002398/0.01356, allocations: 42.16 kB / 0.8175 GB, free: 11.03 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.08e-05/0.01359, allocations: 8 kB / 0.8175 GB, free: 11.02 MB / 0.7761 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 0.0001471/0.01374, allocations: 129.8 kB / 0.8176 GB, free: 10.89 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.371e-05/0.01378, allocations: 23.22 kB / 0.8176 GB, free: 10.87 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.638e-05/0.01382, allocations: 16.78 kB / 0.8177 GB, free: 10.85 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/0.01383, allocations: 7.984 kB / 0.8177 GB, free: 10.84 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.01383, allocations: 4 kB / 0.8177 GB, free: 10.84 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.01384, allocations: 0 / 0.8177 GB, free: 10.84 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002002/0.01404, allocations: 165.2 kB / 0.8178 GB, free: 10.65 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.01404, allocations: 0 / 0.8178 GB, free: 10.65 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.253e-05/0.0141, allocations: 15.88 kB / 0.8178 GB, free: 10.63 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.293e-06/0.01411, allocations: 4 kB / 0.8178 GB, free: 10.63 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.34e-05/0.01412, allocations: 4.984 kB / 0.8178 GB, free: 10.62 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.01412, allocations: 0 / 0.8178 GB, free: 10.62 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.01412, allocations: 0 / 0.8178 GB, free: 10.62 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002494/0.01437, allocations: 146 kB / 0.818 GB, free: 10.46 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.965e-05/0.0144, allocations: 20.34 kB / 0.818 GB, free: 10.45 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.491e-05/0.01443, allocations: 4 kB / 0.818 GB, free: 10.44 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.771e-05/0.0145, allocations: 8.547 kB / 0.818 GB, free: 10.43 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.091e-05/0.01457, allocations: 17.61 kB / 0.818 GB, free: 10.42 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.296e-05/0.01458, allocations: 3.984 kB / 0.818 GB, free: 10.41 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001161/0.01469, allocations: 121.7 kB / 0.8181 GB, free: 10.3 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.01469, allocations: 0 / 0.8181 GB, free: 10.3 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002558/0.01495, allocations: 44.89 kB / 0.8182 GB, free: 10.25 MB / 0.7761 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.0001899/0.01514, allocations: 108.3 kB / 0.8183 GB, free: 10.14 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0003635/0.0155, allocations: 201 kB / 0.8185 GB, free: 9.926 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.01551, allocations: 0.6562 kB / 0.8185 GB, free: 9.926 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 8.207e-05/0.01559, allocations: 36 kB / 0.8185 GB, free: 9.891 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002895/0.01588, allocations: 29.55 kB / 0.8186 GB, free: 9.863 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006051/0.01648, allocations: 290 kB / 0.8188 GB, free: 9.555 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001252/0.01661, allocations: 110.2 kB / 0.8189 GB, free: 9.426 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 6.755e-05/0.01668, allocations: 15.2 kB / 0.8189 GB, free: 9.414 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.786e-05/0.01672, allocations: 12.5 kB / 0.819 GB, free: 9.402 MB / 0.7761 GB Notification: Performance of SimCode: time 4.1e-07/0.01672, allocations: 4.594 kB / 0.819 GB, free: 9.398 MB / 0.7761 GB Notification: Performance of Templates: time 0.006324/0.02305, allocations: 2.283 MB / 0.8212 GB, free: 7.23 MB / 0.7761 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.9291232120012864]