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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.007055/0.007055, allocations: 102 kB / 15.73 MB, free: 6.051 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.001659/0.001659, allocations: 195 kB / 16.68 MB, free: 5.969 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.514/1.514, allocations: 222.9 MB / 240.4 MB, free: 4.164 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.714/2.714, allocations: 390.2 MB / 0.6648 GB, free: 180 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 67.02 kB / 0.9508 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3721/0.3734, allocations: 140.4 MB / 1.088 GB, free: 1.543 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor): time 0.002938/0.3764, allocations: 1.144 MB / 1.089 GB, free: 400 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002469/0.3789, allocations: 1.511 MB / 1.091 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002823/0.3792, allocations: 4 kB / 1.091 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001981/0.3795, allocations: 35.59 kB / 1.091 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001997/0.3797, allocations: 47.52 kB / 1.091 GB, free: 14.78 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.00141/0.3811, allocations: 498.3 kB / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0007847/0.3819, allocations: 0.6284 MB / 1.092 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003729/0.3823, allocations: 144.4 kB / 1.092 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003662/0.3826, allocations: 227.5 kB / 1.092 GB, free: 13.31 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003193/0.383, allocations: 215.2 kB / 1.092 GB, free: 13.1 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 9.89e-05/0.3831, allocations: 60 kB / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001545/0.3832, allocations: 83.97 kB / 1.092 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 9.028e-05/0.3833, allocations: 79.77 kB / 1.092 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002444/0.3836, allocations: 227 kB / 1.093 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0006373/0.3842, allocations: 0.6231 MB / 1.093 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.3842, allocations: 0 / 1.093 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.274e-06/0.3843, allocations: 0 / 1.093 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.356e-06/0.3843, allocations: 0 / 1.093 GB, free: 12.04 MB / 0.8575 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.00101/0.3853, allocations: 0.7433 MB / 1.094 GB, free: 11.22 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/0.3853, allocations: 8.031 kB / 1.094 GB, free: 11.21 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001129/0.3855, allocations: 44.56 kB / 1.094 GB, free: 11.17 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00104/0.3865, allocations: 407.8 kB / 1.094 GB, free: 10.72 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.167e-05/0.3866, allocations: 24.81 kB / 1.094 GB, free: 10.7 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.861e-05/0.3866, allocations: 36.38 kB / 1.095 GB, free: 10.66 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004397/0.3871, allocations: 251.2 kB / 1.095 GB, free: 10.41 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.3871, allocations: 0 / 1.095 GB, free: 10.41 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.843e-05/0.3871, allocations: 15.98 kB / 1.095 GB, free: 10.4 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.737e-06/0.3871, allocations: 8 kB / 1.095 GB, free: 10.39 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002524/0.3874, allocations: 153.7 kB / 1.095 GB, free: 10.24 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001279/0.3887, allocations: 0.8526 MB / 1.096 GB, free: 9.34 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003292/0.389, allocations: 218.7 kB / 1.096 GB, free: 9.117 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002699/0.3893, allocations: 206.4 kB / 1.096 GB, free: 8.914 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.867e-05/0.3893, allocations: 4 kB / 1.096 GB, free: 8.91 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003393/0.3897, allocations: 263.7 kB / 1.096 GB, free: 8.633 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=28): time 1.463e-06/0.3897, allocations: 0 / 1.096 GB, free: 8.633 MB / 0.8575 GB Notification: Performance of matching and sorting (n=28): time 0.0007508/0.3905, allocations: 434.9 kB / 1.097 GB, free: 8.203 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.147e-05/0.3905, allocations: 110.8 kB / 1.097 GB, free: 8.07 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003417/0.3909, allocations: 324.3 kB / 1.097 GB, free: 7.742 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 5.488e-05/0.391, allocations: 37.7 kB / 1.097 GB, free: 7.699 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001595/0.3911, allocations: 176.5 kB / 1.097 GB, free: 7.523 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.057e-05/0.3912, allocations: 63.28 kB / 1.098 GB, free: 7.461 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002248/0.3914, allocations: 145.9 kB / 1.098 GB, free: 7.309 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001482/0.3916, allocations: 350.7 kB / 1.098 GB, free: 6.957 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003517/0.3919, allocations: 204.7 kB / 1.098 GB, free: 6.758 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004445/0.3924, allocations: 328.7 kB / 1.098 GB, free: 6.383 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006363/0.393, allocations: 0.5271 MB / 1.099 GB, free: 5.785 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.393, allocations: 0 / 1.099 GB, free: 5.785 MB / 0.8575 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001089/0.3941, allocations: 0.7325 MB / 1.1 GB, free: 5.023 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001274/0.3943, allocations: 130.8 kB / 1.1 GB, free: 4.871 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/0.3943, allocations: 7.938 kB / 1.1 GB, free: 4.863 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.585e-05/0.3943, allocations: 7.938 kB / 1.1 GB, free: 4.855 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002311/0.3946, allocations: 56.31 kB / 1.1 GB, free: 4.801 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.463e-05/0.3946, allocations: 11.94 kB / 1.1 GB, free: 4.789 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006642/0.3952, allocations: 127.5 kB / 1.1 GB, free: 4.664 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001129/0.3954, allocations: 71.91 kB / 1.1 GB, free: 4.594 MB / 0.8575 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.0002373/0.3956, allocations: 193.6 kB / 1.1 GB, free: 4.395 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.833e-05/0.3957, allocations: 31.62 kB / 1.1 GB, free: 4.363 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005523/0.3962, allocations: 373.8 kB / 1.101 GB, free: 3.992 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.3962, allocations: 4 kB / 1.101 GB, free: 3.988 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/0.3963, allocations: 0 / 1.101 GB, free: 3.988 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/0.3963, allocations: 3.984 kB / 1.101 GB, free: 3.984 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000953/0.3972, allocations: 0.7485 MB / 1.101 GB, free: 3.18 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.3972, allocations: 0 / 1.101 GB, free: 3.18 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001271/0.3974, allocations: 35.92 kB / 1.101 GB, free: 3.145 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.174e-06/0.3974, allocations: 8 kB / 1.101 GB, free: 3.137 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.704e-05/0.3974, allocations: 4 kB / 1.101 GB, free: 3.133 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.7e-06/0.3974, allocations: 7.984 kB / 1.101 GB, free: 3.125 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.3974, allocations: 0 / 1.101 GB, free: 3.125 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005418/0.398, allocations: 424.5 kB / 1.102 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001024/0.3981, allocations: 116.7 kB / 1.102 GB, free: 2.562 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.838e-05/0.3981, allocations: 4 kB / 1.102 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001417/0.3983, allocations: 15.92 kB / 1.102 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.047e-05/0.3983, allocations: 27.92 kB / 1.102 GB, free: 2.516 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.317e-05/0.3984, allocations: 11.98 kB / 1.102 GB, free: 2.504 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0002348/0.3986, allocations: 215.1 kB / 1.102 GB, free: 2.297 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3986, allocations: 0 / 1.102 GB, free: 2.297 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0004585/0.3991, allocations: 95.84 kB / 1.102 GB, free: 2.203 MB / 0.8575 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.0002664/0.3994, allocations: 125.7 kB / 1.102 GB, free: 2.07 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001004/0.4004, allocations: 0.6769 MB / 1.103 GB, free: 1.344 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.4004, allocations: 0 / 1.103 GB, free: 1.344 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0002089/0.4006, allocations: 147.8 kB / 1.103 GB, free: 1.199 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000555/0.4012, allocations: 93.64 kB / 1.103 GB, free: 1.109 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001042/0.4022, allocations: 0.5677 MB / 1.104 GB, free: 0.5195 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004374/0.4027, allocations: 0.7769 MB / 1.105 GB, free: 15.72 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001787/0.4029, allocations: 79.14 kB / 1.105 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.729e-05/0.4029, allocations: 35.44 kB / 1.105 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of SimCode: time 7.71e-07/0.4029, allocations: 0 / 1.105 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of Templates: time 0.01257/0.4155, allocations: 5.468 MB / 1.11 GB, free: 10.2 MB / 0.8731 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/jenkins/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