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.0009973/0.0009973, allocations: 81.95 kB / 20.68 MB, free: 3.816 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.0009872/0.0009872, allocations: 185.3 kB / 24.09 MB, free: 416 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.9415/0.9415, allocations: 177.1 MB / 204.5 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] 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 1.944/1.944, allocations: 377.9 MB / 0.624 GB, free: 8.41 MB / 0.5886 GB " [Timeout remaining time 177] 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.455e-06/2.455e-06, allocations: 0 / 0.812 GB, free: 1.453 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.637e-05/2.883e-05, allocations: 2.312 kB / 0.812 GB, free: 1.449 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay): time 0.001906/0.001935, allocations: 1.047 MB / 0.813 GB, free: 436 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001566/0.0035, allocations: 1.277 MB / 0.8143 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001875/0.003688, allocations: 4 kB / 0.8143 GB, free: 15.13 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001619/0.00385, allocations: 24.64 kB / 0.8143 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 7.678e-05/0.003926, allocations: 29.41 kB / 0.8143 GB, free: 15.08 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004744/0.004401, allocations: 175.5 kB / 0.8145 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002684/0.004669, allocations: 260 kB / 0.8148 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001588/0.004828, allocations: 70.41 kB / 0.8148 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001501/0.004978, allocations: 147.7 kB / 0.815 GB, free: 14.44 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001133/0.005091, allocations: 63.78 kB / 0.815 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.039e-05/0.005122, allocations: 28 kB / 0.8151 GB, free: 14.35 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 7.433e-05/0.005196, allocations: 37.36 kB / 0.8151 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 3.486e-05/0.005231, allocations: 39.89 kB / 0.8151 GB, free: 14.28 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 5.721e-05/0.005288, allocations: 71.83 kB / 0.8152 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002351/0.005523, allocations: 191.3 kB / 0.8154 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.005528, allocations: 1.594 kB / 0.8154 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of FrontEnd: time 5.02e-06/0.005533, allocations: 3.984 kB / 0.8154 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.679e-06/0.005538, allocations: 0 / 0.8154 GB, free: 14.02 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.0005565/0.006094, allocations: 0.5254 MB / 0.8159 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.006131, allocations: 12.03 kB / 0.8159 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.139e-05/0.006182, allocations: 37.67 kB / 0.8159 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000186/0.006368, allocations: 196.8 kB / 0.8161 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.913e-05/0.006387, allocations: 12.38 kB / 0.8161 GB, free: 13.17 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.155e-05/0.006409, allocations: 17.03 kB / 0.8162 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001422/0.006551, allocations: 142.6 kB / 0.8163 GB, free: 13 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.717e-06/0.00656, allocations: 192 / 0.8163 GB, free: 13 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.184e-05/0.006572, allocations: 9.75 kB / 0.8163 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.006578, allocations: 4.375 kB / 0.8163 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.101e-05/0.006629, allocations: 48.36 kB / 0.8164 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005034/0.007133, allocations: 477.5 kB / 0.8168 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001396/0.007272, allocations: 62.97 kB / 0.8169 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.264e-05/0.007305, allocations: 31.66 kB / 0.8169 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 8.606e-06/0.007314, allocations: 1.156 kB / 0.8169 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001116/0.007425, allocations: 110.7 kB / 0.817 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=11): time 1.593e-06/0.007427, allocations: 0.5 kB / 0.817 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of matching and sorting (n=11): time 0.0001879/0.007615, allocations: 113.9 kB / 0.8171 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.886e-05/0.007644, allocations: 51.97 kB / 0.8172 GB, free: 12.03 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001091/0.007753, allocations: 212.8 kB / 0.8174 GB, free: 11.81 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.964e-05/0.007772, allocations: 29.7 kB / 0.8174 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.75e-05/0.00785, allocations: 192.1 kB / 0.8176 GB, free: 11.58 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.014e-05/0.00787, allocations: 35.69 kB / 0.8176 GB, free: 11.55 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.254e-05/0.007932, allocations: 52.17 kB / 0.8177 GB, free: 11.49 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001171/0.00805, allocations: 0.4923 MB / 0.8181 GB, free: 10.98 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.642e-05/0.008106, allocations: 61.67 kB / 0.8182 GB, free: 10.92 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.663e-05/0.008173, allocations: 94.91 kB / 0.8183 GB, free: 10.81 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.219e-05/0.008255, allocations: 108.7 kB / 0.8184 GB, free: 10.68 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.008257, allocations: 0 / 0.8184 GB, free: 10.68 MB / 0.7761 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001966/0.008453, allocations: 209.4 kB / 0.8186 GB, free: 10.46 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 3.196e-05/0.008485, allocations: 38.42 kB / 0.8186 GB, free: 10.42 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.00849, allocations: 0 / 0.8186 GB, free: 10.42 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.008501, allocations: 0.5 kB / 0.8186 GB, free: 10.42 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.865e-05/0.00855, allocations: 20.73 kB / 0.8187 GB, free: 10.4 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.816e-06/0.008553, allocations: 0 / 0.8187 GB, free: 10.4 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.232e-05/0.008645, allocations: 28.88 kB / 0.8187 GB, free: 10.37 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.418e-05/0.008659, allocations: 11.98 kB / 0.8187 GB, free: 10.36 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 8.649e-05/0.008746, allocations: 164.5 kB / 0.8189 GB, free: 10.19 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.705e-05/0.008763, allocations: 19.84 kB / 0.8189 GB, free: 10.17 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.862e-05/0.008791, allocations: 17.75 kB / 0.8189 GB, free: 10.16 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.008793, allocations: 0 / 0.8189 GB, free: 10.16 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.008796, allocations: 6.25 kB / 0.8189 GB, free: 10.15 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.0088, allocations: 3.984 kB / 0.8189 GB, free: 10.15 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001081/0.008908, allocations: 149.1 kB / 0.819 GB, free: 9.977 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.00891, allocations: 0 / 0.819 GB, free: 9.977 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.063e-05/0.00894, allocations: 15.98 kB / 0.8191 GB, free: 9.961 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.008942, allocations: 0 / 0.8191 GB, free: 9.961 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.476e-06/0.008951, allocations: 11.94 kB / 0.8191 GB, free: 9.949 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.008952, allocations: 3.344 kB / 0.8191 GB, free: 9.949 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.008952, allocations: 0 / 0.8191 GB, free: 9.949 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001162/0.009069, allocations: 124.3 kB / 0.8192 GB, free: 9.805 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.349e-05/0.009082, allocations: 7.953 kB / 0.8192 GB, free: 9.797 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.71e-05/0.009099, allocations: 7.938 kB / 0.8192 GB, free: 9.789 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.227e-05/0.009132, allocations: 7.984 kB / 0.8192 GB, free: 9.781 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.816e-05/0.00917, allocations: 15.86 kB / 0.8192 GB, free: 9.766 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.075e-06/0.009178, allocations: 8 kB / 0.8192 GB, free: 9.758 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.241e-05/0.00923, allocations: 148.1 kB / 0.8194 GB, free: 9.613 MB / 0.7761 GB Notification: Performance of sort global known variables: time 4e-08/0.00923, allocations: 0 / 0.8194 GB, free: 9.613 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001592/0.009389, allocations: 43.88 kB / 0.8194 GB, free: 9.57 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.0001217/0.009511, allocations: 104.4 kB / 0.8195 GB, free: 9.461 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001683/0.009679, allocations: 177.8 kB / 0.8197 GB, free: 9.266 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.572e-06/0.009681, allocations: 0 / 0.8197 GB, free: 9.266 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.555e-05/0.009717, allocations: 36.58 kB / 0.8197 GB, free: 9.227 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001736/0.00989, allocations: 22.2 kB / 0.8197 GB, free: 9.207 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003413/0.01023, allocations: 282.8 kB / 0.82 GB, free: 8.902 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.658e-05/0.01027, allocations: 71.83 kB / 0.8201 GB, free: 8.812 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.79e-05/0.01032, allocations: 15.3 kB / 0.8201 GB, free: 8.797 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001297/0.01045, allocations: 118.1 kB / 0.8202 GB, free: 8.68 MB / 0.7761 GB Notification: Performance of SimCode: time 4.81e-07/0.01045, allocations: 0.6562 kB / 0.8202 GB, free: 8.68 MB / 0.7761 GB Notification: Performance of Templates: time 0.004255/0.0147, allocations: 2.453 MB / 0.8226 GB, free: 6.348 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=240 -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.219012420158833]