Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001075/0.001075, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.002025/0.002025, allocations: 161.4 kB / 23.82 MB, free: 0.7539 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.007/1.007, allocations: 177.1 MB / 204.2 MB, free: 5.637 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.956/1.956, allocations: 377.8 MB / 0.6236 GB, free: 8.574 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.HalfPeriodRatio,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|tOn.y|tOff.y|halPerRat.rho",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.HalfPeriodRatio") translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.HalfPeriodRatio,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|tOn.y|tOff.y|halPerRat.rho",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.HalfPeriodRatio") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.524e-06/2.524e-06, allocations: 0 / 0.8115 GB, free: 1.746 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.654e-05/2.906e-05, allocations: 2.312 kB / 0.8115 GB, free: 1.742 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.HalfPeriodRatio): time 0.001882/0.001911, allocations: 1.155 MB / 0.8127 GB, free: 0.6094 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001591/0.003502, allocations: 1.456 MB / 0.8141 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.552e-05/0.003598, allocations: 5.531 kB / 0.8141 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 4.991e-05/0.003648, allocations: 19.69 kB / 0.8141 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001415/0.003789, allocations: 65.09 kB / 0.8142 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006784/0.004467, allocations: 367.2 kB / 0.8145 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0004084/0.004876, allocations: 463.1 kB / 0.815 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001642/0.00504, allocations: 76.69 kB / 0.815 GB, free: 14.17 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002573/0.005297, allocations: 251.6 kB / 0.8153 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001758/0.005473, allocations: 132.4 kB / 0.8154 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 5.311e-05/0.005526, allocations: 44 kB / 0.8155 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 9.447e-05/0.005621, allocations: 63.98 kB / 0.8155 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 4.255e-05/0.005663, allocations: 52.31 kB / 0.8156 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.000113/0.005776, allocations: 132.3 kB / 0.8157 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003135/0.00609, allocations: 323.8 kB / 0.816 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.006093, allocations: 0 / 0.816 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.202e-06/0.006094, allocations: 4 kB / 0.816 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 6.122e-06/0.0061, allocations: 1.156 kB / 0.816 GB, free: 13.19 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: 35 * Number of variables: 35 Notification: Performance of Generate backend data structure: time 0.0006695/0.00677, allocations: 0.645 MB / 0.8166 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/0.006808, allocations: 13.41 kB / 0.8166 GB, free: 12.47 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.24e-05/0.006901, allocations: 44.78 kB / 0.8167 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002679/0.007169, allocations: 224.2 kB / 0.8169 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.332e-05/0.007202, allocations: 20.38 kB / 0.8169 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.868e-05/0.007241, allocations: 30.12 kB / 0.8169 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001866/0.007427, allocations: 128.2 kB / 0.8171 GB, free: 12 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/0.00744, allocations: 192 / 0.8171 GB, free: 12 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.455e-05/0.007455, allocations: 4.375 kB / 0.8171 GB, free: 12 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.417e-05/0.007469, allocations: 8.125 kB / 0.8171 GB, free: 11.99 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.828e-05/0.007557, allocations: 49.09 kB / 0.8171 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007967/0.008354, allocations: 0.5975 MB / 0.8177 GB, free: 11.31 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001526/0.008506, allocations: 87.55 kB / 0.8178 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.923e-05/0.008556, allocations: 37.33 kB / 0.8178 GB, free: 11.18 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.396e-05/0.00858, allocations: 8 kB / 0.8178 GB, free: 11.17 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001551/0.008735, allocations: 135.2 kB / 0.818 GB, free: 11.02 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=20): time 1.493e-06/0.008736, allocations: 2.594 kB / 0.818 GB, free: 11.02 MB / 0.7761 GB Notification: Performance of matching and sorting (n=20): time 0.0003277/0.009064, allocations: 213.4 kB / 0.8182 GB, free: 10.81 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.345e-05/0.009097, allocations: 55.41 kB / 0.8182 GB, free: 10.74 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001548/0.009252, allocations: 254.8 kB / 0.8185 GB, free: 10.48 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.35e-05/0.009286, allocations: 41.7 kB / 0.8185 GB, free: 10.43 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 8.605e-05/0.009372, allocations: 183.3 kB / 0.8187 GB, free: 10.25 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.678e-05/0.009409, allocations: 60.03 kB / 0.8187 GB, free: 10.19 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001053/0.009514, allocations: 91.31 kB / 0.8188 GB, free: 10.09 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001232/0.009637, allocations: 0.5008 MB / 0.8193 GB, free: 9.578 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001827/0.00982, allocations: 181 kB / 0.8195 GB, free: 9.383 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002341/0.01005, allocations: 290.1 kB / 0.8198 GB, free: 9.035 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002951/0.01035, allocations: 312.7 kB / 0.8201 GB, free: 8.668 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.01035, allocations: 0 / 0.8201 GB, free: 8.668 MB / 0.7761 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006418/0.01099, allocations: 0.5517 MB / 0.8206 GB, free: 8.074 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 7.703e-05/0.01107, allocations: 107.3 kB / 0.8207 GB, free: 7.953 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.01108, allocations: 0 / 0.8207 GB, free: 7.953 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.756e-05/0.01111, allocations: 4 kB / 0.8207 GB, free: 7.949 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001275/0.01123, allocations: 31.92 kB / 0.8207 GB, free: 7.918 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.237e-05/0.01125, allocations: 7.938 kB / 0.8207 GB, free: 7.91 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000232/0.01148, allocations: 70.56 kB / 0.8208 GB, free: 7.844 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.669e-05/0.01152, allocations: 23.98 kB / 0.8208 GB, free: 7.82 MB / 0.7761 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 0.0001401/0.01166, allocations: 176.9 kB / 0.821 GB, free: 7.637 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.431e-05/0.01169, allocations: 33.25 kB / 0.821 GB, free: 7.605 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002919/0.01198, allocations: 177.6 kB / 0.8212 GB, free: 7.434 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.912e-06/0.01199, allocations: 4 kB / 0.8212 GB, free: 7.43 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.01199, allocations: 0 / 0.8212 GB, free: 7.43 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.012, allocations: 0.5 kB / 0.8212 GB, free: 7.43 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005148/0.01251, allocations: 498.2 kB / 0.8217 GB, free: 6.902 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-06/0.01252, allocations: 4 kB / 0.8217 GB, free: 6.898 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.409e-05/0.01257, allocations: 15.98 kB / 0.8217 GB, free: 6.883 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.01257, allocations: 4.719 kB / 0.8217 GB, free: 6.879 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.139e-05/0.01258, allocations: 0 / 0.8217 GB, free: 6.879 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.01259, allocations: 1.875 kB / 0.8217 GB, free: 6.879 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.01259, allocations: 0 / 0.8217 GB, free: 6.879 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002656/0.01286, allocations: 328.8 kB / 0.822 GB, free: 6.539 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.876e-05/0.01288, allocations: 19.89 kB / 0.822 GB, free: 6.52 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.577e-05/0.01291, allocations: 0 / 0.822 GB, free: 6.52 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.737e-05/0.01296, allocations: 9.344 kB / 0.8221 GB, free: 6.512 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.337e-05/0.01301, allocations: 15.97 kB / 0.8221 GB, free: 6.496 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.383e-05/0.01302, allocations: 8 kB / 0.8221 GB, free: 6.488 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001151/0.01314, allocations: 182.7 kB / 0.8223 GB, free: 6.309 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.01314, allocations: 1.031 kB / 0.8223 GB, free: 6.309 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003046/0.01344, allocations: 71.88 kB / 0.8223 GB, free: 6.238 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: 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.0002142/0.01366, allocations: 109.6 kB / 0.8224 GB, free: 6.125 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.000472/0.01413, allocations: 488.9 kB / 0.8229 GB, free: 5.594 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.634e-06/0.01413, allocations: 0 / 0.8229 GB, free: 5.594 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 7.683e-05/0.01421, allocations: 63.58 kB / 0.823 GB, free: 5.527 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003444/0.01455, allocations: 65.45 kB / 0.823 GB, free: 5.465 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005417/0.01509, allocations: 354.6 kB / 0.8234 GB, free: 5.086 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.393e-05/0.01515, allocations: 75.98 kB / 0.8234 GB, free: 4.992 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 6.326e-05/0.01521, allocations: 19.16 kB / 0.8234 GB, free: 4.973 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.232e-05/0.01525, allocations: 21.59 kB / 0.8235 GB, free: 4.949 MB / 0.7761 GB Notification: Performance of SimCode: time 1.212e-06/0.01526, allocations: 0 / 0.8235 GB, free: 4.949 MB / 0.7761 GB Notification: Performance of Templates: time 0.007316/0.02257, allocations: 4.406 MB / 0.8278 GB, free: 0.6992 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.HalfPeriodRatio.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.HalfPeriodRatio.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.HalfPeriodRatio.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.HalfPeriodRatio.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.HalfPeriodRatio.sim & ./Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.HalfPeriodRatio -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.HalfPeriodRatio.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.HalfPeriodRatio_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_Relay_BaseClasses_Validation_HalfPeriodRatio.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.501911547034979]