Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0015/0.0015, allocations: 84.73 kB / 19.44 MB, free: 356 kB / 13.93 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.001744/0.001744, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.495/1.495, allocations: 177.1 MB / 203.1 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] 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 3.37/3.37, allocations: 429.6 MB / 0.673 GB, free: 3.879 MB / 0.6355 GB " [Timeout remaining time 176] 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.Relay.BaseClasses.Validation.NormalizedTimeDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|rho.y|norTimDel.tau",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.856e-06/2.856e-06, allocations: 0 / 0.8776 GB, free: 6.48 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.76e-05/4.046e-05, allocations: 6.25 kB / 0.8776 GB, free: 6.473 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay): time 0.00357/0.00361, allocations: 1.064 MB / 0.8787 GB, free: 5.438 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.00283/0.00644, allocations: 1.28 MB / 0.8799 GB, free: 4.145 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001772/0.006618, allocations: 4.75 kB / 0.8799 GB, free: 4.141 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001912/0.006809, allocations: 23.67 kB / 0.8799 GB, free: 4.117 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001418/0.006951, allocations: 41.56 kB / 0.88 GB, free: 4.078 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007975/0.007748, allocations: 195.5 kB / 0.8802 GB, free: 3.887 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0005679/0.008316, allocations: 305 kB / 0.8804 GB, free: 3.586 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002542/0.00857, allocations: 75.66 kB / 0.8805 GB, free: 3.512 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003603/0.008931, allocations: 167.7 kB / 0.8807 GB, free: 3.348 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002301/0.009161, allocations: 84.41 kB / 0.8808 GB, free: 3.266 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 8.162e-05/0.009242, allocations: 32 kB / 0.8808 GB, free: 3.234 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001322/0.009374, allocations: 48.64 kB / 0.8808 GB, free: 3.188 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 8.647e-05/0.009461, allocations: 59.47 kB / 0.8809 GB, free: 3.133 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001855/0.009646, allocations: 87.81 kB / 0.881 GB, free: 3.047 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0007431/0.01039, allocations: 406.7 kB / 0.8814 GB, free: 2.648 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.01039, allocations: 0 / 0.8814 GB, free: 2.648 MB / 0.8386 GB Notification: Performance of FrontEnd: time 8.52e-07/0.01039, allocations: 0 / 0.8814 GB, free: 2.648 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.945e-06/0.0104, allocations: 0 / 0.8814 GB, free: 2.648 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.00126/0.01166, allocations: 475.3 kB / 0.8818 GB, free: 2.141 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.322e-05/0.0117, allocations: 8.031 kB / 0.8818 GB, free: 2.133 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001554/0.01186, allocations: 36.84 kB / 0.8819 GB, free: 2.098 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006079/0.01247, allocations: 217.2 kB / 0.8821 GB, free: 1.859 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.069e-05/0.01252, allocations: 16.69 kB / 0.8821 GB, free: 1.844 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.062e-05/0.01259, allocations: 24.38 kB / 0.8821 GB, free: 1.82 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005062/0.0131, allocations: 195.5 kB / 0.8823 GB, free: 1.621 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.01311, allocations: 192 / 0.8823 GB, free: 1.621 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.371e-05/0.01314, allocations: 12.31 kB / 0.8823 GB, free: 1.609 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.023e-05/0.01315, allocations: 5.438 kB / 0.8823 GB, free: 1.605 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003496/0.0135, allocations: 112.2 kB / 0.8824 GB, free: 1.496 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001431/0.01493, allocations: 0.4905 MB / 0.8829 GB, free: 0.9766 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000407/0.01534, allocations: 126.6 kB / 0.883 GB, free: 0.8438 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001801/0.01552, allocations: 56.88 kB / 0.8831 GB, free: 0.7852 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.343e-05/0.01553, allocations: 0.875 kB / 0.8831 GB, free: 0.7852 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004064/0.01594, allocations: 171.8 kB / 0.8832 GB, free: 0.6016 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=17): time 1.924e-06/0.01594, allocations: 0 / 0.8832 GB, free: 0.6016 MB / 0.8386 GB Notification: Performance of matching and sorting (n=17): time 0.0008006/0.01674, allocations: 243.1 kB / 0.8835 GB, free: 368 kB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.474e-05/0.01682, allocations: 59.34 kB / 0.8835 GB, free: 296 kB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002901/0.01711, allocations: 176.5 kB / 0.8837 GB, free: 112 kB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 5.659e-05/0.01716, allocations: 33.7 kB / 0.8837 GB, free: 72 kB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002112/0.01737, allocations: 145 kB / 0.8839 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 6.987e-05/0.01744, allocations: 43.62 kB / 0.8839 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001663/0.01761, allocations: 55.55 kB / 0.884 GB, free: 15.82 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002563/0.01787, allocations: 334.8 kB / 0.8843 GB, free: 15.49 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002791/0.01815, allocations: 101.7 kB / 0.8844 GB, free: 15.38 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003197/0.01847, allocations: 147.9 kB / 0.8845 GB, free: 15.21 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003104/0.01878, allocations: 174.7 kB / 0.8847 GB, free: 15.02 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.01878, allocations: 1.594 kB / 0.8847 GB, free: 15.02 MB / 0.8542 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.001007/0.01979, allocations: 319.2 kB / 0.885 GB, free: 14.7 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 5.947e-05/0.01984, allocations: 39.88 kB / 0.885 GB, free: 14.65 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/0.01985, allocations: 4 kB / 0.885 GB, free: 14.65 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.138e-05/0.01988, allocations: 0 / 0.885 GB, free: 14.65 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001167/0.01999, allocations: 23.92 kB / 0.885 GB, free: 14.62 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.261e-05/0.02001, allocations: 7.984 kB / 0.8851 GB, free: 14.62 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002755/0.02028, allocations: 41.8 kB / 0.8851 GB, free: 14.58 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.891e-05/0.02032, allocations: 15.98 kB / 0.8851 GB, free: 14.56 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.norTimDel.tunEndDel.u,$whenCondition4,$whenCondition5,$PRE.norTimDel.tunEndDel.t_next,$whenCondition1,norTimDel.tunEndDel.t_next,rho.booPul.y,$PRE.rho.booPul.y,norTimDel.tunEndDel.y,norTimDel.tunEndDel.u,norTimDel.or2.y,norTimDel.gre.greHys.y,$PRE.norTimDel.gre.greHys.y,$whenCondition3,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 22 * 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.0001699/0.02049, allocations: 137.9 kB / 0.8852 GB, free: 14.42 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.196e-05/0.02054, allocations: 35.84 kB / 0.8853 GB, free: 14.38 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.962e-05/0.02059, allocations: 17.8 kB / 0.8853 GB, free: 14.37 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.0206, allocations: 4 kB / 0.8853 GB, free: 14.36 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.0206, allocations: 0 / 0.8853 GB, free: 14.36 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.02061, allocations: 4 kB / 0.8853 GB, free: 14.36 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007895/0.0214, allocations: 482 kB / 0.8858 GB, free: 13.85 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.0214, allocations: 0 / 0.8858 GB, free: 13.85 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.164e-05/0.02149, allocations: 15.92 kB / 0.8858 GB, free: 13.84 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.915e-06/0.0215, allocations: 4 kB / 0.8858 GB, free: 13.83 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.733e-05/0.02152, allocations: 4 kB / 0.8858 GB, free: 13.83 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.187e-06/0.02152, allocations: 8.031 kB / 0.8858 GB, free: 13.82 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.02152, allocations: 0 / 0.8858 GB, free: 13.82 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004441/0.02197, allocations: 300.1 kB / 0.8861 GB, free: 13.51 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 7.045e-05/0.02204, allocations: 27.83 kB / 0.8861 GB, free: 13.48 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.284e-05/0.02207, allocations: 8 kB / 0.8861 GB, free: 13.47 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001436/0.02221, allocations: 11.92 kB / 0.8861 GB, free: 13.46 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.921e-05/0.02228, allocations: 19.97 kB / 0.8861 GB, free: 13.44 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.379e-05/0.02231, allocations: 19.92 kB / 0.8862 GB, free: 13.42 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001369/0.02244, allocations: 128.2 kB / 0.8863 GB, free: 13.3 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.02244, allocations: 0 / 0.8863 GB, free: 13.3 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003405/0.02278, allocations: 59.89 kB / 0.8863 GB, free: 13.24 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition4,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,norTimDel.gre.greHys.y,norTimDel.or2.y,norTimDel.tunEndDel.y,norTimDel.tunEndDel.t_next,rho.booPul.y,norTimDel.tunEndDel.u) * Number of discrete states: 2 (norTimDel.tunEndDel.t_next,norTimDel.gre.greHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0002019/0.02299, allocations: 111.9 kB / 0.8864 GB, free: 13.12 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0004955/0.02348, allocations: 260.8 kB / 0.8867 GB, free: 12.85 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.02348, allocations: 0 / 0.8867 GB, free: 12.85 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001389/0.02362, allocations: 59.92 kB / 0.8868 GB, free: 12.79 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003933/0.02402, allocations: 40.5 kB / 0.8868 GB, free: 12.75 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007651/0.02478, allocations: 344.2 kB / 0.8871 GB, free: 12.38 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001417/0.02492, allocations: 120.9 kB / 0.8872 GB, free: 12.24 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 7.305e-05/0.025, allocations: 21.48 kB / 0.8873 GB, free: 12.22 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.126e-05/0.02507, allocations: 20.5 kB / 0.8873 GB, free: 12.2 MB / 0.8542 GB Notification: Performance of SimCode: time 3.51e-07/0.02507, allocations: 0 / 0.8873 GB, free: 12.2 MB / 0.8542 GB Notification: Performance of Templates: time 0.007177/0.03225, allocations: 2.692 MB / 0.8899 GB, free: 9.617 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay.sim & ./Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_Relay_BaseClasses_Validation_NormalizedTimeDelay.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 8.42937517608516]