Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.HalfPeriodRatio.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.0009488/0.0009488, allocations: 80.81 kB / 21.54 MB, free: 2.949 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.0009202/0.0009202, allocations: 166.2 kB / 24.96 MB, free: 8.234 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.9357/0.9357, allocations: 177.1 MB / 205.4 MB, free: 5.461 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.912/1.912, allocations: 389.6 MB / 0.6362 GB, free: 12.26 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.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.HalfPeriodRatio,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.HalfPeriodRatio") translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.HalfPeriodRatio,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.HalfPeriodRatio") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.454e-06/2.454e-06, allocations: 0 / 0.776 GB, free: 5.336 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.972e-05/2.217e-05, allocations: 3.219 kB / 0.776 GB, free: 5.332 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.HalfPeriodRatio): time 0.00183/0.001852, allocations: 1.173 MB / 0.7771 GB, free: 4.188 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001728/0.00358, allocations: 1.473 MB / 0.7786 GB, free: 2.707 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001059/0.003686, allocations: 3.938 kB / 0.7786 GB, free: 2.703 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 5.093e-05/0.003737, allocations: 20.61 kB / 0.7786 GB, free: 2.684 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001554/0.003892, allocations: 53.89 kB / 0.7786 GB, free: 2.637 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006999/0.004592, allocations: 375.1 kB / 0.779 GB, free: 2.27 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0004162/0.005008, allocations: 474.8 kB / 0.7794 GB, free: 1.809 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001525/0.005161, allocations: 74.28 kB / 0.7795 GB, free: 1.738 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002532/0.005414, allocations: 255.5 kB / 0.7798 GB, free: 1.488 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001763/0.00559, allocations: 123.7 kB / 0.7799 GB, free: 1.367 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 5.292e-05/0.005643, allocations: 48 kB / 0.7799 GB, free: 1.32 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001061/0.005749, allocations: 59.98 kB / 0.78 GB, free: 1.262 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 4.045e-05/0.00579, allocations: 55.7 kB / 0.78 GB, free: 1.207 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 9.929e-05/0.005889, allocations: 135.7 kB / 0.7802 GB, free: 1.074 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0003041/0.006193, allocations: 326.4 kB / 0.7805 GB, free: 0.7578 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.035e-06/0.006196, allocations: 0 / 0.7805 GB, free: 0.7578 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.132e-06/0.006197, allocations: 0 / 0.7805 GB, free: 0.7578 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.44e-06/0.006203, allocations: 0 / 0.7805 GB, free: 0.7578 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 35 * Number of variables: 35 Notification: Performance of Generate backend data structure: time 0.000565/0.006768, allocations: 0.5241 MB / 0.781 GB, free: 192 kB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.447e-05/0.006802, allocations: 9.344 kB / 0.781 GB, free: 184 kB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.012e-05/0.006862, allocations: 40.89 kB / 0.781 GB, free: 144 kB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002165/0.007079, allocations: 167.3 kB / 0.7812 GB, free: 15.95 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.659e-05/0.007105, allocations: 24.36 kB / 0.7812 GB, free: 15.93 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.973e-05/0.007135, allocations: 28 kB / 0.7812 GB, free: 15.9 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001336/0.007269, allocations: 112.4 kB / 0.7813 GB, free: 15.78 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.315e-06/0.007277, allocations: 192 / 0.7813 GB, free: 15.78 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.007288, allocations: 12.36 kB / 0.7814 GB, free: 15.77 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.812e-06/0.007295, allocations: 2.625 kB / 0.7814 GB, free: 15.77 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.716e-05/0.007342, allocations: 36.44 kB / 0.7814 GB, free: 15.73 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005059/0.007848, allocations: 375.5 kB / 0.7818 GB, free: 15.35 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001084/0.007957, allocations: 70.48 kB / 0.7818 GB, free: 15.27 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.916e-05/0.007986, allocations: 25.41 kB / 0.7818 GB, free: 15.25 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.256e-05/0.008008, allocations: 11.81 kB / 0.7819 GB, free: 15.24 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001371/0.008146, allocations: 121.9 kB / 0.782 GB, free: 15.11 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=20): time 1.463e-06/0.008147, allocations: 0 / 0.782 GB, free: 15.11 MB / 0.7448 GB Notification: Performance of matching and sorting (n=20): time 0.0002163/0.008363, allocations: 133.6 kB / 0.7821 GB, free: 14.97 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.197e-05/0.008405, allocations: 63.34 kB / 0.7822 GB, free: 14.9 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001319/0.008537, allocations: 198.3 kB / 0.7824 GB, free: 14.69 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.16e-05/0.008569, allocations: 37.7 kB / 0.7824 GB, free: 14.65 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.616e-05/0.008635, allocations: 132.5 kB / 0.7825 GB, free: 14.51 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.777e-05/0.008673, allocations: 59.5 kB / 0.7826 GB, free: 14.45 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.752e-05/0.00876, allocations: 84.34 kB / 0.7827 GB, free: 14.37 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.527e-05/0.008845, allocations: 334.8 kB / 0.783 GB, free: 14.03 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001212/0.008967, allocations: 161 kB / 0.7831 GB, free: 13.86 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001346/0.009101, allocations: 222.5 kB / 0.7833 GB, free: 13.59 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001872/0.009288, allocations: 280.4 kB / 0.7836 GB, free: 13.26 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.009291, allocations: 0 / 0.7836 GB, free: 13.26 MB / 0.7448 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0003196/0.009611, allocations: 433 kB / 0.784 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 5.405e-05/0.009665, allocations: 101.6 kB / 0.7841 GB, free: 12.68 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.009672, allocations: 4.875 kB / 0.7841 GB, free: 12.68 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.009686, allocations: 4 kB / 0.7841 GB, free: 12.67 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.529e-05/0.009772, allocations: 31.92 kB / 0.7842 GB, free: 12.64 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.139e-06/0.009777, allocations: 5.594 kB / 0.7842 GB, free: 12.64 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001721/0.009949, allocations: 68.33 kB / 0.7842 GB, free: 12.57 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.509e-05/0.009974, allocations: 16.67 kB / 0.7842 GB, free: 12.55 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition6,$whenCondition7,$whenCondition4,$whenCondition5,$whenCondition2,$whenCondition3,halPerRat.tOffSam.y,$PRE.halPerRat.tOffSam.y,halPerRat.tOnSam.y,$PRE.halPerRat.tOnSam.y,tOnSig2.booPul.y,$PRE.tOnSig2.booPul.y,tOnSig1.booPul.y,$PRE.tOnSig1.booPul.y,tOff.booPul.y,$PRE.tOff.booPul.y,samTri.y,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 3 * 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 9.263e-05/0.01007, allocations: 140.9 kB / 0.7844 GB, free: 12.41 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.728e-05/0.01008, allocations: 19.98 kB / 0.7844 GB, free: 12.39 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001421/0.01023, allocations: 121.5 kB / 0.7845 GB, free: 12.27 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.01023, allocations: 0 / 0.7845 GB, free: 12.27 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.874e-06/0.01023, allocations: 0.9375 kB / 0.7845 GB, free: 12.27 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.01023, allocations: 0 / 0.7845 GB, free: 12.27 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002735/0.01051, allocations: 323.8 kB / 0.7848 GB, free: 11.93 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.01051, allocations: 0 / 0.7848 GB, free: 11.93 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.98e-05/0.01055, allocations: 15.98 kB / 0.7848 GB, free: 11.91 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.01055, allocations: 0 / 0.7848 GB, free: 11.91 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.133e-06/0.01056, allocations: 4.875 kB / 0.7848 GB, free: 11.91 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.01056, allocations: 4 kB / 0.7848 GB, free: 11.91 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.01057, allocations: 4.812 kB / 0.7848 GB, free: 11.9 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001264/0.01069, allocations: 213.5 kB / 0.785 GB, free: 11.68 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.723e-05/0.01071, allocations: 20.41 kB / 0.7851 GB, free: 11.66 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.443e-05/0.01072, allocations: 3.984 kB / 0.7851 GB, free: 11.66 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.871e-05/0.01076, allocations: 9.5 kB / 0.7851 GB, free: 11.65 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.22e-05/0.01079, allocations: 15.97 kB / 0.7851 GB, free: 11.63 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.214e-06/0.0108, allocations: 4 kB / 0.7851 GB, free: 11.63 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.276e-05/0.01084, allocations: 64.36 kB / 0.7852 GB, free: 11.56 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.01084, allocations: 1.219 kB / 0.7852 GB, free: 11.56 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001922/0.01104, allocations: 71.88 kB / 0.7852 GB, free: 11.49 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 13 (samTri.y,$whenCondition6,$whenCondition7,$whenCondition4,$whenCondition5,$whenCondition2,$whenCondition3,$whenCondition1,halPerRat.tOnSam.y,halPerRat.tOffSam.y,tOnSig1.booPul.y,tOnSig2.booPul.y,tOff.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0001469/0.01118, allocations: 103.9 kB / 0.7853 GB, free: 11.39 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003308/0.01151, allocations: 431 kB / 0.7857 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.01152, allocations: 0 / 0.7857 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.132e-05/0.01157, allocations: 59.59 kB / 0.7858 GB, free: 10.85 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002412/0.01181, allocations: 54.97 kB / 0.7859 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003974/0.01221, allocations: 342 kB / 0.7862 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.291e-05/0.01225, allocations: 80.27 kB / 0.7863 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.991e-05/0.0123, allocations: 23.67 kB / 0.7863 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001636/0.01247, allocations: 115.3 kB / 0.7864 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of SimCode: time 6.82e-07/0.01247, allocations: 1.75 kB / 0.7864 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of Templates: time 0.006143/0.01861, allocations: 4.764 MB / 0.791 GB, free: 5.73 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.HalfPeriodRatio.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.HalfPeriodRatio.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.HalfPeriodRatio.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.HalfPeriodRatio.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.HalfPeriodRatio.sim & ./Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.HalfPeriodRatio -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.HalfPeriodRatio.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.050907191820443]