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.00138/0.00138, allocations: 81.08 kB / 19.87 MB, free: 4.621 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.001565/0.001565, allocations: 169 kB / 23.27 MB, free: 1.223 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.013/1.013, allocations: 177.2 MB / 203.7 MB, free: 5.496 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 2.469/2.469, allocations: 438.1 MB / 0.682 GB, free: 14.17 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/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.[0-9,]+.|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.[0-9,]+.|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 2.825e-06/2.825e-06, allocations: 0 / 0.8897 GB, free: 9.734 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.609e-05/2.891e-05, allocations: 9.344 kB / 0.8898 GB, free: 9.727 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor): time 0.001709/0.001738, allocations: 1.108 MB / 0.8908 GB, free: 8.617 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001609/0.003347, allocations: 1.555 MB / 0.8924 GB, free: 7.047 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000111/0.003458, allocations: 7.938 kB / 0.8924 GB, free: 7.039 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0001233/0.003581, allocations: 35.61 kB / 0.8924 GB, free: 7.004 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 9.971e-05/0.003681, allocations: 71.38 kB / 0.8925 GB, free: 6.934 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007957/0.004476, allocations: 486.8 kB / 0.8929 GB, free: 6.457 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0004957/0.004972, allocations: 0.5893 MB / 0.8935 GB, free: 5.867 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002127/0.005185, allocations: 93 kB / 0.8936 GB, free: 5.773 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003357/0.00552, allocations: 355.4 kB / 0.8939 GB, free: 5.426 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001884/0.005709, allocations: 159.6 kB / 0.8941 GB, free: 5.27 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 5.769e-05/0.005767, allocations: 44 kB / 0.8941 GB, free: 5.227 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001011/0.005868, allocations: 63.98 kB / 0.8942 GB, free: 5.164 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 6.455e-05/0.005932, allocations: 63.77 kB / 0.8943 GB, free: 5.102 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0001167/0.006049, allocations: 155.6 kB / 0.8944 GB, free: 4.949 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0003487/0.006398, allocations: 390.8 kB / 0.8948 GB, free: 4.566 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.006402, allocations: 0 / 0.8948 GB, free: 4.566 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.082e-06/0.006403, allocations: 0 / 0.8948 GB, free: 4.566 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.731e-06/0.006408, allocations: 0 / 0.8948 GB, free: 4.566 MB / 0.8542 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.0009749/0.007383, allocations: 0.7793 MB / 0.8955 GB, free: 3.723 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.007426, allocations: 8.625 kB / 0.8955 GB, free: 3.715 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.574e-05/0.007511, allocations: 64.7 kB / 0.8956 GB, free: 3.652 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002584/0.00777, allocations: 275.5 kB / 0.8959 GB, free: 3.359 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.025e-05/0.0078, allocations: 24.88 kB / 0.8959 GB, free: 3.332 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.132e-05/0.007841, allocations: 40.36 kB / 0.8959 GB, free: 3.293 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002268/0.008068, allocations: 309.8 kB / 0.8962 GB, free: 2.949 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.008077, allocations: 192 / 0.8962 GB, free: 2.949 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.585e-05/0.008093, allocations: 12.38 kB / 0.8962 GB, free: 2.938 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.008101, allocations: 8.375 kB / 0.8962 GB, free: 2.93 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.364e-05/0.008175, allocations: 67.38 kB / 0.8963 GB, free: 2.867 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000729/0.008904, allocations: 0.6775 MB / 0.897 GB, free: 2.16 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001494/0.009053, allocations: 119.2 kB / 0.8971 GB, free: 2.031 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.556e-05/0.009109, allocations: 63.62 kB / 0.8971 GB, free: 1.965 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 8.917e-06/0.009118, allocations: 4 kB / 0.8971 GB, free: 1.961 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002079/0.009326, allocations: 314.6 kB / 0.8974 GB, free: 1.602 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=28): time 1.352e-06/0.009327, allocations: 0 / 0.8974 GB, free: 1.602 MB / 0.8542 GB Notification: Performance of matching and sorting (n=28): time 0.0003295/0.009656, allocations: 276.7 kB / 0.8977 GB, free: 1.328 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.329e-05/0.0097, allocations: 110.8 kB / 0.8978 GB, free: 1.195 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002037/0.009903, allocations: 357.9 kB / 0.8982 GB, free: 0.8242 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 4.325e-05/0.009947, allocations: 49.64 kB / 0.8982 GB, free: 0.7695 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001189/0.01007, allocations: 231.4 kB / 0.8984 GB, free: 0.5391 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.785e-05/0.0101, allocations: 63.5 kB / 0.8985 GB, free: 488 kB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001359/0.01024, allocations: 155.5 kB / 0.8986 GB, free: 320 kB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001374/0.01038, allocations: 0.5234 MB / 0.8991 GB, free: 15.78 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000177/0.01055, allocations: 239.6 kB / 0.8994 GB, free: 15.52 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002374/0.01079, allocations: 456.8 kB / 0.8998 GB, free: 14.97 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002936/0.01108, allocations: 439.4 kB / 0.9002 GB, free: 14.45 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.01109, allocations: 4 kB / 0.9002 GB, free: 14.45 MB / 0.8698 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0005876/0.01168, allocations: 0.7163 MB / 0.9009 GB, free: 13.68 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 6.914e-05/0.01175, allocations: 130.8 kB / 0.9011 GB, free: 13.53 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.866e-06/0.01175, allocations: 7.984 kB / 0.9011 GB, free: 13.52 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/0.01177, allocations: 4 kB / 0.9011 GB, free: 13.52 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001261/0.0119, allocations: 59.86 kB / 0.9011 GB, free: 13.46 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.692e-06/0.0119, allocations: 7.984 kB / 0.9011 GB, free: 13.45 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002812/0.01218, allocations: 107.7 kB / 0.9012 GB, free: 13.34 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.382e-05/0.01225, allocations: 63.92 kB / 0.9013 GB, free: 13.28 MB / 0.8698 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,extIndInt.u[1],extIndInt4.u[1],extIndInt3.u[1],extIndInt2.u[1],extIndInt1.u[1],extIndInt4.u[4],extIndInt3.u[4],extIndInt2.u[4],extIndInt1.u[4],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],extIndInt.u[4],conInt2.y,conInt3.y,conInt.y) * 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.0001503/0.0124, allocations: 208.3 kB / 0.9015 GB, free: 13.07 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.448e-05/0.01244, allocations: 47.8 kB / 0.9015 GB, free: 13.02 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002738/0.01272, allocations: 256.8 kB / 0.9018 GB, free: 12.77 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.01272, allocations: 7.938 kB / 0.9018 GB, free: 12.76 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.784e-06/0.01272, allocations: 0 / 0.9018 GB, free: 12.76 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.01273, allocations: 3.984 kB / 0.9018 GB, free: 12.75 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000727/0.01345, allocations: 0.5684 MB / 0.9024 GB, free: 12.15 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.01346, allocations: 3.938 kB / 0.9024 GB, free: 12.15 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.456e-05/0.01353, allocations: 31.98 kB / 0.9024 GB, free: 12.12 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.01353, allocations: 0 / 0.9024 GB, free: 12.12 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.082e-05/0.01355, allocations: 12 kB / 0.9024 GB, free: 12.11 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.866e-06/0.01355, allocations: 4 kB / 0.9024 GB, free: 12.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/0.01355, allocations: 3.984 kB / 0.9024 GB, free: 12.1 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002399/0.01379, allocations: 393 kB / 0.9028 GB, free: 11.7 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.154e-05/0.01383, allocations: 31.75 kB / 0.9028 GB, free: 11.66 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.831e-05/0.01386, allocations: 4 kB / 0.9028 GB, free: 11.66 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001153/0.01398, allocations: 15.97 kB / 0.9028 GB, free: 11.64 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.705e-05/0.01401, allocations: 19.97 kB / 0.9028 GB, free: 11.62 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.288e-05/0.01403, allocations: 15.98 kB / 0.9029 GB, free: 11.61 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0001023/0.01413, allocations: 210.9 kB / 0.9031 GB, free: 11.41 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5e-08/0.01413, allocations: 0 / 0.9031 GB, free: 11.41 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0003031/0.01443, allocations: 103.9 kB / 0.9032 GB, free: 11.3 MB / 0.8698 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.0001511/0.01458, allocations: 121.2 kB / 0.9033 GB, free: 11.18 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0004747/0.01506, allocations: 0.6334 MB / 0.9039 GB, free: 10.46 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.01506, allocations: 0.8125 kB / 0.9039 GB, free: 10.46 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 7.415e-05/0.01513, allocations: 87.56 kB / 0.904 GB, free: 10.38 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003204/0.01545, allocations: 84.97 kB / 0.9041 GB, free: 10.29 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005605/0.01601, allocations: 0.5157 MB / 0.9046 GB, free: 9.742 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.505e-05/0.01607, allocations: 94 kB / 0.9047 GB, free: 9.629 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 8.468e-05/0.01615, allocations: 43.27 kB / 0.9047 GB, free: 9.59 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002645/0.01642, allocations: 198.1 kB / 0.9049 GB, free: 9.395 MB / 0.8698 GB Notification: Performance of SimCode: time 6.61e-07/0.01642, allocations: 4 kB / 0.9049 GB, free: 9.391 MB / 0.8698 GB Notification: Performance of Templates: time 0.008109/0.02453, allocations: 6.312 MB / 0.9111 GB, free: 3.23 MB / 0.8698 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.577186875976622]