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.001436/0.001436, allocations: 84.12 kB / 19.18 MB, free: 2.527 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.001576/0.001576, allocations: 165.3 kB / 22.46 MB, free: 5.359 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.53/1.53, allocations: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] 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 2.94/2.94, allocations: 377.8 MB / 0.6221 GB, free: 12.55 MB / 0.5919 GB " [Timeout remaining time 176] 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.434e-06/2.434e-06, allocations: 0 / 0.9814 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.834e-05/3.078e-05, allocations: 13.59 kB / 0.9814 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.HalfPeriodRatio): time 0.002405/0.002436, allocations: 1.098 MB / 0.9825 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002132/0.004567, allocations: 1.419 MB / 0.9839 GB, free: 9.367 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.436e-05/0.004652, allocations: 4 kB / 0.9839 GB, free: 9.363 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 5.813e-05/0.00471, allocations: 19.69 kB / 0.9839 GB, free: 9.344 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001639/0.004874, allocations: 63.5 kB / 0.984 GB, free: 9.281 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.000959/0.005833, allocations: 384.6 kB / 0.9843 GB, free: 8.914 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0006023/0.006435, allocations: 471 kB / 0.9848 GB, free: 8.453 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001849/0.00662, allocations: 71.66 kB / 0.9849 GB, free: 8.383 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003264/0.006946, allocations: 251.6 kB / 0.9851 GB, free: 8.137 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003189/0.007265, allocations: 127.6 kB / 0.9852 GB, free: 8.012 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 8.437e-05/0.00735, allocations: 48 kB / 0.9853 GB, free: 7.965 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001274/0.007477, allocations: 63.97 kB / 0.9853 GB, free: 7.902 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 6.858e-05/0.007546, allocations: 55.77 kB / 0.9854 GB, free: 7.848 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001652/0.007711, allocations: 123.8 kB / 0.9855 GB, free: 7.727 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.000636/0.008347, allocations: 0.5415 MB / 0.986 GB, free: 7.184 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.00835, allocations: 0 / 0.986 GB, free: 7.184 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.312e-06/0.008352, allocations: 0 / 0.986 GB, free: 7.184 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.157e-06/0.008361, allocations: 7.938 kB / 0.986 GB, free: 7.176 MB / 0.9356 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.0009619/0.009323, allocations: 0.5529 MB / 0.9866 GB, free: 6.57 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.661e-05/0.009369, allocations: 8.031 kB / 0.9866 GB, free: 6.562 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001015/0.009471, allocations: 36.73 kB / 0.9866 GB, free: 6.527 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003681/0.009839, allocations: 225.3 kB / 0.9868 GB, free: 6.281 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.934e-05/0.009868, allocations: 20.38 kB / 0.9869 GB, free: 6.262 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.006e-05/0.009958, allocations: 28.36 kB / 0.9869 GB, free: 6.234 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002665/0.01022, allocations: 142 kB / 0.987 GB, free: 6.09 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.01023, allocations: 192 / 0.987 GB, free: 6.09 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.953e-05/0.01025, allocations: 8.375 kB / 0.987 GB, free: 6.082 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.17e-05/0.01026, allocations: 12.12 kB / 0.987 GB, free: 6.07 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002461/0.01051, allocations: 88.78 kB / 0.9871 GB, free: 5.984 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009851/0.0115, allocations: 0.5349 MB / 0.9876 GB, free: 5.418 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002142/0.01171, allocations: 106.5 kB / 0.9878 GB, free: 5.305 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.423e-05/0.0118, allocations: 48.84 kB / 0.9878 GB, free: 5.254 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.997e-05/0.01182, allocations: 0 / 0.9878 GB, free: 5.254 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003157/0.01214, allocations: 149.3 kB / 0.9879 GB, free: 5.098 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=20): time 1.573e-06/0.01214, allocations: 4 kB / 0.9879 GB, free: 5.094 MB / 0.9356 GB Notification: Performance of matching and sorting (n=20): time 0.0005246/0.01267, allocations: 249.4 kB / 0.9882 GB, free: 4.844 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.304e-05/0.01272, allocations: 63.41 kB / 0.9882 GB, free: 4.77 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000235/0.01295, allocations: 211 kB / 0.9884 GB, free: 4.555 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 6.019e-05/0.01301, allocations: 41.7 kB / 0.9885 GB, free: 4.508 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.00018/0.01319, allocations: 140.6 kB / 0.9886 GB, free: 4.367 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 5.722e-05/0.01325, allocations: 51.58 kB / 0.9887 GB, free: 4.316 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001692/0.01342, allocations: 85.67 kB / 0.9887 GB, free: 4.227 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001953/0.01362, allocations: 330.8 kB / 0.9891 GB, free: 3.895 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004401/0.01406, allocations: 237 kB / 0.9893 GB, free: 3.645 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004137/0.01447, allocations: 295 kB / 0.9896 GB, free: 3.305 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004847/0.01495, allocations: 342.3 kB / 0.9899 GB, free: 2.918 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.01496, allocations: 0 / 0.9899 GB, free: 2.918 MB / 0.9356 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.001001/0.01596, allocations: 0.597 MB / 0.9905 GB, free: 2.277 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001023/0.01606, allocations: 113 kB / 0.9906 GB, free: 2.148 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.323e-06/0.01607, allocations: 0 / 0.9906 GB, free: 2.148 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/0.01609, allocations: 4 kB / 0.9906 GB, free: 2.145 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000129/0.01621, allocations: 23.98 kB / 0.9906 GB, free: 2.121 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.26e-05/0.01623, allocations: 7.938 kB / 0.9906 GB, free: 2.113 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005296/0.01676, allocations: 88.05 kB / 0.9907 GB, free: 2.027 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.588e-05/0.01681, allocations: 23.98 kB / 0.9907 GB, free: 2.004 MB / 0.9356 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.0001934/0.01701, allocations: 154 kB / 0.9909 GB, free: 1.844 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.007e-05/0.01705, allocations: 23.8 kB / 0.9909 GB, free: 1.82 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003782/0.01742, allocations: 210 kB / 0.9911 GB, free: 1.609 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.01743, allocations: 3.938 kB / 0.9911 GB, free: 1.605 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.01743, allocations: 4 kB / 0.9911 GB, free: 1.602 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-06/0.01744, allocations: 4 kB / 0.9911 GB, free: 1.598 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006881/0.01813, allocations: 481.9 kB / 0.9916 GB, free: 1.09 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.01813, allocations: 0 / 0.9916 GB, free: 1.09 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.524e-05/0.01819, allocations: 15.98 kB / 0.9916 GB, free: 1.074 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.0182, allocations: 0 / 0.9916 GB, free: 1.074 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.746e-05/0.01821, allocations: 8 kB / 0.9916 GB, free: 1.066 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.01822, allocations: 0 / 0.9916 GB, free: 1.066 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.107e-06/0.01822, allocations: 3.984 kB / 0.9916 GB, free: 1.062 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003721/0.01859, allocations: 297.7 kB / 0.9919 GB, free: 0.7578 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.647e-05/0.01863, allocations: 23.78 kB / 0.9919 GB, free: 0.7344 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.053e-05/0.01866, allocations: 8 kB / 0.9919 GB, free: 0.7266 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.067e-05/0.01874, allocations: 8 kB / 0.9919 GB, free: 0.7188 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.09e-05/0.01879, allocations: 19.91 kB / 0.9919 GB, free: 0.6992 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.163e-05/0.01881, allocations: 8 kB / 0.9919 GB, free: 0.6914 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001483/0.01896, allocations: 156.4 kB / 0.9921 GB, free: 0.5391 MB / 0.9356 GB Notification: Performance of sort global known variables: time 9e-08/0.01896, allocations: 0 / 0.9921 GB, free: 0.5391 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003602/0.01932, allocations: 67.89 kB / 0.9922 GB, free: 484 kB / 0.9356 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.0001857/0.01951, allocations: 123.2 kB / 0.9923 GB, free: 352 kB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0007507/0.02026, allocations: 0.507 MB / 0.9928 GB, free: 15.78 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.489e-06/0.02026, allocations: 4 kB / 0.9928 GB, free: 15.78 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001372/0.0204, allocations: 71.84 kB / 0.9928 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004854/0.02088, allocations: 66.59 kB / 0.9929 GB, free: 15.64 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007991/0.02168, allocations: 365 kB / 0.9933 GB, free: 15.26 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001354/0.02182, allocations: 125.9 kB / 0.9934 GB, free: 15.12 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 7.566e-05/0.02189, allocations: 25.94 kB / 0.9934 GB, free: 15.09 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.565e-05/0.02198, allocations: 20.5 kB / 0.9934 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of SimCode: time 4.01e-07/0.02198, allocations: 0 / 0.9934 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of Templates: time 0.009629/0.03161, allocations: 4.365 MB / 0.9977 GB, free: 10.86 MB / 0.9512 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: 8.54346639290452]