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.001409/0.001409, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001525/0.001525, allocations: 216.6 kB / 22.25 MB, free: 4.852 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.724/1.724, allocations: 230.6 MB / 256 MB, free: 7.801 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.519/3.519, allocations: 0.4892 GB / 0.7943 GB, free: 35.54 MB / 0.6231 GB " [Timeout remaining time 176] 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.00224/0.00224, allocations: 71.27 kB / 1.154 GB, free: 25.56 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4102/0.4124, allocations: 176.1 MB / 1.326 GB, free: 1.879 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.HalfPeriodRatio): time 0.003079/0.4155, allocations: 1.089 MB / 1.327 GB, free: 0.793 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002495/0.418, allocations: 1.42 MB / 1.328 GB, free: 15.36 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001967/0.4182, allocations: 4 kB / 1.328 GB, free: 15.36 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 7.789e-05/0.4183, allocations: 19.73 kB / 1.328 GB, free: 15.34 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002206/0.4185, allocations: 51.59 kB / 1.328 GB, free: 15.29 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001087/0.4196, allocations: 387.5 kB / 1.328 GB, free: 14.91 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0007296/0.4203, allocations: 463.2 kB / 1.329 GB, free: 14.46 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002254/0.4205, allocations: 71.59 kB / 1.329 GB, free: 14.39 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003217/0.4209, allocations: 179.5 kB / 1.329 GB, free: 14.21 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000314/0.4212, allocations: 139.4 kB / 1.329 GB, free: 14.07 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001157/0.4213, allocations: 48 kB / 1.329 GB, free: 14.03 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001393/0.4214, allocations: 59.98 kB / 1.329 GB, free: 13.97 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.956e-05/0.4215, allocations: 47.84 kB / 1.329 GB, free: 13.92 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001869/0.4217, allocations: 147.5 kB / 1.33 GB, free: 13.78 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006681/0.4224, allocations: 0.4943 MB / 1.33 GB, free: 13.28 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.4224, allocations: 0 / 1.33 GB, free: 13.28 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.114e-06/0.4224, allocations: 0 / 1.33 GB, free: 13.28 MB / 1.029 GB Notification: Performance of Transformations before backend: time 2.084e-05/0.4224, allocations: 8 kB / 1.33 GB, free: 13.27 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.001322/0.4237, allocations: 0.5466 MB / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.006e-05/0.4238, allocations: 8.031 kB / 1.331 GB, free: 12.67 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001637/0.4239, allocations: 36.75 kB / 1.331 GB, free: 12.63 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004916/0.4244, allocations: 222.3 kB / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.438e-05/0.4245, allocations: 20.36 kB / 1.331 GB, free: 12.37 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.601e-05/0.4245, allocations: 28.38 kB / 1.331 GB, free: 12.34 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000324/0.4249, allocations: 138 kB / 1.331 GB, free: 12.2 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.57e-05/0.4249, allocations: 3.938 kB / 1.331 GB, free: 12.2 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.216e-05/0.4249, allocations: 8 kB / 1.331 GB, free: 12.19 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.149e-05/0.4249, allocations: 8 kB / 1.331 GB, free: 12.18 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002011/0.4251, allocations: 91.89 kB / 1.331 GB, free: 12.09 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001179/0.4263, allocations: 0.5349 MB / 1.332 GB, free: 11.53 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002351/0.4265, allocations: 106.4 kB / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.268e-05/0.4266, allocations: 48.84 kB / 1.332 GB, free: 11.36 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.863e-05/0.4266, allocations: 0 / 1.332 GB, free: 11.36 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000337/0.427, allocations: 151.2 kB / 1.332 GB, free: 11.2 MB / 1.029 GB Notification: Performance of pre-optimization done (n=20): time 1.813e-06/0.427, allocations: 4 kB / 1.332 GB, free: 11.2 MB / 1.029 GB Notification: Performance of matching and sorting (n=20): time 0.0005646/0.4275, allocations: 255.3 kB / 1.332 GB, free: 10.95 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.969e-05/0.4276, allocations: 59.39 kB / 1.332 GB, free: 10.88 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002791/0.4279, allocations: 218.7 kB / 1.332 GB, free: 10.65 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.531e-05/0.4279, allocations: 37.7 kB / 1.332 GB, free: 10.61 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001446/0.4281, allocations: 148.5 kB / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.166e-05/0.4281, allocations: 51.53 kB / 1.333 GB, free: 10.41 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001615/0.4283, allocations: 81.67 kB / 1.333 GB, free: 10.32 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001921/0.4285, allocations: 338.8 kB / 1.333 GB, free: 9.98 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003752/0.4289, allocations: 221 kB / 1.333 GB, free: 9.746 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004101/0.4293, allocations: 310.9 kB / 1.334 GB, free: 9.391 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005348/0.4298, allocations: 342.3 kB / 1.334 GB, free: 9.004 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/0.4298, allocations: 3.938 kB / 1.334 GB, free: 9 MB / 1.029 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0009816/0.4308, allocations: 0.5893 MB / 1.334 GB, free: 8.367 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 9.444e-05/0.4309, allocations: 101.1 kB / 1.335 GB, free: 8.25 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.276e-06/0.4309, allocations: 0 / 1.335 GB, free: 8.25 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.081e-05/0.4309, allocations: 4 kB / 1.335 GB, free: 8.246 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001234/0.431, allocations: 31.92 kB / 1.335 GB, free: 8.215 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.062e-05/0.4311, allocations: 7.938 kB / 1.335 GB, free: 8.207 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005135/0.4316, allocations: 88.05 kB / 1.335 GB, free: 8.121 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.183e-05/0.4316, allocations: 23.97 kB / 1.335 GB, free: 8.098 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.0001799/0.4318, allocations: 149.7 kB / 1.335 GB, free: 7.941 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.714e-05/0.4318, allocations: 23.86 kB / 1.335 GB, free: 7.918 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003625/0.4322, allocations: 209.3 kB / 1.335 GB, free: 7.707 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.4322, allocations: 3.938 kB / 1.335 GB, free: 7.703 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.4322, allocations: 0 / 1.335 GB, free: 7.703 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.897e-05/0.4322, allocations: 11.98 kB / 1.335 GB, free: 7.691 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006805/0.4329, allocations: 481.9 kB / 1.336 GB, free: 7.184 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.4329, allocations: 0 / 1.336 GB, free: 7.184 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.029e-05/0.433, allocations: 12 kB / 1.336 GB, free: 7.172 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.433, allocations: 0 / 1.336 GB, free: 7.172 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.664e-05/0.433, allocations: 7.984 kB / 1.336 GB, free: 7.164 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.433, allocations: 4 kB / 1.336 GB, free: 7.16 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.433, allocations: 0 / 1.336 GB, free: 7.16 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003925/0.4334, allocations: 308.9 kB / 1.336 GB, free: 6.844 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.636e-05/0.4334, allocations: 15.91 kB / 1.336 GB, free: 6.828 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.971e-05/0.4335, allocations: 8 kB / 1.336 GB, free: 6.82 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.736e-05/0.4335, allocations: 7.984 kB / 1.336 GB, free: 6.812 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.856e-05/0.4336, allocations: 15.94 kB / 1.336 GB, free: 6.797 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.518e-05/0.4336, allocations: 7.984 kB / 1.336 GB, free: 6.789 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001694/0.4338, allocations: 156.4 kB / 1.336 GB, free: 6.637 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4338, allocations: 3.938 kB / 1.336 GB, free: 6.633 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003935/0.4342, allocations: 67.88 kB / 1.336 GB, free: 6.566 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.0002104/0.4344, allocations: 121.1 kB / 1.336 GB, free: 6.438 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0008041/0.4352, allocations: 0.5069 MB / 1.337 GB, free: 5.875 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.4352, allocations: 0 / 1.337 GB, free: 5.875 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001644/0.4354, allocations: 69.62 kB / 1.337 GB, free: 5.809 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004939/0.4359, allocations: 66.86 kB / 1.337 GB, free: 5.746 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008337/0.4367, allocations: 364.4 kB / 1.337 GB, free: 5.367 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001505/0.4368, allocations: 125.9 kB / 1.337 GB, free: 5.223 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 9.585e-05/0.4369, allocations: 25.95 kB / 1.337 GB, free: 5.195 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.898e-05/0.437, allocations: 19.44 kB / 1.337 GB, free: 5.176 MB / 1.029 GB Notification: Performance of SimCode: time 4.61e-07/0.437, allocations: 0 / 1.337 GB, free: 5.176 MB / 1.029 GB Notification: Performance of Templates: time 0.0106/0.4476, allocations: 4.596 MB / 1.342 GB, free: 0.7148 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/jenkins/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: 10.11720416508615]