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.0009854/0.0009854, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.0009542/0.0009542, allocations: 181 kB / 24.09 MB, free: 420 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.96/0.96, allocations: 177.1 MB / 204.5 MB, free: 5.488 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.862/1.862, allocations: 377.9 MB / 0.6239 GB, free: 8.395 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 2.024e-06/2.024e-06, allocations: 0.7656 kB / 0.812 GB, free: 1.414 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.888e-05/2.091e-05, allocations: 3.031 kB / 0.812 GB, free: 1.41 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.HalfPeriodRatio): time 0.001922/0.001943, allocations: 1.137 MB / 0.8131 GB, free: 300 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001897/0.003839, allocations: 1.453 MB / 0.8145 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001143/0.003953, allocations: 4 kB / 0.8145 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 4.554e-05/0.003999, allocations: 20.58 kB / 0.8146 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001385/0.004137, allocations: 60.52 kB / 0.8146 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006742/0.004812, allocations: 359.2 kB / 0.815 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0005059/0.005318, allocations: 467.6 kB / 0.8154 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001573/0.005475, allocations: 72.27 kB / 0.8155 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002267/0.005702, allocations: 260.7 kB / 0.8157 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001673/0.005869, allocations: 127.6 kB / 0.8158 GB, free: 13.49 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 5.022e-05/0.005919, allocations: 48 kB / 0.8159 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 9.091e-05/0.00601, allocations: 56 kB / 0.8159 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 4.064e-05/0.006051, allocations: 58.17 kB / 0.816 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 9.227e-05/0.006143, allocations: 131.7 kB / 0.8161 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.000281/0.006424, allocations: 323.1 kB / 0.8164 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.006426, allocations: 0 / 0.8164 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.102e-06/0.006427, allocations: 0 / 0.8164 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.006431, allocations: 0 / 0.8164 GB, free: 12.89 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.0007383/0.00717, allocations: 0.6533 MB / 0.8171 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 6.064e-05/0.00723, allocations: 9.562 kB / 0.8171 GB, free: 12.17 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.358e-05/0.007324, allocations: 44.8 kB / 0.8171 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002831/0.007607, allocations: 224 kB / 0.8173 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.516e-05/0.007632, allocations: 16.38 kB / 0.8174 GB, free: 11.86 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.272e-05/0.007665, allocations: 25.66 kB / 0.8174 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001384/0.007803, allocations: 120.2 kB / 0.8175 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.007811, allocations: 192 / 0.8175 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.11e-05/0.007822, allocations: 8.375 kB / 0.8175 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.347e-05/0.007836, allocations: 9.703 kB / 0.8175 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.308e-05/0.007899, allocations: 44.42 kB / 0.8176 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006724/0.008571, allocations: 0.5555 MB / 0.8181 GB, free: 11.07 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001204/0.008692, allocations: 86.89 kB / 0.8182 GB, free: 10.98 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.633e-05/0.008728, allocations: 36.44 kB / 0.8182 GB, free: 10.94 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.507e-05/0.008753, allocations: 4.531 kB / 0.8182 GB, free: 10.93 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001518/0.008905, allocations: 125.8 kB / 0.8183 GB, free: 10.8 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=20): time 1.422e-06/0.008906, allocations: 0 / 0.8183 GB, free: 10.8 MB / 0.7761 GB Notification: Performance of matching and sorting (n=20): time 0.0003117/0.009218, allocations: 200.5 kB / 0.8185 GB, free: 10.6 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.369e-05/0.009252, allocations: 55.41 kB / 0.8186 GB, free: 10.53 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000418/0.00967, allocations: 255.3 kB / 0.8188 GB, free: 10.27 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.17e-05/0.009701, allocations: 37.7 kB / 0.8189 GB, free: 10.22 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 9.05e-05/0.009792, allocations: 192.6 kB / 0.819 GB, free: 10.03 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.479e-05/0.009827, allocations: 55.55 kB / 0.8191 GB, free: 9.977 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.482e-05/0.009921, allocations: 87.3 kB / 0.8192 GB, free: 9.883 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001303/0.01005, allocations: 0.5128 MB / 0.8197 GB, free: 9.359 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001338/0.01019, allocations: 165 kB / 0.8198 GB, free: 9.18 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001681/0.01035, allocations: 273.5 kB / 0.8201 GB, free: 8.848 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002285/0.01058, allocations: 296.8 kB / 0.8204 GB, free: 8.496 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.01059, allocations: 0 / 0.8204 GB, free: 8.496 MB / 0.7761 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004902/0.01108, allocations: 0.505 MB / 0.8209 GB, free: 7.949 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 6.684e-05/0.01114, allocations: 102.4 kB / 0.821 GB, free: 7.832 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.377e-06/0.01115, allocations: 3.938 kB / 0.821 GB, free: 7.828 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.01117, allocations: 4 kB / 0.821 GB, free: 7.824 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.825e-05/0.01126, allocations: 27.92 kB / 0.821 GB, free: 7.797 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.01127, allocations: 8.656 kB / 0.821 GB, free: 7.789 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001981/0.01147, allocations: 74.22 kB / 0.8211 GB, free: 7.719 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.89e-05/0.0115, allocations: 23.98 kB / 0.8211 GB, free: 7.695 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.0001193/0.01162, allocations: 193.8 kB / 0.8213 GB, free: 7.496 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.174e-05/0.01164, allocations: 19.91 kB / 0.8213 GB, free: 7.477 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001897/0.01183, allocations: 170.7 kB / 0.8215 GB, free: 7.312 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.01183, allocations: 7.875 kB / 0.8215 GB, free: 7.305 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.704e-06/0.01183, allocations: 0 / 0.8215 GB, free: 7.305 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.01184, allocations: 0 / 0.8215 GB, free: 7.305 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003575/0.01219, allocations: 450.6 kB / 0.8219 GB, free: 6.832 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.0122, allocations: 0 / 0.8219 GB, free: 6.832 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.771e-05/0.01223, allocations: 19.94 kB / 0.8219 GB, free: 6.812 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.01224, allocations: 7.922 kB / 0.8219 GB, free: 6.805 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.975e-06/0.01225, allocations: 4 kB / 0.8219 GB, free: 6.801 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.01225, allocations: 0.5 kB / 0.8219 GB, free: 6.801 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.01225, allocations: 0 / 0.8219 GB, free: 6.801 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001873/0.01244, allocations: 311.3 kB / 0.8222 GB, free: 6.48 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.927e-05/0.01246, allocations: 19.84 kB / 0.8223 GB, free: 6.461 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.549e-05/0.01247, allocations: 7.984 kB / 0.8223 GB, free: 6.453 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.827e-05/0.01251, allocations: 4 kB / 0.8223 GB, free: 6.449 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.822e-05/0.01255, allocations: 19.97 kB / 0.8223 GB, free: 6.43 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.173e-06/0.01256, allocations: 4.656 kB / 0.8223 GB, free: 6.426 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 7.954e-05/0.01263, allocations: 178.7 kB / 0.8225 GB, free: 6.25 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.01263, allocations: 2.25 kB / 0.8225 GB, free: 6.25 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002639/0.0129, allocations: 71.88 kB / 0.8225 GB, free: 6.18 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.0001317/0.01303, allocations: 111.2 kB / 0.8226 GB, free: 6.062 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0003426/0.01337, allocations: 457.2 kB / 0.8231 GB, free: 5.562 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.01337, allocations: 0 / 0.8231 GB, free: 5.562 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 5.519e-05/0.01343, allocations: 59.59 kB / 0.8231 GB, free: 5.5 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002756/0.01371, allocations: 58.16 kB / 0.8232 GB, free: 5.445 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004111/0.01412, allocations: 352.2 kB / 0.8235 GB, free: 5.066 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.614e-05/0.01416, allocations: 75.98 kB / 0.8236 GB, free: 4.973 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 5.404e-05/0.01422, allocations: 20.3 kB / 0.8236 GB, free: 4.953 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001712/0.01439, allocations: 150.1 kB / 0.8238 GB, free: 4.805 MB / 0.7761 GB Notification: Performance of SimCode: time 7.32e-07/0.01439, allocations: 3.938 kB / 0.8238 GB, free: 4.801 MB / 0.7761 GB Notification: Performance of Templates: time 0.006366/0.02075, allocations: 4.787 MB / 0.8284 GB, free: 184 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.149092773906887]