Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.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.0008392/0.0008392, allocations: 76.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.000889/0.000889, allocations: 174.3 kB / 23.21 MB, free: 1.352 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.9075/0.9075, allocations: 177.1 MB / 203.5 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.775/1.775, allocations: 389 MB / 0.6338 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.CDL.Routing.Validation.IntegerExtractor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|extIndInt.u.1.|extIndInt.u.2.|extIndInt.u.3.|extIndInt.u.4.|extIndInt.index|extIndInt.y|extIndInt1.index|extIndInt1.y|extIndInt2.index|extIndInt2.y|extIndInt3.index|extIndInt3.y|extIndInt4.index|extIndInt4.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|extIndInt.u.1.|extIndInt.u.2.|extIndInt.u.3.|extIndInt.u.4.|extIndInt.index|extIndInt.y|extIndInt1.index|extIndInt1.y|extIndInt2.index|extIndInt2.y|extIndInt3.index|extIndInt3.y|extIndInt4.index|extIndInt4.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.807e-06/3.807e-06, allocations: 3.984 kB / 1.001 GB, free: 11.88 MB / 0.9167 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.871e-05/3.252e-05, allocations: 4.672 kB / 1.001 GB, free: 11.88 MB / 0.9167 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor): time 0.001693/0.001726, allocations: 1.093 MB / 1.002 GB, free: 10.79 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.001632/0.003358, allocations: 1.54 MB / 1.003 GB, free: 9.23 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001044/0.003462, allocations: 7.875 kB / 1.003 GB, free: 9.223 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0001209/0.003583, allocations: 31.61 kB / 1.003 GB, free: 9.191 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 9.197e-05/0.003675, allocations: 59.52 kB / 1.004 GB, free: 9.133 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008244/0.0045, allocations: 499.7 kB / 1.004 GB, free: 8.656 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.000448/0.004948, allocations: 0.5932 MB / 1.005 GB, free: 8.059 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002275/0.005175, allocations: 104.9 kB / 1.005 GB, free: 7.953 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000269/0.005444, allocations: 331.5 kB / 1.005 GB, free: 7.629 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001855/0.00563, allocations: 171.5 kB / 1.005 GB, free: 7.461 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 5.81e-05/0.005688, allocations: 60 kB / 1.005 GB, free: 7.402 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 9.577e-05/0.005783, allocations: 79.86 kB / 1.005 GB, free: 7.324 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 7.091e-05/0.005854, allocations: 79.67 kB / 1.005 GB, free: 7.246 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0001341/0.005988, allocations: 171.7 kB / 1.006 GB, free: 7.078 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0005095/0.006498, allocations: 0.7051 MB / 1.006 GB, free: 6.371 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.006501, allocations: 0 / 1.006 GB, free: 6.371 MB / 0.9167 GB Notification: Performance of FrontEnd: time 9.92e-07/0.006502, allocations: 0 / 1.006 GB, free: 6.371 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 6.061e-06/0.006508, allocations: 0 / 1.006 GB, free: 6.371 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.0007291/0.007237, allocations: 0.664 MB / 1.007 GB, free: 5.648 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.007274, allocations: 8.75 kB / 1.007 GB, free: 5.641 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.645e-05/0.007361, allocations: 48.7 kB / 1.007 GB, free: 5.594 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000616/0.007977, allocations: 341.1 kB / 1.007 GB, free: 5.234 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.742e-05/0.008004, allocations: 24.88 kB / 1.007 GB, free: 5.211 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.587e-05/0.00805, allocations: 40.36 kB / 1.007 GB, free: 5.172 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000322/0.008372, allocations: 381 kB / 1.008 GB, free: 4.766 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.308e-06/0.008381, allocations: 192 / 1.008 GB, free: 4.766 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.902e-05/0.0084, allocations: 12.38 kB / 1.008 GB, free: 4.754 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/0.008407, allocations: 8.125 kB / 1.008 GB, free: 4.746 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001727/0.00858, allocations: 157.9 kB / 1.008 GB, free: 4.594 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008731/0.009453, allocations: 0.6854 MB / 1.009 GB, free: 3.871 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002363/0.00969, allocations: 214.6 kB / 1.009 GB, free: 3.652 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000175/0.009865, allocations: 192.8 kB / 1.009 GB, free: 3.461 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.201e-05/0.009877, allocations: 0 / 1.009 GB, free: 3.461 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002635/0.01014, allocations: 354.7 kB / 1.009 GB, free: 3.066 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=28): time 1.363e-06/0.01014, allocations: 0 / 1.009 GB, free: 3.066 MB / 0.9167 GB Notification: Performance of matching and sorting (n=28): time 0.0004893/0.01063, allocations: 435.1 kB / 1.01 GB, free: 2.637 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.35e-05/0.01068, allocations: 106.8 kB / 1.01 GB, free: 2.508 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002124/0.0109, allocations: 328.3 kB / 1.01 GB, free: 2.18 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 4.37e-05/0.01094, allocations: 37.7 kB / 1.01 GB, free: 2.137 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001783/0.01112, allocations: 180.7 kB / 1.01 GB, free: 1.957 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 3.539e-05/0.01115, allocations: 63.53 kB / 1.01 GB, free: 1.895 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001337/0.01129, allocations: 149.9 kB / 1.011 GB, free: 1.738 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.489e-05/0.01137, allocations: 342.8 kB / 1.011 GB, free: 1.395 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002834/0.01166, allocations: 335.5 kB / 1.011 GB, free: 1.043 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00034/0.012, allocations: 0.5033 MB / 1.012 GB, free: 464 kB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004163/0.01241, allocations: 0.5272 MB / 1.012 GB, free: 15.86 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.01242, allocations: 0 / 1.012 GB, free: 15.86 MB / 0.9323 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0007567/0.01317, allocations: 0.8683 MB / 1.013 GB, free: 14.93 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 6.617e-05/0.01324, allocations: 130.8 kB / 1.013 GB, free: 14.78 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.01325, allocations: 4 kB / 1.013 GB, free: 14.78 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.706e-05/0.01326, allocations: 7.938 kB / 1.013 GB, free: 14.77 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001358/0.0134, allocations: 64.31 kB / 1.013 GB, free: 14.71 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.066e-06/0.01341, allocations: 8 kB / 1.013 GB, free: 14.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003273/0.01373, allocations: 123.6 kB / 1.013 GB, free: 14.58 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.678e-05/0.0138, allocations: 71.86 kB / 1.013 GB, free: 14.51 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 45 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,conInt.y,conInt3.y,conInt2.y,extIndInt.u[4],extIndInt.u[1],extIndInt1.u[4],extIndInt2.u[4],extIndInt3.u[4],extIndInt4.u[4],extIndInt1.u[1],extIndInt2.u[1],extIndInt3.u[1],extIndInt4.u[1],intPul3.booPul.y,$PRE.intPul3.booPul.y,intPul3.y,intPul2.booPul.y,$PRE.intPul2.booPul.y,intPul2.y,intPul1.booPul.y,$PRE.intPul1.booPul.y,intPul.booPul.y,$PRE.intPul.booPul.y,extIndInt4.y,extIndInt4.u[3],extIndInt4.u[2],extIndInt3.y,extIndInt3.u[3],extIndInt3.u[2],extIndInt2.y,extIndInt2.u[3],extIndInt2.u[2],extIndInt1.y,extIndInt1.u[3],extIndInt1.u[2],extIndInt.u[3],extIndInt.u[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 4 * 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.0001512/0.01395, allocations: 193.6 kB / 1.014 GB, free: 14.31 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.006e-05/0.01398, allocations: 39.75 kB / 1.014 GB, free: 14.27 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003636/0.01435, allocations: 352.6 kB / 1.014 GB, free: 13.92 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.01435, allocations: 11.88 kB / 1.014 GB, free: 13.91 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.471e-06/0.01436, allocations: 7.984 kB / 1.014 GB, free: 13.9 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.01436, allocations: 0 / 1.014 GB, free: 13.9 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005603/0.01492, allocations: 0.6591 MB / 1.015 GB, free: 13.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.01492, allocations: 0 / 1.015 GB, free: 13.2 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.208e-05/0.01499, allocations: 35.98 kB / 1.015 GB, free: 13.17 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.015, allocations: 4 kB / 1.015 GB, free: 13.16 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.203e-05/0.01501, allocations: 7.984 kB / 1.015 GB, free: 13.16 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.01501, allocations: 7.938 kB / 1.015 GB, free: 13.15 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.01502, allocations: 0 / 1.015 GB, free: 13.15 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003108/0.01533, allocations: 429.4 kB / 1.015 GB, free: 12.71 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 2.947e-05/0.01536, allocations: 39.73 kB / 1.015 GB, free: 12.67 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.192e-05/0.01538, allocations: 4 kB / 1.015 GB, free: 12.67 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.388e-05/0.01545, allocations: 11.98 kB / 1.015 GB, free: 12.66 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.325e-05/0.0155, allocations: 27.89 kB / 1.015 GB, free: 12.63 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.492e-05/0.01551, allocations: 15.98 kB / 1.015 GB, free: 12.61 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0001293/0.01564, allocations: 203.1 kB / 1.015 GB, free: 12.41 MB / 0.9323 GB Notification: Performance of sort global known variables: time 8e-08/0.01564, allocations: 0 / 1.015 GB, free: 12.41 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0002791/0.01592, allocations: 99.88 kB / 1.015 GB, free: 12.32 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 32 (extIndInt.u[2],extIndInt.u[3],$cse1,$cse2,$cse3,$cse4,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,extIndInt1.u[2],extIndInt1.u[3],extIndInt1.y,extIndInt2.u[2],extIndInt2.u[3],extIndInt2.y,extIndInt3.u[2],extIndInt3.u[3],extIndInt3.y,extIndInt4.u[2],extIndInt4.u[3],extIndInt4.y,intPul.booPul.y,intPul1.booPul.y,intPul2.y,intPul2.booPul.y,intPul3.y,intPul3.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0001567/0.01608, allocations: 133.1 kB / 1.016 GB, free: 12.18 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0005912/0.01667, allocations: 0.7344 MB / 1.016 GB, free: 11.37 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.01667, allocations: 0 / 1.016 GB, free: 11.37 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0001332/0.0168, allocations: 139.7 kB / 1.016 GB, free: 11.23 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003313/0.01713, allocations: 83.28 kB / 1.017 GB, free: 11.15 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007342/0.01787, allocations: 0.6064 MB / 1.017 GB, free: 10.51 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001075/0.01798, allocations: 170.5 kB / 1.017 GB, free: 10.32 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.016e-05/0.01803, allocations: 40.48 kB / 1.017 GB, free: 10.29 MB / 0.9323 GB Notification: Performance of SimCode: time 7.81e-07/0.01803, allocations: 4 kB / 1.017 GB, free: 10.28 MB / 0.9323 GB Notification: Performance of Templates: time 0.005326/0.02335, allocations: 5.013 MB / 1.022 GB, free: 5.301 MB / 0.9323 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.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: 7.277653365395963]