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.001911/0.001911, allocations: 80.41 kB / 20.23 MB, free: 4.203 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.002278/0.002278, allocations: 165.7 kB / 23.55 MB, free: 0.8906 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 1.582/1.582, allocations: 177.1 MB / 203.9 MB, free: 5.566 MB / 186.7 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.864/2.864, allocations: 377.8 MB / 0.6232 GB, free: 8.512 MB / 0.5886 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.786e-06/2.786e-06, allocations: 0 / 0.8108 GB, free: 2.016 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.658e-05/3.937e-05, allocations: 7.156 kB / 0.8108 GB, free: 2.008 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.HalfPeriodRatio): time 0.002913/0.002952, allocations: 1.111 MB / 0.8119 GB, free: 0.9219 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.002628/0.00558, allocations: 1.429 MB / 0.8133 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002126/0.005793, allocations: 1.594 kB / 0.8133 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 8.197e-05/0.005874, allocations: 15.75 kB / 0.8133 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0002518/0.006126, allocations: 55.58 kB / 0.8134 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.001113/0.007239, allocations: 371.8 kB / 0.8137 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0007469/0.007986, allocations: 467.6 kB / 0.8142 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002688/0.008255, allocations: 68.72 kB / 0.8142 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005774/0.008832, allocations: 255.6 kB / 0.8145 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000322/0.009154, allocations: 128.4 kB / 0.8146 GB, free: 14.15 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.0001044/0.009258, allocations: 44 kB / 0.8147 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001328/0.009391, allocations: 65.3 kB / 0.8147 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 6.39e-05/0.009455, allocations: 51.77 kB / 0.8148 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0002148/0.00967, allocations: 135.7 kB / 0.8149 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0007599/0.01043, allocations: 0.5376 MB / 0.8154 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.01043, allocations: 1.156 kB / 0.8154 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.092e-06/0.01044, allocations: 0 / 0.8154 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 1.312e-05/0.01045, allocations: 4 kB / 0.8154 GB, free: 13.32 MB / 0.7761 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.001241/0.01169, allocations: 0.5422 MB / 0.816 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.161e-05/0.01174, allocations: 8.031 kB / 0.816 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001552/0.0119, allocations: 45.73 kB / 0.816 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004639/0.01236, allocations: 229.3 kB / 0.8162 GB, free: 12.42 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.195e-05/0.0124, allocations: 20.36 kB / 0.8162 GB, free: 12.4 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.397e-05/0.01249, allocations: 33.38 kB / 0.8163 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003569/0.01284, allocations: 143.5 kB / 0.8164 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.01286, allocations: 1.531 kB / 0.8164 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.158e-05/0.01288, allocations: 4.375 kB / 0.8164 GB, free: 12.22 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.158e-05/0.01289, allocations: 8.125 kB / 0.8164 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002144/0.0131, allocations: 91.95 kB / 0.8165 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001175/0.01428, allocations: 0.5523 MB / 0.8171 GB, free: 11.54 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002449/0.01452, allocations: 94.55 kB / 0.8171 GB, free: 11.44 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001013/0.01462, allocations: 49.03 kB / 0.8172 GB, free: 11.39 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.665e-05/0.01465, allocations: 5.688 kB / 0.8172 GB, free: 11.39 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003761/0.01503, allocations: 159.2 kB / 0.8174 GB, free: 11.22 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=20): time 1.763e-06/0.01503, allocations: 0 / 0.8174 GB, free: 11.22 MB / 0.7761 GB Notification: Performance of matching and sorting (n=20): time 0.0005922/0.01562, allocations: 260.5 kB / 0.8176 GB, free: 10.96 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.849e-05/0.01568, allocations: 63.39 kB / 0.8177 GB, free: 10.89 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002567/0.01594, allocations: 204.3 kB / 0.8179 GB, free: 10.68 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 6.413e-05/0.016, allocations: 42.23 kB / 0.8179 GB, free: 10.63 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001492/0.01615, allocations: 149 kB / 0.818 GB, free: 10.48 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 5.886e-05/0.01621, allocations: 48.16 kB / 0.8181 GB, free: 10.44 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003848/0.01659, allocations: 89.66 kB / 0.8182 GB, free: 10.34 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001994/0.01679, allocations: 328 kB / 0.8185 GB, free: 10.02 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003838/0.01718, allocations: 225 kB / 0.8187 GB, free: 9.777 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004567/0.01763, allocations: 299.8 kB / 0.819 GB, free: 9.434 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000525/0.01816, allocations: 337.8 kB / 0.8193 GB, free: 9.055 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.01816, allocations: 0 / 0.8193 GB, free: 9.055 MB / 0.7761 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.001139/0.0193, allocations: 0.6184 MB / 0.8199 GB, free: 8.395 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001058/0.01941, allocations: 101.1 kB / 0.82 GB, free: 8.277 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/0.01942, allocations: 5.375 kB / 0.82 GB, free: 8.273 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.611e-05/0.01944, allocations: 4 kB / 0.82 GB, free: 8.27 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001468/0.01959, allocations: 27.92 kB / 0.82 GB, free: 8.242 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.13e-05/0.0196, allocations: 4 kB / 0.82 GB, free: 8.238 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005502/0.02015, allocations: 92.09 kB / 0.8201 GB, free: 8.152 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.336e-05/0.02021, allocations: 31.97 kB / 0.8202 GB, free: 8.121 MB / 0.7761 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.0002064/0.02042, allocations: 158 kB / 0.8203 GB, free: 7.957 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.816e-05/0.02047, allocations: 23.84 kB / 0.8203 GB, free: 7.934 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004099/0.02088, allocations: 207.9 kB / 0.8205 GB, free: 7.723 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.122e-06/0.02089, allocations: 3.984 kB / 0.8205 GB, free: 7.719 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.02089, allocations: 1.125 kB / 0.8205 GB, free: 7.719 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.02089, allocations: 0 / 0.8205 GB, free: 7.719 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007779/0.02167, allocations: 488.3 kB / 0.821 GB, free: 7.207 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.634e-06/0.02167, allocations: 1.312 kB / 0.821 GB, free: 7.207 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.603e-05/0.02175, allocations: 19.98 kB / 0.821 GB, free: 7.188 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.02176, allocations: 0 / 0.821 GB, free: 7.188 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.86e-05/0.02177, allocations: 4.875 kB / 0.821 GB, free: 7.184 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.02178, allocations: 3.938 kB / 0.821 GB, free: 7.18 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.02178, allocations: 1.344 kB / 0.821 GB, free: 7.18 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004701/0.02225, allocations: 303.3 kB / 0.8213 GB, free: 6.867 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 4.489e-05/0.02229, allocations: 23.78 kB / 0.8213 GB, free: 6.844 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.164e-05/0.02232, allocations: 4 kB / 0.8213 GB, free: 6.84 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.994e-05/0.0224, allocations: 4.969 kB / 0.8214 GB, free: 6.836 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.85e-05/0.02247, allocations: 15.97 kB / 0.8214 GB, free: 6.82 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.096e-05/0.02249, allocations: 8 kB / 0.8214 GB, free: 6.812 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001865/0.02268, allocations: 155.4 kB / 0.8215 GB, free: 6.66 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7.1e-08/0.02268, allocations: 0.6562 kB / 0.8215 GB, free: 6.66 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0004382/0.02312, allocations: 75.88 kB / 0.8216 GB, free: 6.586 MB / 0.7761 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.0002284/0.02335, allocations: 110.9 kB / 0.8217 GB, free: 6.473 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0008769/0.02422, allocations: 0.5069 MB / 0.8222 GB, free: 5.91 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.02423, allocations: 6.719 kB / 0.8222 GB, free: 5.906 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001327/0.02436, allocations: 61.98 kB / 0.8223 GB, free: 5.848 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005191/0.02488, allocations: 67.77 kB / 0.8223 GB, free: 5.785 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008796/0.02576, allocations: 365.4 kB / 0.8227 GB, free: 5.398 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001728/0.02593, allocations: 129.5 kB / 0.8228 GB, free: 5.258 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001099/0.02604, allocations: 28.75 kB / 0.8228 GB, free: 5.23 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.344e-05/0.0261, allocations: 20.5 kB / 0.8228 GB, free: 5.211 MB / 0.7761 GB Notification: Performance of SimCode: time 7.01e-07/0.0261, allocations: 0 / 0.8228 GB, free: 5.211 MB / 0.7761 GB Notification: Performance of Templates: time 0.01044/0.03655, allocations: 4.395 MB / 0.8271 GB, free: 0.9727 MB / 0.7761 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.095373899908736]