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.00121/0.00121, allocations: 80.3 kB / 21.47 MB, free: 3.031 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.001144/0.001144, allocations: 169.6 kB / 24.86 MB, free: 9.285 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.9931/0.9931, allocations: 177.1 MB / 205.3 MB, free: 5.508 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.914/1.914, allocations: 377.9 MB / 0.6247 GB, free: 8.449 MB / 0.5886 GB " [Timeout remaining time 178] 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 3.687e-06/3.687e-06, allocations: 0 / 0.8128 GB, free: 1.484 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.269e-05/4.638e-05, allocations: 8.031 kB / 0.8128 GB, free: 1.477 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.HalfPeriodRatio): time 0.003191/0.003237, allocations: 1.129 MB / 0.8139 GB, free: 376 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.002137/0.005374, allocations: 1.456 MB / 0.8153 GB, free: 14.9 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001398/0.005514, allocations: 0 / 0.8153 GB, free: 14.9 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 5.914e-05/0.005573, allocations: 19.73 kB / 0.8153 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001907/0.005764, allocations: 61.2 kB / 0.8154 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008965/0.00666, allocations: 367.2 kB / 0.8157 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0005697/0.00723, allocations: 464.6 kB / 0.8162 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001942/0.007424, allocations: 71.67 kB / 0.8163 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000344/0.007768, allocations: 255.5 kB / 0.8165 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002364/0.008004, allocations: 132.2 kB / 0.8166 GB, free: 13.56 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 7.107e-05/0.008075, allocations: 44 kB / 0.8167 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001154/0.008191, allocations: 64.61 kB / 0.8167 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 4.963e-05/0.00824, allocations: 49.2 kB / 0.8168 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001424/0.008383, allocations: 135.7 kB / 0.8169 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0004352/0.008818, allocations: 315.1 kB / 0.8172 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.008822, allocations: 0 / 0.8172 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.074e-06/0.008824, allocations: 5.75 kB / 0.8172 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 6.532e-06/0.008831, allocations: 0 / 0.8172 GB, free: 12.96 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.0008179/0.009649, allocations: 0.6527 MB / 0.8178 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/0.009688, allocations: 12.03 kB / 0.8179 GB, free: 12.24 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001034/0.009792, allocations: 40.8 kB / 0.8179 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002926/0.01008, allocations: 229.1 kB / 0.8181 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.163e-05/0.01012, allocations: 16.38 kB / 0.8181 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.887e-05/0.01016, allocations: 24.38 kB / 0.8182 GB, free: 11.91 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001961/0.01036, allocations: 120.8 kB / 0.8183 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/0.01037, allocations: 1.281 kB / 0.8183 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.477e-05/0.01039, allocations: 8.375 kB / 0.8183 GB, free: 11.78 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/0.01039, allocations: 4.375 kB / 0.8183 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.774e-05/0.01047, allocations: 37.34 kB / 0.8183 GB, free: 11.74 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006807/0.01115, allocations: 0.5642 MB / 0.8189 GB, free: 11.15 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001387/0.01129, allocations: 90.88 kB / 0.819 GB, free: 11.05 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.405e-05/0.01133, allocations: 31.92 kB / 0.819 GB, free: 11.01 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.697e-05/0.01134, allocations: 8 kB / 0.819 GB, free: 11 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001465/0.01149, allocations: 127.7 kB / 0.8191 GB, free: 10.87 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=20): time 1.653e-06/0.01149, allocations: 0.7188 kB / 0.8191 GB, free: 10.87 MB / 0.7761 GB Notification: Performance of matching and sorting (n=20): time 0.000258/0.01175, allocations: 193.3 kB / 0.8193 GB, free: 10.67 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.235e-05/0.01178, allocations: 59.89 kB / 0.8194 GB, free: 10.6 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001331/0.01191, allocations: 255.1 kB / 0.8196 GB, free: 10.34 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.224e-05/0.01195, allocations: 37.7 kB / 0.8196 GB, free: 10.29 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 8.641e-05/0.01203, allocations: 191.3 kB / 0.8198 GB, free: 10.1 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.607e-05/0.01207, allocations: 55.55 kB / 0.8199 GB, free: 10.05 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001016/0.01217, allocations: 95.28 kB / 0.82 GB, free: 9.945 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001144/0.01228, allocations: 0.5007 MB / 0.8205 GB, free: 9.434 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001392/0.01242, allocations: 161.9 kB / 0.8206 GB, free: 9.258 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001708/0.01259, allocations: 277.5 kB / 0.8209 GB, free: 8.922 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002132/0.01281, allocations: 300.9 kB / 0.8212 GB, free: 8.566 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.01281, allocations: 0 / 0.8212 GB, free: 8.566 MB / 0.7761 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.000455/0.01327, allocations: 0.5064 MB / 0.8217 GB, free: 8.02 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 5.794e-05/0.01332, allocations: 105.1 kB / 0.8218 GB, free: 7.898 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.313e-06/0.01333, allocations: 8.094 kB / 0.8218 GB, free: 7.891 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.049e-05/0.01334, allocations: 4 kB / 0.8218 GB, free: 7.887 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.035e-05/0.01343, allocations: 23.92 kB / 0.8218 GB, free: 7.863 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.918e-06/0.01344, allocations: 7.984 kB / 0.8218 GB, free: 7.855 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001909/0.01363, allocations: 75.12 kB / 0.8219 GB, free: 7.785 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.829e-05/0.01365, allocations: 23.98 kB / 0.8219 GB, free: 7.762 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.0001094/0.01376, allocations: 180.5 kB / 0.8221 GB, free: 7.574 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.402e-05/0.01379, allocations: 23.89 kB / 0.8221 GB, free: 7.551 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001836/0.01397, allocations: 169.9 kB / 0.8222 GB, free: 7.387 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.01397, allocations: 0 / 0.8222 GB, free: 7.387 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.508e-06/0.01398, allocations: 4.5 kB / 0.8223 GB, free: 7.383 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.01399, allocations: 4 kB / 0.8223 GB, free: 7.379 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003689/0.01436, allocations: 455.8 kB / 0.8227 GB, free: 6.902 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.352e-06/0.01436, allocations: 4.594 kB / 0.8227 GB, free: 6.898 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.799e-05/0.0144, allocations: 12 kB / 0.8227 GB, free: 6.887 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.01441, allocations: 13.5 kB / 0.8227 GB, free: 6.875 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.835e-06/0.01441, allocations: 3.984 kB / 0.8227 GB, free: 6.871 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.01442, allocations: 0 / 0.8227 GB, free: 6.871 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.01442, allocations: 0 / 0.8227 GB, free: 6.871 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001897/0.01461, allocations: 310.8 kB / 0.823 GB, free: 6.551 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.372e-05/0.01463, allocations: 23.84 kB / 0.823 GB, free: 6.527 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.56e-05/0.01465, allocations: 0 / 0.823 GB, free: 6.527 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.383e-05/0.01469, allocations: 9.078 kB / 0.823 GB, free: 6.52 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.329e-05/0.01472, allocations: 15.98 kB / 0.8231 GB, free: 6.504 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.376e-06/0.01473, allocations: 7.984 kB / 0.8231 GB, free: 6.496 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 7.517e-05/0.01481, allocations: 176.9 kB / 0.8232 GB, free: 6.324 MB / 0.7761 GB Notification: Performance of sort global known variables: time 9e-08/0.01481, allocations: 0 / 0.8232 GB, free: 6.324 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002496/0.01506, allocations: 72.48 kB / 0.8233 GB, free: 6.254 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.0001366/0.01519, allocations: 116.3 kB / 0.8234 GB, free: 6.133 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0003394/0.01553, allocations: 449.7 kB / 0.8239 GB, free: 5.637 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.01554, allocations: 7.938 kB / 0.8239 GB, free: 5.629 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 5.42e-05/0.01559, allocations: 52.72 kB / 0.8239 GB, free: 5.574 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002892/0.01588, allocations: 65.33 kB / 0.824 GB, free: 5.516 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004255/0.0163, allocations: 353.2 kB / 0.8243 GB, free: 5.137 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.542e-05/0.01635, allocations: 75.98 kB / 0.8244 GB, free: 5.043 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 5.878e-05/0.01641, allocations: 21.94 kB / 0.8244 GB, free: 5.02 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001731/0.01658, allocations: 146.1 kB / 0.8245 GB, free: 4.875 MB / 0.7761 GB Notification: Performance of SimCode: time 7.51e-07/0.01658, allocations: 0 / 0.8245 GB, free: 4.875 MB / 0.7761 GB Notification: Performance of Templates: time 0.006409/0.02299, allocations: 4.886 MB / 0.8293 GB, free: 156 kB / 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.368038606829941]