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.001646/0.001646, allocations: 106.2 kB / 19.69 MB, free: 2.277 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.00186/0.00186, allocations: 217.1 kB / 23.01 MB, free: 4.602 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.487/1.487, allocations: 230.6 MB / 256.8 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.085/3.085, allocations: 0.49 GB / 0.7958 GB, free: 33.52 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: 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.002155/0.002155, allocations: 66.45 kB / 1.155 GB, free: 25.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3424/0.3446, allocations: 176.1 MB / 1.327 GB, free: 1.449 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.HalfPeriodRatio): time 0.00265/0.3472, allocations: 1.179 MB / 1.328 GB, free: 280 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002061/0.3493, allocations: 1.455 MB / 1.33 GB, free: 14.8 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.983e-05/0.3494, allocations: 4 kB / 1.33 GB, free: 14.8 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 6.366e-05/0.3495, allocations: 23.67 kB / 1.33 GB, free: 14.78 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.000162/0.3496, allocations: 55.58 kB / 1.33 GB, free: 14.72 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009467/0.3506, allocations: 378 kB / 1.33 GB, free: 14.36 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005212/0.3511, allocations: 463.1 kB / 1.331 GB, free: 13.91 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001809/0.3513, allocations: 75.59 kB / 1.331 GB, free: 13.83 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002164/0.3515, allocations: 179.5 kB / 1.331 GB, free: 13.65 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002614/0.3518, allocations: 163.4 kB / 1.331 GB, free: 13.49 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 7.357e-05/0.3518, allocations: 48 kB / 1.331 GB, free: 13.45 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00012/0.3519, allocations: 63.92 kB / 1.331 GB, free: 13.38 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 5.928e-05/0.352, allocations: 43.84 kB / 1.331 GB, free: 13.34 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001808/0.3522, allocations: 167.4 kB / 1.331 GB, free: 13.18 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005731/0.3528, allocations: 0.4944 MB / 1.332 GB, free: 12.68 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.3528, allocations: 0 / 1.332 GB, free: 12.68 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.633e-06/0.3528, allocations: 0 / 1.332 GB, free: 12.68 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.02e-05/0.3528, allocations: 0 / 1.332 GB, free: 12.68 MB / 1.029 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.0008715/0.3536, allocations: 0.5529 MB / 1.332 GB, free: 12.07 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.421e-05/0.3537, allocations: 8.031 kB / 1.332 GB, free: 12.07 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.072e-05/0.3538, allocations: 32.75 kB / 1.332 GB, free: 12.04 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003605/0.3541, allocations: 226.3 kB / 1.333 GB, free: 11.79 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.595e-05/0.3542, allocations: 16.38 kB / 1.333 GB, free: 11.77 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.224e-05/0.3542, allocations: 28.38 kB / 1.333 GB, free: 11.75 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002883/0.3545, allocations: 150 kB / 1.333 GB, free: 11.59 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/0.3545, allocations: 3.938 kB / 1.333 GB, free: 11.59 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.717e-05/0.3545, allocations: 4 kB / 1.333 GB, free: 11.59 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.3546, allocations: 8 kB / 1.333 GB, free: 11.58 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001838/0.3547, allocations: 87.97 kB / 1.333 GB, free: 11.49 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001094/0.3558, allocations: 0.6628 MB / 1.334 GB, free: 10.79 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002094/0.356, allocations: 106.5 kB / 1.334 GB, free: 10.67 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.788e-05/0.3561, allocations: 44.84 kB / 1.334 GB, free: 10.62 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.413e-05/0.3562, allocations: 4 kB / 1.334 GB, free: 10.62 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002447/0.3564, allocations: 149.1 kB / 1.334 GB, free: 10.46 MB / 1.029 GB Notification: Performance of pre-optimization done (n=20): time 1.543e-06/0.3564, allocations: 0 / 1.334 GB, free: 10.46 MB / 1.029 GB Notification: Performance of matching and sorting (n=20): time 0.000526/0.3569, allocations: 253.4 kB / 1.334 GB, free: 10.21 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.034e-05/0.357, allocations: 55.41 kB / 1.334 GB, free: 10.14 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000235/0.3572, allocations: 214.7 kB / 1.334 GB, free: 9.922 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.945e-05/0.3573, allocations: 41.7 kB / 1.334 GB, free: 9.875 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000127/0.3574, allocations: 144.5 kB / 1.334 GB, free: 9.73 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.632e-05/0.3575, allocations: 55.53 kB / 1.335 GB, free: 9.676 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000156/0.3576, allocations: 85.66 kB / 1.335 GB, free: 9.586 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001748/0.3578, allocations: 338.7 kB / 1.335 GB, free: 9.246 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002802/0.3581, allocations: 127.9 kB / 1.335 GB, free: 9.121 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003777/0.3585, allocations: 221.8 kB / 1.335 GB, free: 8.871 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004932/0.3589, allocations: 334.4 kB / 1.336 GB, free: 8.492 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.574e-06/0.3589, allocations: 0 / 1.336 GB, free: 8.492 MB / 1.029 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0008842/0.3598, allocations: 0.5062 MB / 1.336 GB, free: 7.961 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 9.601e-05/0.3599, allocations: 105.1 kB / 1.336 GB, free: 7.84 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.3599, allocations: 0 / 1.336 GB, free: 7.84 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.93e-05/0.36, allocations: 4 kB / 1.336 GB, free: 7.836 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001304/0.3601, allocations: 27.92 kB / 1.336 GB, free: 7.809 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.3601, allocations: 0 / 1.336 GB, free: 7.809 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004763/0.3606, allocations: 91.83 kB / 1.336 GB, free: 7.719 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.18e-05/0.3606, allocations: 23.98 kB / 1.336 GB, free: 7.695 MB / 1.029 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.0001729/0.3608, allocations: 153.7 kB / 1.336 GB, free: 7.535 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.204e-05/0.3608, allocations: 19.86 kB / 1.336 GB, free: 7.516 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003507/0.3612, allocations: 208.9 kB / 1.337 GB, free: 7.305 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.259e-06/0.3612, allocations: 4 kB / 1.337 GB, free: 7.301 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.3612, allocations: 0 / 1.337 GB, free: 7.301 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.3612, allocations: 0 / 1.337 GB, free: 7.301 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007104/0.3619, allocations: 0.5423 MB / 1.337 GB, free: 6.711 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.3619, allocations: 0 / 1.337 GB, free: 6.711 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.121e-05/0.362, allocations: 15.94 kB / 1.337 GB, free: 6.695 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.362, allocations: 0 / 1.337 GB, free: 6.695 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.813e-05/0.362, allocations: 11.98 kB / 1.337 GB, free: 6.684 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.362, allocations: 0 / 1.337 GB, free: 6.684 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.362, allocations: 3.938 kB / 1.337 GB, free: 6.68 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003848/0.3624, allocations: 295.3 kB / 1.338 GB, free: 6.375 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.872e-05/0.3624, allocations: 15.91 kB / 1.338 GB, free: 6.359 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.759e-05/0.3624, allocations: 4 kB / 1.338 GB, free: 6.355 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.839e-05/0.3625, allocations: 7.984 kB / 1.338 GB, free: 6.348 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.002e-05/0.3626, allocations: 19.88 kB / 1.338 GB, free: 6.328 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.544e-05/0.3626, allocations: 7.984 kB / 1.338 GB, free: 6.32 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001542/0.3627, allocations: 156.4 kB / 1.338 GB, free: 6.168 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3627, allocations: 0 / 1.338 GB, free: 6.168 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003499/0.3631, allocations: 67.88 kB / 1.338 GB, free: 6.102 MB / 1.029 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.0001767/0.3633, allocations: 115.2 kB / 1.338 GB, free: 5.977 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0006546/0.3639, allocations: 419.3 kB / 1.338 GB, free: 5.531 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3639, allocations: 3.938 kB / 1.338 GB, free: 5.527 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000133/0.364, allocations: 67.91 kB / 1.338 GB, free: 5.461 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004682/0.3645, allocations: 60.53 kB / 1.338 GB, free: 5.402 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007459/0.3653, allocations: 399.7 kB / 1.339 GB, free: 4.984 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004147/0.3657, allocations: 0.7437 MB / 1.34 GB, free: 4.215 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.296e-05/0.3657, allocations: 23.44 kB / 1.34 GB, free: 4.191 MB / 1.029 GB Notification: Performance of SimCode: time 5.11e-07/0.3657, allocations: 3.938 kB / 1.34 GB, free: 4.188 MB / 1.029 GB Notification: Performance of Templates: time 0.006176/0.3719, allocations: 3.371 MB / 1.343 GB, free: 0.8516 MB / 1.029 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.HalfPeriodRatio.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 11.200795723998453]