Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009568/0.0009568, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0007871/0.0007871, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.8758/0.8758, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.723/1.723, allocations: 389 MB / 0.6338 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.HalfPeriodRatio") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.407e-06/3.407e-06, allocations: 0 / 1.001 GB, free: 12.97 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.832e-05/3.173e-05, allocations: 2.281 kB / 1.001 GB, free: 12.97 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.HalfPeriodRatio): time 0.00187/0.001901, allocations: 1.087 MB / 1.002 GB, free: 11.88 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001472/0.003373, allocations: 1.431 MB / 1.003 GB, free: 10.44 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.477e-05/0.003458, allocations: 0 / 1.003 GB, free: 10.44 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 4.289e-05/0.003501, allocations: 19.73 kB / 1.003 GB, free: 10.42 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0001236/0.003624, allocations: 59.56 kB / 1.003 GB, free: 10.36 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007001/0.004325, allocations: 380.1 kB / 1.004 GB, free: 9.996 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0003381/0.004663, allocations: 478.9 kB / 1.004 GB, free: 9.527 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001598/0.004822, allocations: 71.66 kB / 1.004 GB, free: 9.457 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001985/0.005021, allocations: 255.6 kB / 1.005 GB, free: 9.207 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001472/0.005168, allocations: 123.7 kB / 1.005 GB, free: 9.086 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 4.363e-05/0.005212, allocations: 44 kB / 1.005 GB, free: 9.043 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 8.169e-05/0.005293, allocations: 63.97 kB / 1.005 GB, free: 8.98 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 4.336e-05/0.005337, allocations: 51.77 kB / 1.005 GB, free: 8.93 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 9.825e-05/0.005435, allocations: 135.8 kB / 1.005 GB, free: 8.797 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0004066/0.005842, allocations: 0.5414 MB / 1.006 GB, free: 8.254 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.287e-06/0.005845, allocations: 4 kB / 1.006 GB, free: 8.25 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.623e-06/0.005847, allocations: 0 / 1.006 GB, free: 8.25 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.005852, allocations: 0 / 1.006 GB, free: 8.25 MB / 0.9636 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.0006205/0.006473, allocations: 0.5451 MB / 1.006 GB, free: 7.652 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.006513, allocations: 8.031 kB / 1.006 GB, free: 7.645 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.098e-05/0.006584, allocations: 40.72 kB / 1.006 GB, free: 7.605 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002629/0.006847, allocations: 225.1 kB / 1.006 GB, free: 7.359 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.628e-05/0.006873, allocations: 20.36 kB / 1.006 GB, free: 7.34 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.189e-05/0.006915, allocations: 32.31 kB / 1.006 GB, free: 7.309 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001825/0.007098, allocations: 139.7 kB / 1.006 GB, free: 7.168 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.634e-06/0.007105, allocations: 4.188 kB / 1.007 GB, free: 7.164 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.477e-05/0.00712, allocations: 8.359 kB / 1.007 GB, free: 7.156 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-06/0.007128, allocations: 12.12 kB / 1.007 GB, free: 7.145 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000119/0.007247, allocations: 88.42 kB / 1.007 GB, free: 7.059 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006776/0.007924, allocations: 0.5388 MB / 1.007 GB, free: 6.488 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002267/0.008151, allocations: 98.55 kB / 1.007 GB, free: 6.383 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.811e-05/0.008209, allocations: 44.84 kB / 1.007 GB, free: 6.336 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.47e-05/0.008234, allocations: 7.984 kB / 1.007 GB, free: 6.328 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002332/0.008467, allocations: 153 kB / 1.007 GB, free: 6.168 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=20): time 1.894e-06/0.008469, allocations: 0 / 1.007 GB, free: 6.168 MB / 0.9636 GB Notification: Performance of matching and sorting (n=20): time 0.0003583/0.008827, allocations: 255.5 kB / 1.008 GB, free: 5.914 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.644e-05/0.008864, allocations: 59.39 kB / 1.008 GB, free: 5.844 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001398/0.009003, allocations: 211.2 kB / 1.008 GB, free: 5.625 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 3.019e-05/0.009034, allocations: 33.7 kB / 1.008 GB, free: 5.586 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 7.394e-05/0.009108, allocations: 140.6 kB / 1.008 GB, free: 5.445 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 3.417e-05/0.009142, allocations: 55.58 kB / 1.008 GB, free: 5.391 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.592e-05/0.009238, allocations: 81.67 kB / 1.008 GB, free: 5.305 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.703e-05/0.009325, allocations: 334.8 kB / 1.009 GB, free: 4.969 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002209/0.009546, allocations: 233 kB / 1.009 GB, free: 4.723 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002332/0.009779, allocations: 302.4 kB / 1.009 GB, free: 4.375 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002709/0.01005, allocations: 330.4 kB / 1.009 GB, free: 4 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.01005, allocations: 0 / 1.009 GB, free: 4 MB / 0.9636 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0005507/0.0106, allocations: 0.6008 MB / 1.01 GB, free: 3.355 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 6.219e-05/0.01067, allocations: 101.1 kB / 1.01 GB, free: 3.238 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.01067, allocations: 4 kB / 1.01 GB, free: 3.234 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.01069, allocations: 4 kB / 1.01 GB, free: 3.23 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.155e-05/0.01078, allocations: 23.92 kB / 1.01 GB, free: 3.207 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.01079, allocations: 4 kB / 1.01 GB, free: 3.203 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000241/0.01103, allocations: 92 kB / 1.01 GB, free: 3.113 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.091e-05/0.01106, allocations: 27.97 kB / 1.01 GB, free: 3.086 MB / 0.9636 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.0001131/0.01117, allocations: 159.1 kB / 1.01 GB, free: 2.922 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.785e-05/0.01119, allocations: 19.84 kB / 1.01 GB, free: 2.902 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002463/0.01143, allocations: 207.3 kB / 1.011 GB, free: 2.691 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.628e-06/0.01144, allocations: 8 kB / 1.011 GB, free: 2.684 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/0.01144, allocations: 0 / 1.011 GB, free: 2.684 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.01145, allocations: 3.984 kB / 1.011 GB, free: 2.68 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000415/0.01186, allocations: 484 kB / 1.011 GB, free: 2.172 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.01187, allocations: 4 kB / 1.011 GB, free: 2.168 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.136e-05/0.01191, allocations: 19.88 kB / 1.011 GB, free: 2.148 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.01191, allocations: 4 kB / 1.011 GB, free: 2.145 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.448e-06/0.01192, allocations: 3.984 kB / 1.011 GB, free: 2.141 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.01192, allocations: 0 / 1.011 GB, free: 2.141 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.01192, allocations: 4 kB / 1.011 GB, free: 2.137 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002014/0.01213, allocations: 295.2 kB / 1.011 GB, free: 1.832 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.922e-05/0.01214, allocations: 23.84 kB / 1.011 GB, free: 1.809 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.686e-05/0.01216, allocations: 4 kB / 1.011 GB, free: 1.805 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.371e-05/0.01221, allocations: 7.984 kB / 1.011 GB, free: 1.797 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.371e-05/0.01224, allocations: 7.984 kB / 1.011 GB, free: 1.789 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.262e-05/0.01225, allocations: 15.98 kB / 1.011 GB, free: 1.773 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 8.631e-05/0.01234, allocations: 147 kB / 1.012 GB, free: 1.629 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.01234, allocations: 3.938 kB / 1.012 GB, free: 1.625 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002511/0.01259, allocations: 75.89 kB / 1.012 GB, free: 1.551 MB / 0.9636 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.0001527/0.01274, allocations: 115.2 kB / 1.012 GB, free: 1.43 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0004435/0.01318, allocations: 0.5051 MB / 1.012 GB, free: 0.8711 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.01319, allocations: 0 / 1.012 GB, free: 0.8711 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 8.26e-05/0.01327, allocations: 75.91 kB / 1.012 GB, free: 0.7969 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003233/0.01359, allocations: 60.27 kB / 1.012 GB, free: 0.7383 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005196/0.01411, allocations: 396.7 kB / 1.013 GB, free: 328 kB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.347e-05/0.01421, allocations: 129.9 kB / 1.013 GB, free: 176 kB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.954e-05/0.01425, allocations: 24.44 kB / 1.013 GB, free: 152 kB / 0.9636 GB Notification: Performance of SimCode: time 9.02e-07/0.01425, allocations: 0 / 1.013 GB, free: 152 kB / 0.9636 GB Notification: Performance of Templates: time 0.004014/0.01826, allocations: 3.445 MB / 1.016 GB, free: 12.73 MB / 0.9792 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.HalfPeriodRatio.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.HalfPeriodRatio.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.HalfPeriodRatio.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.HalfPeriodRatio.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.HalfPeriodRatio.sim & ./Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.HalfPeriodRatio -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.HalfPeriodRatio.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.HalfPeriodRatio_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_Relay_BaseClasses_Validation_HalfPeriodRatio.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.HalfPeriodRatio.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.64490292686969]