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.0008897/0.0008897, 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.00104/0.00104, 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.8944/0.8944, allocations: 177.1 MB / 203.5 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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 1.797/1.797, allocations: 377.8 MB / 0.6229 GB, free: 8.645 MB / 0.5886 GB " [Timeout remaining time 178] 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.034e-06/2.034e-06, allocations: 0 / 0.9822 GB, free: 2.062 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.377e-05/2.58e-05, allocations: 2.281 kB / 0.9822 GB, free: 2.059 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.HalfPeriodRatio): time 0.001547/0.001573, allocations: 1.105 MB / 0.9833 GB, free: 0.957 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001405/0.002978, allocations: 1.423 MB / 0.9847 GB, free: 15.52 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.884e-05/0.003067, allocations: 4 kB / 0.9847 GB, free: 15.51 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 4.383e-05/0.003111, allocations: 19.75 kB / 0.9847 GB, free: 15.49 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001234/0.003234, allocations: 63.39 kB / 0.9848 GB, free: 15.43 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006199/0.003854, allocations: 377.5 kB / 0.9851 GB, free: 15.07 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0003572/0.004211, allocations: 467 kB / 0.9856 GB, free: 14.62 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001549/0.004366, allocations: 71.59 kB / 0.9856 GB, free: 14.55 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001978/0.004564, allocations: 255.6 kB / 0.9859 GB, free: 14.3 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001547/0.004718, allocations: 127.6 kB / 0.986 GB, free: 14.17 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 4.773e-05/0.004766, allocations: 52 kB / 0.986 GB, free: 14.12 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 8.022e-05/0.004846, allocations: 55.98 kB / 0.9861 GB, free: 14.07 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 3.968e-05/0.004886, allocations: 55.75 kB / 0.9862 GB, free: 14.01 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001076/0.004994, allocations: 127.8 kB / 0.9863 GB, free: 13.89 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0004009/0.005395, allocations: 0.5454 MB / 0.9868 GB, free: 13.34 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.334e-06/0.005397, allocations: 0 / 0.9868 GB, free: 13.34 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.012e-06/0.005398, allocations: 0 / 0.9868 GB, free: 13.34 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.94e-06/0.005403, allocations: 0 / 0.9868 GB, free: 13.34 MB / 0.948 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.0006481/0.006051, allocations: 0.549 MB / 0.9873 GB, free: 12.74 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.006089, allocations: 12.03 kB / 0.9874 GB, free: 12.73 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.669e-05/0.006156, allocations: 32.73 kB / 0.9874 GB, free: 12.7 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002527/0.006409, allocations: 233.3 kB / 0.9876 GB, free: 12.44 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.224e-05/0.006431, allocations: 24.31 kB / 0.9876 GB, free: 12.42 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.431e-05/0.006465, allocations: 32.3 kB / 0.9877 GB, free: 12.39 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001827/0.006648, allocations: 138.6 kB / 0.9878 GB, free: 12.25 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.335e-06/0.006656, allocations: 192 / 0.9878 GB, free: 12.25 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.326e-05/0.006669, allocations: 4.375 kB / 0.9878 GB, free: 12.24 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.006676, allocations: 8.125 kB / 0.9878 GB, free: 12.23 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001283/0.006805, allocations: 92.84 kB / 0.9879 GB, free: 12.14 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006567/0.007461, allocations: 0.5388 MB / 0.9884 GB, free: 11.57 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001459/0.007607, allocations: 102.5 kB / 0.9885 GB, free: 11.46 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.229e-05/0.00767, allocations: 48.84 kB / 0.9886 GB, free: 11.41 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.786e-05/0.007687, allocations: 0 / 0.9886 GB, free: 11.41 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001791/0.007866, allocations: 153.5 kB / 0.9887 GB, free: 11.25 MB / 0.948 GB Notification: Performance of pre-optimization done (n=20): time 1.263e-06/0.007868, allocations: 0 / 0.9887 GB, free: 11.25 MB / 0.948 GB Notification: Performance of matching and sorting (n=20): time 0.0003477/0.008215, allocations: 249.5 kB / 0.989 GB, free: 11 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.206e-05/0.008248, allocations: 55.41 kB / 0.989 GB, free: 10.94 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001492/0.008397, allocations: 222.9 kB / 0.9892 GB, free: 10.71 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 3.226e-05/0.008429, allocations: 37.7 kB / 0.9893 GB, free: 10.67 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 7.732e-05/0.008506, allocations: 144.6 kB / 0.9894 GB, free: 10.52 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.459e-05/0.008541, allocations: 55.58 kB / 0.9894 GB, free: 10.47 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.833e-05/0.008639, allocations: 81.67 kB / 0.9895 GB, free: 10.38 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.254e-05/0.008722, allocations: 334.8 kB / 0.9898 GB, free: 10.05 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002387/0.00896, allocations: 232.9 kB / 0.9901 GB, free: 9.801 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002537/0.009214, allocations: 295 kB / 0.9903 GB, free: 9.461 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002911/0.009505, allocations: 334.4 kB / 0.9907 GB, free: 9.082 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.00951, allocations: 4 kB / 0.9907 GB, free: 9.078 MB / 0.948 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0005869/0.0101, allocations: 0.5969 MB / 0.9913 GB, free: 8.438 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 5.025e-05/0.01015, allocations: 101.1 kB / 0.9913 GB, free: 8.32 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.01015, allocations: 4.25 kB / 0.9914 GB, free: 8.316 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.01017, allocations: 8 kB / 0.9914 GB, free: 8.309 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.92e-05/0.01025, allocations: 27.92 kB / 0.9914 GB, free: 8.281 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.01025, allocations: 4.156 kB / 0.9914 GB, free: 8.277 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000239/0.01049, allocations: 87.8 kB / 0.9915 GB, free: 8.191 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.847e-05/0.01052, allocations: 27.97 kB / 0.9915 GB, free: 8.164 MB / 0.948 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.000108/0.01063, allocations: 158 kB / 0.9917 GB, free: 8 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.976e-05/0.01065, allocations: 23.8 kB / 0.9917 GB, free: 7.977 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002506/0.0109, allocations: 213.7 kB / 0.9919 GB, free: 7.758 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.0109, allocations: 0 / 0.9919 GB, free: 7.758 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.01091, allocations: 0 / 0.9919 GB, free: 7.758 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.566e-06/0.01091, allocations: 0 / 0.9919 GB, free: 7.758 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004198/0.01133, allocations: 486 kB / 0.9923 GB, free: 7.246 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.01133, allocations: 3.938 kB / 0.9923 GB, free: 7.242 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.818e-05/0.01137, allocations: 19.92 kB / 0.9924 GB, free: 7.223 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.998e-06/0.01137, allocations: 4.047 kB / 0.9924 GB, free: 7.219 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.154e-05/0.01138, allocations: 7.984 kB / 0.9924 GB, free: 7.211 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.01139, allocations: 0 / 0.9924 GB, free: 7.211 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.01139, allocations: 3.984 kB / 0.9924 GB, free: 7.207 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002145/0.0116, allocations: 293.1 kB / 0.9927 GB, free: 6.906 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.442e-05/0.01163, allocations: 31.78 kB / 0.9927 GB, free: 6.875 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.522e-05/0.01164, allocations: 0 / 0.9927 GB, free: 6.875 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.256e-05/0.01169, allocations: 4 kB / 0.9927 GB, free: 6.871 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.993e-05/0.01173, allocations: 19.97 kB / 0.9927 GB, free: 6.852 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.312e-05/0.01174, allocations: 4 kB / 0.9927 GB, free: 6.848 MB / 0.948 GB Notification: Performance of sorting global known variables: time 9.726e-05/0.01184, allocations: 164.3 kB / 0.9929 GB, free: 6.688 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.01184, allocations: 7.938 kB / 0.9929 GB, free: 6.68 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002265/0.01206, allocations: 67.89 kB / 0.9929 GB, free: 6.613 MB / 0.948 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.0001195/0.01218, allocations: 115.2 kB / 0.9931 GB, free: 6.492 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0004613/0.01264, allocations: 0.4952 MB / 0.9935 GB, free: 5.941 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.01264, allocations: 0 / 0.9935 GB, free: 5.941 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 9.488e-05/0.01274, allocations: 82.25 kB / 0.9936 GB, free: 5.863 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002906/0.01303, allocations: 64.33 kB / 0.9937 GB, free: 5.801 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004957/0.01353, allocations: 388.7 kB / 0.994 GB, free: 5.387 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.273e-05/0.01361, allocations: 133.8 kB / 0.9942 GB, free: 5.242 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.724e-05/0.01365, allocations: 24.44 kB / 0.9942 GB, free: 5.219 MB / 0.948 GB Notification: Performance of SimCode: time 6.61e-07/0.01365, allocations: 0 / 0.9942 GB, free: 5.219 MB / 0.948 GB Notification: Performance of Templates: time 0.003646/0.01729, allocations: 3.443 MB / 0.9976 GB, free: 1.816 MB / 0.948 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: 6.698643688112497]