Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0009807/0.0009807, allocations: 80.92 kB / 20.75 MB, free: 3.742 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.001175/0.001175, allocations: 161 kB / 24.17 MB, free: 332 kB / 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.018/1.018, allocations: 177.1 MB / 204.6 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.932/1.932, allocations: 377.9 MB / 0.624 GB, free: 8.34 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.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_12_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_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.984e-06/1.984e-06, allocations: 0 / 0.76 GB, free: 6.645 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.113e-05/2.311e-05, allocations: 3.078 kB / 0.76 GB, free: 6.641 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor): time 0.001796/0.001819, allocations: 1.112 MB / 0.7611 GB, free: 5.547 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001645/0.003464, allocations: 1.577 MB / 0.7627 GB, free: 3.961 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.061e-05/0.003554, allocations: 7.938 kB / 0.7627 GB, free: 3.953 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0001219/0.003676, allocations: 28.27 kB / 0.7627 GB, free: 3.926 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001184/0.003794, allocations: 72.53 kB / 0.7628 GB, free: 3.871 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008527/0.004647, allocations: 480 kB / 0.7632 GB, free: 3.402 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0004988/0.005146, allocations: 0.5988 MB / 0.7638 GB, free: 2.805 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001865/0.005332, allocations: 100.2 kB / 0.7639 GB, free: 2.703 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003273/0.00566, allocations: 357.2 kB / 0.7642 GB, free: 2.355 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000181/0.005841, allocations: 152.8 kB / 0.7644 GB, free: 2.207 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 5.172e-05/0.005892, allocations: 48 kB / 0.7644 GB, free: 2.16 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 8.653e-05/0.005979, allocations: 56 kB / 0.7645 GB, free: 2.105 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 6.507e-05/0.006044, allocations: 73.47 kB / 0.7646 GB, free: 2.035 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0001262/0.00617, allocations: 155.7 kB / 0.7647 GB, free: 1.883 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0003171/0.006487, allocations: 390.8 kB / 0.7651 GB, free: 1.5 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.435e-06/0.00649, allocations: 0 / 0.7651 GB, free: 1.5 MB / 0.7136 GB Notification: Performance of FrontEnd: time 8.32e-07/0.006491, allocations: 0 / 0.7651 GB, free: 1.5 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.168e-06/0.006495, allocations: 0.75 kB / 0.7651 GB, free: 1.5 MB / 0.7136 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.0005682/0.007063, allocations: 0.6359 MB / 0.7657 GB, free: 0.8125 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.094e-05/0.007094, allocations: 9.281 kB / 0.7657 GB, free: 0.8047 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.141e-05/0.007165, allocations: 60.88 kB / 0.7658 GB, free: 0.7461 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002425/0.007408, allocations: 228.7 kB / 0.766 GB, free: 0.5 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.729e-05/0.007435, allocations: 28.81 kB / 0.766 GB, free: 484 kB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.3e-05/0.007478, allocations: 41.31 kB / 0.766 GB, free: 444 kB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002128/0.007691, allocations: 301.8 kB / 0.7663 GB, free: 104 kB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.0077, allocations: 0.9688 kB / 0.7663 GB, free: 104 kB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.527e-05/0.007715, allocations: 16.36 kB / 0.7663 GB, free: 88 kB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.214e-06/0.007722, allocations: 5.312 kB / 0.7664 GB, free: 84 kB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.419e-05/0.007796, allocations: 67.41 kB / 0.7664 GB, free: 16 kB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006461/0.008442, allocations: 481.9 kB / 0.7669 GB, free: 15.53 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001289/0.008571, allocations: 110.4 kB / 0.767 GB, free: 15.41 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.083e-05/0.008622, allocations: 56.7 kB / 0.767 GB, free: 15.36 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 7.945e-06/0.00863, allocations: 7.938 kB / 0.767 GB, free: 15.35 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001764/0.008806, allocations: 289.1 kB / 0.7673 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=28): time 1.112e-06/0.008807, allocations: 2.75 kB / 0.7673 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of matching and sorting (n=28): time 0.0002468/0.009054, allocations: 229.4 kB / 0.7675 GB, free: 14.79 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.422e-05/0.009098, allocations: 106.8 kB / 0.7676 GB, free: 14.66 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000219/0.009317, allocations: 302.7 kB / 0.7679 GB, free: 14.36 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.536e-05/0.009353, allocations: 41.7 kB / 0.768 GB, free: 14.31 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 7.712e-05/0.00943, allocations: 153.2 kB / 0.7681 GB, free: 14.16 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.334e-05/0.009463, allocations: 71.48 kB / 0.7682 GB, free: 14.09 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001188/0.009582, allocations: 136.3 kB / 0.7683 GB, free: 13.95 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.719e-05/0.009659, allocations: 342.8 kB / 0.7686 GB, free: 13.6 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001603/0.00982, allocations: 227.6 kB / 0.7689 GB, free: 13.36 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002085/0.01003, allocations: 399.5 kB / 0.7692 GB, free: 12.88 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003927/0.01042, allocations: 415.1 kB / 0.7696 GB, free: 12.4 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.01043, allocations: 7.938 kB / 0.7696 GB, free: 12.39 MB / 0.7292 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0004401/0.01087, allocations: 0.6091 MB / 0.7702 GB, free: 11.73 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 6.354e-05/0.01093, allocations: 138.8 kB / 0.7704 GB, free: 11.57 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.01094, allocations: 1.719 kB / 0.7704 GB, free: 11.57 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.01095, allocations: 8 kB / 0.7704 GB, free: 11.57 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001147/0.01106, allocations: 55.91 kB / 0.7704 GB, free: 11.51 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.01107, allocations: 4 kB / 0.7704 GB, free: 11.51 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00025/0.01132, allocations: 113.5 kB / 0.7705 GB, free: 11.4 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.677e-05/0.01138, allocations: 58.77 kB / 0.7706 GB, free: 11.34 MB / 0.7292 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.0001202/0.0115, allocations: 168.5 kB / 0.7708 GB, free: 11.17 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.643e-05/0.01152, allocations: 26.42 kB / 0.7708 GB, free: 11.15 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002077/0.01173, allocations: 205.6 kB / 0.771 GB, free: 10.94 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.01173, allocations: 4 kB / 0.771 GB, free: 10.93 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.01174, allocations: 0 / 0.771 GB, free: 10.93 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.01174, allocations: 4.922 kB / 0.771 GB, free: 10.93 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003726/0.01211, allocations: 483.2 kB / 0.7715 GB, free: 10.43 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.01212, allocations: 2.375 kB / 0.7715 GB, free: 10.43 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.301e-05/0.01219, allocations: 35.92 kB / 0.7715 GB, free: 10.4 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.01219, allocations: 4 kB / 0.7715 GB, free: 10.39 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.626e-06/0.0122, allocations: 4 kB / 0.7715 GB, free: 10.39 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.0122, allocations: 0 / 0.7715 GB, free: 10.39 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.0122, allocations: 4 kB / 0.7715 GB, free: 10.39 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001681/0.01237, allocations: 273.2 kB / 0.7718 GB, free: 10.11 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.454e-05/0.0124, allocations: 31.75 kB / 0.7718 GB, free: 10.07 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.235e-05/0.01242, allocations: 12.62 kB / 0.7718 GB, free: 10.06 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.094e-05/0.01248, allocations: 8 kB / 0.7718 GB, free: 10.05 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.325e-05/0.01251, allocations: 24.58 kB / 0.7718 GB, free: 10.03 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.436e-06/0.01252, allocations: 4 kB / 0.7718 GB, free: 10.03 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 7.577e-05/0.0126, allocations: 109.4 kB / 0.7719 GB, free: 9.918 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.0126, allocations: 0 / 0.7719 GB, free: 9.918 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002473/0.01284, allocations: 96.48 kB / 0.772 GB, free: 9.824 MB / 0.7292 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.0001325/0.01298, allocations: 108.5 kB / 0.7721 GB, free: 9.715 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.000401/0.01338, allocations: 0.6098 MB / 0.7727 GB, free: 9.031 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 6.632e-06/0.01338, allocations: 4 kB / 0.7727 GB, free: 9.027 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 7.807e-05/0.01346, allocations: 93.84 kB / 0.7728 GB, free: 8.934 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002564/0.01372, allocations: 87.59 kB / 0.7729 GB, free: 8.855 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007738/0.01449, allocations: 0.4951 MB / 0.7734 GB, free: 8.336 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.216e-05/0.01454, allocations: 94 kB / 0.7735 GB, free: 8.227 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 8.226e-05/0.01463, allocations: 50 kB / 0.7735 GB, free: 8.176 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002313/0.01486, allocations: 159.3 kB / 0.7737 GB, free: 8.02 MB / 0.7292 GB Notification: Performance of SimCode: time 9.51e-07/0.01486, allocations: 0 / 0.7737 GB, free: 8.02 MB / 0.7292 GB Notification: Performance of Templates: time 0.008607/0.02347, allocations: 6.298 MB / 0.7798 GB, free: 1.977 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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.232217981945723]