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.0009794/0.0009794, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.0009402/0.0009402, allocations: 169 kB / 24.28 MB, free: 276 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.9986/0.9986, allocations: 177.1 MB / 204.6 MB, free: 5.645 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.896/1.896, allocations: 377.8 MB / 0.6239 GB, free: 8.551 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.144e-06/2.144e-06, allocations: 0 / 0.8115 GB, free: 2.043 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.787e-05/2.002e-05, allocations: 3.375 kB / 0.8115 GB, free: 2.039 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.HalfPeriodRatio): time 0.002088/0.002108, allocations: 1.15 MB / 0.8127 GB, free: 0.9141 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.00166/0.003768, allocations: 1.446 MB / 0.8141 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001006/0.003868, allocations: 4 kB / 0.8141 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 5.424e-05/0.003922, allocations: 19.69 kB / 0.8141 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001553/0.004078, allocations: 63.5 kB / 0.8142 GB, free: 15.37 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.000738/0.004816, allocations: 368.7 kB / 0.8145 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0003813/0.005197, allocations: 471 kB / 0.815 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001834/0.00538, allocations: 76.16 kB / 0.815 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002243/0.005605, allocations: 244.5 kB / 0.8153 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001774/0.005782, allocations: 127.6 kB / 0.8154 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 5.938e-05/0.005842, allocations: 52.7 kB / 0.8154 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 9.085e-05/0.005932, allocations: 59.98 kB / 0.8155 GB, free: 14 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 4.735e-05/0.00598, allocations: 53.42 kB / 0.8155 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001186/0.006098, allocations: 131.7 kB / 0.8157 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003438/0.006442, allocations: 323.1 kB / 0.816 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.006445, allocations: 0 / 0.816 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of FrontEnd: time 6.11e-07/0.006445, allocations: 0.7188 kB / 0.816 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.006451, allocations: 0 / 0.816 GB, free: 13.51 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.0007035/0.007154, allocations: 0.6494 MB / 0.8166 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/0.007198, allocations: 8.031 kB / 0.8166 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001007/0.007298, allocations: 54.41 kB / 0.8167 GB, free: 12.74 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002813/0.00758, allocations: 224.2 kB / 0.8169 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.106e-05/0.007611, allocations: 20.38 kB / 0.8169 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.748e-05/0.007648, allocations: 28.31 kB / 0.8169 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001825/0.007831, allocations: 128.8 kB / 0.817 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.00784, allocations: 4.766 kB / 0.8171 GB, free: 12.31 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.606e-05/0.007856, allocations: 4.375 kB / 0.8171 GB, free: 12.31 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.178e-05/0.007868, allocations: 8.906 kB / 0.8171 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.88e-05/0.007957, allocations: 48.56 kB / 0.8171 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007436/0.0087, allocations: 0.5938 MB / 0.8177 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001481/0.008848, allocations: 92.39 kB / 0.8178 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.046e-05/0.008899, allocations: 35.67 kB / 0.8178 GB, free: 11.48 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.371e-05/0.008923, allocations: 4 kB / 0.8178 GB, free: 11.48 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001599/0.009083, allocations: 134.5 kB / 0.8179 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=20): time 1.983e-06/0.009085, allocations: 0 / 0.8179 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of matching and sorting (n=20): time 0.0003336/0.009418, allocations: 211.7 kB / 0.8181 GB, free: 11.12 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.476e-05/0.009453, allocations: 55.41 kB / 0.8182 GB, free: 11.06 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001577/0.009611, allocations: 261 kB / 0.8185 GB, free: 10.79 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.225e-05/0.009643, allocations: 37.7 kB / 0.8185 GB, free: 10.75 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 9.417e-05/0.009737, allocations: 191.3 kB / 0.8187 GB, free: 10.55 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.707e-05/0.009774, allocations: 55.52 kB / 0.8187 GB, free: 10.5 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.912e-05/0.009873, allocations: 91.31 kB / 0.8188 GB, free: 10.4 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001358/0.01001, allocations: 0.4962 MB / 0.8193 GB, free: 9.895 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000185/0.01019, allocations: 187.8 kB / 0.8195 GB, free: 9.695 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002238/0.01042, allocations: 289.6 kB / 0.8197 GB, free: 9.348 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002514/0.01067, allocations: 307.1 kB / 0.82 GB, free: 8.984 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.01067, allocations: 0 / 0.82 GB, free: 8.984 MB / 0.7761 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0005173/0.01119, allocations: 0.5478 MB / 0.8206 GB, free: 8.395 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 5.793e-05/0.01125, allocations: 104 kB / 0.8207 GB, free: 8.277 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.01125, allocations: 4.562 kB / 0.8207 GB, free: 8.273 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.01127, allocations: 5.375 kB / 0.8207 GB, free: 8.27 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.505e-05/0.01136, allocations: 31.92 kB / 0.8207 GB, free: 8.238 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.776e-06/0.01137, allocations: 7.938 kB / 0.8207 GB, free: 8.23 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001915/0.01156, allocations: 66.36 kB / 0.8208 GB, free: 8.168 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.041e-05/0.01159, allocations: 27.97 kB / 0.8208 GB, free: 8.141 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.0001057/0.0117, allocations: 173.5 kB / 0.821 GB, free: 7.961 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.766e-05/0.01173, allocations: 35.78 kB / 0.821 GB, free: 7.926 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002035/0.01193, allocations: 172.1 kB / 0.8212 GB, free: 7.758 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.01193, allocations: 4 kB / 0.8212 GB, free: 7.754 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.01194, allocations: 5.016 kB / 0.8212 GB, free: 7.75 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.01194, allocations: 4 kB / 0.8212 GB, free: 7.746 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003956/0.01234, allocations: 499.2 kB / 0.8217 GB, free: 7.219 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.01234, allocations: 0 / 0.8217 GB, free: 7.219 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.939e-05/0.01238, allocations: 19.98 kB / 0.8217 GB, free: 7.199 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.01238, allocations: 0.8438 kB / 0.8217 GB, free: 7.199 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-06/0.01239, allocations: 4 kB / 0.8217 GB, free: 7.195 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.01239, allocations: 0 / 0.8217 GB, free: 7.195 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.01239, allocations: 0.7656 kB / 0.8217 GB, free: 7.195 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002011/0.01259, allocations: 329.5 kB / 0.822 GB, free: 6.855 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.959e-05/0.01261, allocations: 27.64 kB / 0.822 GB, free: 6.832 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.564e-05/0.01263, allocations: 0 / 0.822 GB, free: 6.832 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.205e-05/0.01267, allocations: 8 kB / 0.822 GB, free: 6.824 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.639e-05/0.01271, allocations: 15.97 kB / 0.8221 GB, free: 6.809 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.686e-06/0.01272, allocations: 4 kB / 0.8221 GB, free: 6.805 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 8.771e-05/0.0128, allocations: 186.7 kB / 0.8222 GB, free: 6.621 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.0128, allocations: 3.938 kB / 0.8222 GB, free: 6.617 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002244/0.01303, allocations: 71.88 kB / 0.8223 GB, free: 6.547 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.0001132/0.01314, allocations: 109.9 kB / 0.8224 GB, free: 6.434 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0004057/0.01355, allocations: 485 kB / 0.8229 GB, free: 5.902 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.273e-06/0.01355, allocations: 0 / 0.8229 GB, free: 5.902 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 6.683e-05/0.01362, allocations: 62.92 kB / 0.8229 GB, free: 5.84 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002858/0.0139, allocations: 66.81 kB / 0.823 GB, free: 5.777 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004395/0.01434, allocations: 349 kB / 0.8233 GB, free: 5.402 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.833e-05/0.01439, allocations: 79.98 kB / 0.8234 GB, free: 5.305 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.65e-05/0.01444, allocations: 17.95 kB / 0.8234 GB, free: 5.285 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.563e-05/0.01447, allocations: 21.84 kB / 0.8234 GB, free: 5.262 MB / 0.7761 GB Notification: Performance of SimCode: time 6.11e-07/0.01447, allocations: 0 / 0.8234 GB, free: 5.262 MB / 0.7761 GB Notification: Performance of Templates: time 0.005728/0.0202, allocations: 4.408 MB / 0.8278 GB, free: 1.016 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.138070434099063]