Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.001031/0.001031, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.001132/0.001132, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.554/1.554, allocations: 223.3 MB / 240 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.849/2.849, allocations: 437.7 MB / 0.7117 GB, free: 7.09 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000407/0.0004071, allocations: 16 kB / 0.8722 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7863/0.7867, allocations: 153.8 MB / 1.022 GB, free: 48 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor): time 0.00146/0.7883, allocations: 0.8114 MB / 1.023 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002084/0.7904, allocations: 1.487 MB / 1.025 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001002/0.7905, allocations: 7.938 kB / 1.025 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001233/0.7906, allocations: 19.8 kB / 1.025 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001097/0.7907, allocations: 39.64 kB / 1.025 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001048/0.7918, allocations: 413.6 kB / 1.025 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0005514/0.7924, allocations: 487.6 kB / 1.026 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002686/0.7926, allocations: 119 kB / 1.026 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002142/0.7928, allocations: 167.5 kB / 1.026 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002029/0.7931, allocations: 151.3 kB / 1.026 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 5.671e-05/0.7931, allocations: 24 kB / 1.026 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001046/0.7932, allocations: 27.98 kB / 1.026 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.328e-05/0.7933, allocations: 51.78 kB / 1.026 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001045/0.7934, allocations: 81.58 kB / 1.026 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004491/0.7939, allocations: 468.7 kB / 1.027 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 8.005e-06/0.7939, allocations: 11.94 kB / 1.027 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.903e-06/0.7939, allocations: 0 / 1.027 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.693e-06/0.7939, allocations: 0 / 1.027 GB, free: 11.71 MB / 0.7794 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.0009361/0.7949, allocations: 0.6514 MB / 1.027 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.7949, allocations: 8.562 kB / 1.027 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001121/0.795, allocations: 47.53 kB / 1.027 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009764/0.796, allocations: 408.4 kB / 1.028 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.665e-05/0.7961, allocations: 20.38 kB / 1.028 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.912e-05/0.7961, allocations: 39.95 kB / 1.028 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004571/0.7966, allocations: 251.2 kB / 1.028 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.7966, allocations: 0 / 1.028 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.905e-05/0.7967, allocations: 8 kB / 1.028 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.049e-05/0.7967, allocations: 8 kB / 1.028 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002767/0.797, allocations: 161.6 kB / 1.028 GB, free: 10.01 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001591/0.7986, allocations: 0.8529 MB / 1.029 GB, free: 9.109 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003758/0.799, allocations: 221.2 kB / 1.029 GB, free: 8.887 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003185/0.7993, allocations: 200.8 kB / 1.029 GB, free: 8.688 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.493e-05/0.7993, allocations: 4 kB / 1.029 GB, free: 8.684 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000352/0.7997, allocations: 245.9 kB / 1.03 GB, free: 8.426 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=28): time 1.693e-06/0.7997, allocations: 0 / 1.03 GB, free: 8.426 MB / 0.7794 GB Notification: Performance of matching and sorting (n=28): time 0.0007838/0.8005, allocations: 431.6 kB / 1.03 GB, free: 8 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.825e-05/0.8006, allocations: 114.8 kB / 1.03 GB, free: 7.863 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003803/0.801, allocations: 328.2 kB / 1.03 GB, free: 7.531 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 6.072e-05/0.801, allocations: 41.69 kB / 1.031 GB, free: 7.484 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001892/0.8012, allocations: 180.5 kB / 1.031 GB, free: 7.305 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.674e-05/0.8013, allocations: 59.25 kB / 1.031 GB, free: 7.246 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.38e-05/0.8014, allocations: 16 kB / 1.031 GB, free: 7.23 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001754/0.8015, allocations: 338.8 kB / 1.031 GB, free: 6.891 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000382/0.8019, allocations: 212.7 kB / 1.031 GB, free: 6.68 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004439/0.8024, allocations: 321 kB / 1.032 GB, free: 6.316 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004207/0.8028, allocations: 336 kB / 1.032 GB, free: 5.961 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-06/0.8028, allocations: 8 kB / 1.032 GB, free: 5.953 MB / 0.7794 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001026/0.8039, allocations: 0.7285 MB / 1.033 GB, free: 5.195 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 8.71e-05/0.804, allocations: 126.8 kB / 1.033 GB, free: 5.047 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.941e-05/0.804, allocations: 7.984 kB / 1.033 GB, free: 5.039 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.05e-05/0.804, allocations: 4.406 kB / 1.033 GB, free: 5.035 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002163/0.8042, allocations: 59.92 kB / 1.033 GB, free: 4.977 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.5e-05/0.8042, allocations: 11.92 kB / 1.033 GB, free: 4.965 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006309/0.8049, allocations: 175.4 kB / 1.033 GB, free: 4.793 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.934e-05/0.805, allocations: 63.92 kB / 1.033 GB, free: 4.73 MB / 0.7794 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],extIndInt.u[2],extIndInt.u[3],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,$PRE.intPul.booPul.y,intPul.booPul.y,$PRE.intPul1.booPul.y,intPul1.booPul.y,intPul2.y,$PRE.intPul2.booPul.y,intPul2.booPul.y,intPul3.y,$PRE.intPul3.booPul.y,intPul3.booPul.y,extIndInt4.u[1],extIndInt3.u[1],extIndInt2.u[1],extIndInt1.u[1],extIndInt4.u[4],extIndInt3.u[4],extIndInt2.u[4],extIndInt1.u[4]) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002435/0.8052, allocations: 190 kB / 1.033 GB, free: 4.535 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.307e-05/0.8053, allocations: 35.62 kB / 1.033 GB, free: 4.5 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005543/0.8059, allocations: 373 kB / 1.034 GB, free: 4.129 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.331e-05/0.8059, allocations: 4 kB / 1.034 GB, free: 4.125 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.8059, allocations: 0 / 1.034 GB, free: 4.125 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.8059, allocations: 0 / 1.034 GB, free: 4.125 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009857/0.8069, allocations: 0.7596 MB / 1.034 GB, free: 3.309 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.8069, allocations: 0 / 1.034 GB, free: 3.309 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001349/0.807, allocations: 43.91 kB / 1.034 GB, free: 3.266 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.8071, allocations: 0 / 1.034 GB, free: 3.266 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.166e-05/0.8071, allocations: 8 kB / 1.034 GB, free: 3.258 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.8071, allocations: 0 / 1.034 GB, free: 3.258 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.736e-06/0.8071, allocations: 4 kB / 1.034 GB, free: 3.254 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005055/0.8076, allocations: 427.5 kB / 1.035 GB, free: 2.82 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.276e-05/0.8077, allocations: 112.6 kB / 1.035 GB, free: 2.691 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.82e-05/0.8077, allocations: 7.984 kB / 1.035 GB, free: 2.684 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001179/0.8079, allocations: 12 kB / 1.035 GB, free: 2.672 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.224e-05/0.8079, allocations: 19.97 kB / 1.035 GB, free: 2.652 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.114e-05/0.8079, allocations: 15.98 kB / 1.035 GB, free: 2.637 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002068/0.8082, allocations: 215.1 kB / 1.035 GB, free: 2.43 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8082, allocations: 0 / 1.035 GB, free: 2.43 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004072/0.8086, allocations: 91.91 kB / 1.035 GB, free: 2.34 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002082/0.8088, allocations: 125.4 kB / 1.035 GB, free: 2.207 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0008364/0.8096, allocations: 0.6698 MB / 1.036 GB, free: 1.488 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.419e-06/0.8097, allocations: 0 / 1.036 GB, free: 1.488 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001902/0.8098, allocations: 143.8 kB / 1.036 GB, free: 1.348 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00049/0.8103, allocations: 85.09 kB / 1.036 GB, free: 1.262 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009694/0.8113, allocations: 0.628 MB / 1.037 GB, free: 0.6094 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000408/0.8117, allocations: 0.7772 MB / 1.038 GB, free: 15.81 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0001831/0.8119, allocations: 75.2 kB / 1.038 GB, free: 15.73 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.645e-05/0.812, allocations: 35.44 kB / 1.038 GB, free: 15.7 MB / 0.795 GB Notification: Performance of SimCode: time 2.5e-07/0.812, allocations: 4 kB / 1.038 GB, free: 15.7 MB / 0.795 GB Notification: Performance of Templates: time 0.009538/0.8216, allocations: 5.034 MB / 1.043 GB, free: 10.75 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches