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.001285/0.001285, allocations: 96.42 kB / 19.7 MB, free: 2.133 MB / 14.72 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.00138/0.00138, allocations: 213.2 kB / 22.99 MB, free: 4.957 MB / 14.72 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.39/1.39, allocations: 230.6 MB / 256.8 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] 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 3.13/3.13, allocations: 0.505 GB / 0.8109 GB, free: 23.49 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001914/0.001914, allocations: 70.55 kB / 1.178 GB, free: 16.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3262/0.3281, allocations: 180.2 MB / 1.354 GB, free: 7.438 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.HalfPeriodRatio): time 0.002619/0.3307, allocations: 1.097 MB / 1.355 GB, free: 6.34 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002045/0.3327, allocations: 1.421 MB / 1.357 GB, free: 4.906 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001176/0.3329, allocations: 4 kB / 1.357 GB, free: 4.902 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 7.423e-05/0.3329, allocations: 23.67 kB / 1.357 GB, free: 4.879 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001789/0.3331, allocations: 55.58 kB / 1.357 GB, free: 4.824 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001057/0.3342, allocations: 376.2 kB / 1.357 GB, free: 4.465 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0006215/0.3348, allocations: 467.1 kB / 1.357 GB, free: 4.008 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002023/0.335, allocations: 75.59 kB / 1.357 GB, free: 3.934 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002225/0.3352, allocations: 179.5 kB / 1.358 GB, free: 3.758 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002337/0.3355, allocations: 163.4 kB / 1.358 GB, free: 3.598 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 8.604e-05/0.3355, allocations: 48 kB / 1.358 GB, free: 3.551 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000125/0.3357, allocations: 59.98 kB / 1.358 GB, free: 3.492 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 7.77e-05/0.3357, allocations: 51.78 kB / 1.358 GB, free: 3.441 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001718/0.3359, allocations: 139.5 kB / 1.358 GB, free: 3.305 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0005868/0.3365, allocations: 0.4905 MB / 1.359 GB, free: 2.812 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 8.526e-06/0.3365, allocations: 7.984 kB / 1.359 GB, free: 2.805 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.053e-06/0.3365, allocations: 4 kB / 1.359 GB, free: 2.801 MB / 1.045 GB Notification: Performance of Transformations before backend: time 7.253e-06/0.3365, allocations: 0 / 1.359 GB, free: 2.801 MB / 1.045 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.0009053/0.3374, allocations: 0.5528 MB / 1.359 GB, free: 2.195 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.3375, allocations: 8.031 kB / 1.359 GB, free: 2.188 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001039/0.3376, allocations: 36.73 kB / 1.359 GB, free: 2.152 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003645/0.3379, allocations: 226.1 kB / 1.359 GB, free: 1.906 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.881e-05/0.338, allocations: 16.38 kB / 1.359 GB, free: 1.891 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.787e-05/0.338, allocations: 32.31 kB / 1.359 GB, free: 1.859 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002644/0.3383, allocations: 142 kB / 1.36 GB, free: 1.715 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/0.3383, allocations: 3.938 kB / 1.36 GB, free: 1.711 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.024e-05/0.3383, allocations: 12 kB / 1.36 GB, free: 1.699 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.676e-06/0.3383, allocations: 4 kB / 1.36 GB, free: 1.695 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001586/0.3385, allocations: 83.97 kB / 1.36 GB, free: 1.613 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009635/0.3395, allocations: 0.5426 MB / 1.36 GB, free: 1.039 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002282/0.3397, allocations: 106.5 kB / 1.36 GB, free: 0.9258 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.608e-05/0.3398, allocations: 45.09 kB / 1.36 GB, free: 0.8789 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.829e-05/0.3398, allocations: 8 kB / 1.36 GB, free: 0.8711 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002964/0.3401, allocations: 147.2 kB / 1.36 GB, free: 0.7148 MB / 1.045 GB Notification: Performance of pre-optimization done (n=20): time 1.613e-06/0.3401, allocations: 0 / 1.36 GB, free: 0.7148 MB / 1.045 GB Notification: Performance of matching and sorting (n=20): time 0.0004772/0.3406, allocations: 251 kB / 1.361 GB, free: 476 kB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.453e-05/0.3406, allocations: 59.41 kB / 1.361 GB, free: 404 kB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002259/0.3408, allocations: 211 kB / 1.361 GB, free: 184 kB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 5.434e-05/0.3409, allocations: 37.7 kB / 1.361 GB, free: 140 kB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001454/0.341, allocations: 144.6 kB / 1.361 GB, free: 15.99 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.838e-05/0.3411, allocations: 51.48 kB / 1.361 GB, free: 15.94 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001667/0.3413, allocations: 89.66 kB / 1.361 GB, free: 15.85 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.000165/0.3414, allocations: 334.8 kB / 1.362 GB, free: 15.51 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003183/0.3417, allocations: 221 kB / 1.362 GB, free: 15.28 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003779/0.3421, allocations: 314.4 kB / 1.362 GB, free: 14.92 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004327/0.3426, allocations: 342.3 kB / 1.362 GB, free: 14.53 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.3426, allocations: 3.938 kB / 1.362 GB, free: 14.53 MB / 1.061 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0008814/0.3434, allocations: 0.597 MB / 1.363 GB, free: 13.89 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 9.467e-05/0.3435, allocations: 105.1 kB / 1.363 GB, free: 13.77 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.3435, allocations: 0 / 1.363 GB, free: 13.77 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.3436, allocations: 4 kB / 1.363 GB, free: 13.76 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000123/0.3437, allocations: 31.92 kB / 1.363 GB, free: 13.73 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.019e-05/0.3437, allocations: 4 kB / 1.363 GB, free: 13.73 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004959/0.3442, allocations: 88.05 kB / 1.363 GB, free: 13.64 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.029e-05/0.3442, allocations: 19.98 kB / 1.363 GB, free: 13.62 MB / 1.061 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.0001816/0.3444, allocations: 153.7 kB / 1.363 GB, free: 13.46 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.376e-05/0.3445, allocations: 27.84 kB / 1.363 GB, free: 13.43 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003669/0.3448, allocations: 213 kB / 1.364 GB, free: 13.21 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.3448, allocations: 0 / 1.364 GB, free: 13.21 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.3448, allocations: 11.94 kB / 1.364 GB, free: 13.2 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.3448, allocations: 0 / 1.364 GB, free: 13.2 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006274/0.3455, allocations: 481.9 kB / 1.364 GB, free: 12.7 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.3455, allocations: 0 / 1.364 GB, free: 12.7 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.519e-05/0.3455, allocations: 19.92 kB / 1.364 GB, free: 12.68 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.3455, allocations: 0 / 1.364 GB, free: 12.68 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.469e-05/0.3455, allocations: 4 kB / 1.364 GB, free: 12.67 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.3455, allocations: 0 / 1.364 GB, free: 12.67 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.3455, allocations: 0 / 1.364 GB, free: 12.67 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003652/0.3459, allocations: 305.4 kB / 1.364 GB, free: 12.36 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.359e-05/0.3459, allocations: 19.84 kB / 1.364 GB, free: 12.34 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.934e-05/0.346, allocations: 8 kB / 1.364 GB, free: 12.33 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.505e-05/0.346, allocations: 4 kB / 1.364 GB, free: 12.33 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.271e-05/0.3461, allocations: 19.91 kB / 1.364 GB, free: 12.31 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.455e-05/0.3461, allocations: 11.94 kB / 1.364 GB, free: 12.3 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001473/0.3463, allocations: 152.4 kB / 1.365 GB, free: 12.15 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.3463, allocations: 0 / 1.365 GB, free: 12.15 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003501/0.3466, allocations: 75.81 kB / 1.365 GB, free: 12.07 MB / 1.061 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.0001637/0.3468, allocations: 112.4 kB / 1.365 GB, free: 11.95 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0007419/0.3475, allocations: 0.5069 MB / 1.365 GB, free: 11.39 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.3475, allocations: 0 / 1.365 GB, free: 11.39 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001156/0.3476, allocations: 65.47 kB / 1.365 GB, free: 11.33 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004677/0.3481, allocations: 62.41 kB / 1.365 GB, free: 11.27 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006782/0.3488, allocations: 376 kB / 1.366 GB, free: 10.88 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001418/0.3489, allocations: 129.9 kB / 1.366 GB, free: 10.73 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 6.635e-05/0.349, allocations: 21.95 kB / 1.366 GB, free: 10.71 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.757e-05/0.349, allocations: 23.42 kB / 1.366 GB, free: 10.69 MB / 1.061 GB Notification: Performance of SimCode: time 3.9e-07/0.349, allocations: 0 / 1.366 GB, free: 10.69 MB / 1.061 GB Notification: Performance of Templates: time 0.009326/0.3584, allocations: 4.613 MB / 1.37 GB, free: 6.203 MB / 1.061 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 -s gbode -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/jenkins1/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: 8.52853595999477]