Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00189/0.00189, allocations: 105.6 kB / 16.27 MB, free: 6.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002014/0.002014, allocations: 189.8 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.426/1.426, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.208/2.208, allocations: 390.2 MB / 0.6653 GB, free: 0.7383 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001361/0.001361, allocations: 67.73 kB / 0.8132 GB, free: 33.23 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2665/0.2679, allocations: 140.4 MB / 0.9503 GB, free: 8.875 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor): time 0.002503/0.2704, allocations: 1.144 MB / 0.9514 GB, free: 7.719 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002177/0.2727, allocations: 1.518 MB / 0.9529 GB, free: 6.184 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001727/0.2729, allocations: 4 kB / 0.9529 GB, free: 6.18 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001575/0.273, allocations: 27.61 kB / 0.9529 GB, free: 6.152 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001458/0.2732, allocations: 59.45 kB / 0.953 GB, free: 6.094 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001203/0.2744, allocations: 477.6 kB / 0.9534 GB, free: 5.637 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0007197/0.2751, allocations: 0.6129 MB / 0.954 GB, free: 5.02 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003214/0.2755, allocations: 152.4 kB / 0.9542 GB, free: 4.875 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003336/0.2758, allocations: 223.4 kB / 0.9544 GB, free: 4.656 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002755/0.2761, allocations: 199.2 kB / 0.9546 GB, free: 4.461 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.000135/0.2762, allocations: 60 kB / 0.9546 GB, free: 4.402 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001656/0.2764, allocations: 71.98 kB / 0.9547 GB, free: 4.332 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 9.163e-05/0.2765, allocations: 79.75 kB / 0.9548 GB, free: 4.254 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0002481/0.2768, allocations: 227.1 kB / 0.955 GB, free: 4.031 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0006478/0.2774, allocations: 0.6118 MB / 0.9556 GB, free: 3.418 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.2774, allocations: 0 / 0.9556 GB, free: 3.418 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.683e-06/0.2774, allocations: 3.938 kB / 0.9556 GB, free: 3.414 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.684e-05/0.2775, allocations: 0 / 0.9556 GB, free: 3.414 MB / 0.7325 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.001078/0.2786, allocations: 0.7446 MB / 0.9563 GB, free: 2.598 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.2786, allocations: 8.031 kB / 0.9563 GB, free: 2.59 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001447/0.2787, allocations: 52.45 kB / 0.9564 GB, free: 2.539 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001088/0.2798, allocations: 407.9 kB / 0.9568 GB, free: 2.098 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.586e-05/0.2799, allocations: 20.81 kB / 0.9568 GB, free: 2.078 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.257e-05/0.28, allocations: 40.36 kB / 0.9568 GB, free: 2.039 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000393/0.2804, allocations: 255.2 kB / 0.9571 GB, free: 1.781 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.2804, allocations: 4 kB / 0.9571 GB, free: 1.777 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.33e-05/0.2804, allocations: 8 kB / 0.9571 GB, free: 1.77 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/0.2804, allocations: 8 kB / 0.9571 GB, free: 1.762 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002485/0.2807, allocations: 153.7 kB / 0.9572 GB, free: 1.609 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001344/0.282, allocations: 0.8607 MB / 0.9581 GB, free: 0.6992 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003199/0.2824, allocations: 226.7 kB / 0.9583 GB, free: 480 kB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002551/0.2826, allocations: 211.3 kB / 0.9585 GB, free: 268 kB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.298e-05/0.2827, allocations: 4 kB / 0.9585 GB, free: 264 kB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003161/0.283, allocations: 239.9 kB / 0.9587 GB, free: 4 kB / 0.7325 GB Notification: Performance of pre-optimization done (n=28): time 1.843e-06/0.283, allocations: 0 / 0.9587 GB, free: 4 kB / 0.7325 GB Notification: Performance of matching and sorting (n=28): time 0.0006993/0.2837, allocations: 442.9 kB / 0.9591 GB, free: 15.57 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.567e-05/0.2838, allocations: 114.8 kB / 0.9593 GB, free: 15.43 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003223/0.2841, allocations: 320.3 kB / 0.9596 GB, free: 15.11 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 5.978e-05/0.2842, allocations: 41.7 kB / 0.9596 GB, free: 15.06 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001505/0.2843, allocations: 180.5 kB / 0.9598 GB, free: 14.88 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 5.126e-05/0.2844, allocations: 63.19 kB / 0.9598 GB, free: 14.82 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002155/0.2846, allocations: 145.9 kB / 0.96 GB, free: 14.66 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001339/0.2847, allocations: 346.8 kB / 0.9603 GB, free: 14.32 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003629/0.2851, allocations: 208.7 kB / 0.9605 GB, free: 14.11 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004317/0.2856, allocations: 320.9 kB / 0.9608 GB, free: 13.75 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006365/0.2862, allocations: 0.5311 MB / 0.9613 GB, free: 13.16 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.2862, allocations: 0 / 0.9613 GB, free: 13.16 MB / 0.7481 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001097/0.2873, allocations: 0.7361 MB / 0.962 GB, free: 12.39 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 9.278e-05/0.2874, allocations: 122.8 kB / 0.9622 GB, free: 12.25 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.2874, allocations: 4 kB / 0.9622 GB, free: 12.24 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.347e-05/0.2875, allocations: 7.938 kB / 0.9622 GB, free: 12.23 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002091/0.2877, allocations: 59.91 kB / 0.9622 GB, free: 12.18 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.708e-06/0.2877, allocations: 4 kB / 0.9622 GB, free: 12.17 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006803/0.2884, allocations: 135.9 kB / 0.9624 GB, free: 12.04 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.99e-05/0.2885, allocations: 67.86 kB / 0.9624 GB, free: 11.97 MB / 0.7481 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.0002263/0.2887, allocations: 195.7 kB / 0.9626 GB, free: 11.77 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.36e-05/0.2888, allocations: 31.56 kB / 0.9626 GB, free: 11.74 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005259/0.2893, allocations: 369.9 kB / 0.963 GB, free: 11.38 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.2893, allocations: 4 kB / 0.963 GB, free: 11.37 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.2893, allocations: 3.984 kB / 0.963 GB, free: 11.37 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.2893, allocations: 0 / 0.963 GB, free: 11.37 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008802/0.2902, allocations: 0.7557 MB / 0.9637 GB, free: 10.55 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.175e-06/0.2902, allocations: 0 / 0.9637 GB, free: 10.55 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000135/0.2904, allocations: 39.92 kB / 0.9638 GB, free: 10.52 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.2904, allocations: 0 / 0.9638 GB, free: 10.52 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.723e-05/0.2904, allocations: 11.98 kB / 0.9638 GB, free: 10.5 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.669e-06/0.2904, allocations: 8 kB / 0.9638 GB, free: 10.5 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.2904, allocations: 0 / 0.9638 GB, free: 10.5 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004619/0.2909, allocations: 423.5 kB / 0.9642 GB, free: 10.07 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 6.884e-05/0.291, allocations: 108.6 kB / 0.9643 GB, free: 9.941 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.962e-05/0.291, allocations: 12 kB / 0.9643 GB, free: 9.93 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001297/0.2912, allocations: 15.97 kB / 0.9643 GB, free: 9.914 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.76e-05/0.2912, allocations: 23.97 kB / 0.9644 GB, free: 9.891 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.7e-05/0.2912, allocations: 12 kB / 0.9644 GB, free: 9.879 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002051/0.2914, allocations: 211.1 kB / 0.9646 GB, free: 9.672 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2915, allocations: 7.875 kB / 0.9646 GB, free: 9.664 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0004163/0.2919, allocations: 103.9 kB / 0.9647 GB, free: 9.562 MB / 0.7481 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.0001681/0.2921, allocations: 121.5 kB / 0.9648 GB, free: 9.438 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0009272/0.293, allocations: 0.7084 MB / 0.9655 GB, free: 8.68 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/0.293, allocations: 0 / 0.9655 GB, free: 8.68 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.000208/0.2932, allocations: 147.8 kB / 0.9656 GB, free: 8.535 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005214/0.2937, allocations: 85.72 kB / 0.9657 GB, free: 8.453 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009514/0.2947, allocations: 0.6043 MB / 0.9663 GB, free: 7.82 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003707/0.2951, allocations: 0.7769 MB / 0.9671 GB, free: 7.02 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.334e-05/0.2952, allocations: 43.42 kB / 0.9671 GB, free: 6.977 MB / 0.7481 GB Notification: Performance of SimCode: time 2.51e-07/0.2952, allocations: 0 / 0.9671 GB, free: 6.977 MB / 0.7481 GB Notification: Performance of Templates: time 0.008156/0.3033, allocations: 4.945 MB / 0.9719 GB, free: 2.059 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches