Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.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.BooleanExtractor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extIndBoo.u.1.|extIndBoo.u.2.|extIndBoo.u.3.|extIndBoo.u.4.|extIndBoo.index|extIndBoo.y|extIndBoo1.index|extIndBoo1.y|extIndBoo2.index|extIndBoo2.y|extIndBoo3.index|extIndBoo3.y|extIndBoo4.index|extIndBoo4.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extIndBoo.u.1.|extIndBoo.u.2.|extIndBoo.u.3.|extIndBoo.u.4.|extIndBoo.index|extIndBoo.y|extIndBoo1.index|extIndBoo1.y|extIndBoo2.index|extIndBoo2.y|extIndBoo3.index|extIndBoo3.y|extIndBoo4.index|extIndBoo4.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001188/0.001188, allocations: 105.8 kB / 16.41 MB, free: 6.465 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.001203/0.001203, allocations: 187 kB / 17.34 MB, free: 5.719 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.356/1.356, allocations: 222.9 MB / 241 MB, free: 15.09 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.283/2.283, allocations: 390.3 MB / 0.6655 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001378/0.001379, allocations: 59.91 kB / 0.9515 GB, free: 7.656 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7775/0.7789, allocations: 140.4 MB / 1.089 GB, free: 5.773 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor): time 0.002066/0.781, allocations: 1.038 MB / 1.09 GB, free: 5.09 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001804/0.7829, allocations: 1.448 MB / 1.091 GB, free: 4.039 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001057/0.783, allocations: 3.281 kB / 1.091 GB, free: 4.039 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001374/0.7831, allocations: 27.72 kB / 1.091 GB, free: 4.016 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.176e-05/0.7832, allocations: 46.12 kB / 1.091 GB, free: 3.98 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001177/0.7844, allocations: 472.3 kB / 1.092 GB, free: 3.742 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0006277/0.7851, allocations: 0.5303 MB / 1.092 GB, free: 3.508 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002495/0.7853, allocations: 127.7 kB / 1.092 GB, free: 3.449 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002296/0.7856, allocations: 207.9 kB / 1.092 GB, free: 3.359 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002586/0.7858, allocations: 190.9 kB / 1.093 GB, free: 3.273 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001043/0.7859, allocations: 54.03 kB / 1.093 GB, free: 3.27 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001582/0.7861, allocations: 63.33 kB / 1.093 GB, free: 3.266 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 8.57e-05/0.7862, allocations: 68.48 kB / 1.093 GB, free: 3.227 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002301/0.7864, allocations: 191.3 kB / 1.093 GB, free: 3.117 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0006072/0.787, allocations: 0.5129 MB / 1.093 GB, free: 2.934 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.7871, allocations: 0 / 1.093 GB, free: 2.934 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.503e-06/0.7871, allocations: 0.6875 kB / 1.093 GB, free: 2.934 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.185e-06/0.7871, allocations: 0 / 1.093 GB, free: 2.934 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: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.0007944/0.7879, allocations: 0.6901 MB / 1.094 GB, free: 2.324 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.7879, allocations: 14.33 kB / 1.094 GB, free: 2.32 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001174/0.788, allocations: 39.91 kB / 1.094 GB, free: 2.305 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009015/0.789, allocations: 361.8 kB / 1.095 GB, free: 2.039 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.503e-05/0.789, allocations: 19.77 kB / 1.095 GB, free: 2.035 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.503e-05/0.7891, allocations: 35.88 kB / 1.095 GB, free: 2.027 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003979/0.7895, allocations: 241.9 kB / 1.095 GB, free: 1.926 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/0.7895, allocations: 0 / 1.095 GB, free: 1.926 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.718e-05/0.7895, allocations: 8.219 kB / 1.095 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.067e-06/0.7895, allocations: 4.562 kB / 1.095 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002562/0.7898, allocations: 141.1 kB / 1.095 GB, free: 1.887 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0013/0.7911, allocations: 0.7599 MB / 1.096 GB, free: 1.43 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002996/0.7914, allocations: 185.4 kB / 1.096 GB, free: 1.363 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002983/0.7917, allocations: 213.1 kB / 1.096 GB, free: 1.301 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.394e-05/0.7918, allocations: 5.906 kB / 1.096 GB, free: 1.297 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003394/0.7921, allocations: 249.2 kB / 1.096 GB, free: 1.172 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=28): time 1.733e-06/0.7921, allocations: 0 / 1.096 GB, free: 1.172 MB / 0.8575 GB Notification: Performance of matching and sorting (n=28): time 0.000745/0.7929, allocations: 422.1 kB / 1.097 GB, free: 1.035 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.417e-05/0.7929, allocations: 116.2 kB / 1.097 GB, free: 0.9023 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002816/0.7932, allocations: 284.8 kB / 1.097 GB, free: 0.7305 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 5.756e-05/0.7933, allocations: 41.92 kB / 1.097 GB, free: 0.6914 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001177/0.7934, allocations: 162.6 kB / 1.097 GB, free: 0.5547 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.284e-05/0.7935, allocations: 53.55 kB / 1.097 GB, free: 0.5156 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002302/0.7937, allocations: 143.6 kB / 1.097 GB, free: 472 kB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.532e-05/0.7938, allocations: 342.5 kB / 1.098 GB, free: 136 kB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004447/0.7942, allocations: 199.5 kB / 1.098 GB, free: 80 kB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006563/0.7949, allocations: 326.7 kB / 1.098 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006924/0.7956, allocations: 0.5203 MB / 1.099 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.212e-06/0.7956, allocations: 0.5312 kB / 1.099 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001297/0.7969, allocations: 0.7177 MB / 1.1 GB, free: 15.16 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 9.72e-05/0.797, allocations: 125.9 kB / 1.1 GB, free: 15.03 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/0.797, allocations: 3.625 kB / 1.1 GB, free: 15.03 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.484e-05/0.7971, allocations: 5.938 kB / 1.1 GB, free: 15.03 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001086/0.7972, allocations: 33.02 kB / 1.1 GB, free: 15.01 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.349e-05/0.7972, allocations: 9.375 kB / 1.1 GB, free: 15.01 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007102/0.7979, allocations: 136.1 kB / 1.1 GB, free: 14.97 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001401/0.7981, allocations: 67.61 kB / 1.1 GB, free: 14.96 MB / 0.8731 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,con.y,con1.y,extIndBoo.u[4],extIndBoo.u[1],extIndBoo1.u[4],extIndBoo2.u[4],extIndBoo3.u[4],extIndBoo4.u[4],extIndBoo1.u[1],extIndBoo2.u[1],extIndBoo3.u[1],extIndBoo4.u[1],intPul1.booPul.y,$PRE.intPul1.booPul.y,intPul1.y,intPul.booPul.y,$PRE.intPul.booPul.y,intPul.y,booPul1.y,$PRE.booPul1.y,booPul.y,$PRE.booPul.y,extIndBoo4.y,extIndBoo4.u[3],extIndBoo4.u[2],extIndBoo3.y,extIndBoo3.u[3],extIndBoo3.u[2],extIndBoo2.y,extIndBoo2.u[3],extIndBoo2.u[2],extIndBoo1.y,extIndBoo1.u[3],extIndBoo1.u[2],extIndBoo.u[3],extIndBoo.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.0002683/0.7984, allocations: 182.8 kB / 1.1 GB, free: 14.82 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.62e-05/0.7984, allocations: 30.17 kB / 1.1 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005998/0.799, allocations: 364.3 kB / 1.1 GB, free: 14.66 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.799, allocations: 2.938 kB / 1.1 GB, free: 14.66 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.799, allocations: 1.188 kB / 1.1 GB, free: 14.66 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.906e-06/0.7991, allocations: 6.094 kB / 1.1 GB, free: 14.66 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009982/0.8001, allocations: 0.7168 MB / 1.101 GB, free: 14.21 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.8001, allocations: 0 / 1.101 GB, free: 14.21 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.659e-05/0.8002, allocations: 19.25 kB / 1.101 GB, free: 14.21 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.933e-06/0.8002, allocations: 9.484 kB / 1.101 GB, free: 14.2 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.174e-05/0.8002, allocations: 7.906 kB / 1.101 GB, free: 14.2 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/0.8002, allocations: 1.156 kB / 1.101 GB, free: 14.2 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.8002, allocations: 5.672 kB / 1.101 GB, free: 14.19 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006025/0.8008, allocations: 412.8 kB / 1.102 GB, free: 13.97 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 8.072e-05/0.8009, allocations: 106.7 kB / 1.102 GB, free: 13.86 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.049e-05/0.801, allocations: 11.3 kB / 1.102 GB, free: 13.85 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001257/0.8011, allocations: 10.11 kB / 1.102 GB, free: 13.85 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.862e-05/0.8012, allocations: 25.97 kB / 1.102 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.28e-05/0.8012, allocations: 13.61 kB / 1.102 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002345/0.8014, allocations: 191.1 kB / 1.102 GB, free: 13.72 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8015, allocations: 0 / 1.102 GB, free: 13.72 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004924/0.8019, allocations: 87.91 kB / 1.102 GB, free: 13.71 MB / 0.8731 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 (extIndBoo.u[2],extIndBoo.u[3],$cse1,$cse2,$cse3,$cse4,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,extIndBoo1.u[2],extIndBoo1.u[3],extIndBoo1.y,extIndBoo2.u[2],extIndBoo2.u[3],extIndBoo2.y,extIndBoo3.u[2],extIndBoo3.u[3],extIndBoo3.y,extIndBoo4.u[2],extIndBoo4.u[3],extIndBoo4.y,booPul.y,booPul1.y,intPul.y,intPul.booPul.y,intPul1.y,intPul1.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.0001957/0.8022, allocations: 128.2 kB / 1.102 GB, free: 13.61 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0009619/0.8031, allocations: 0.66 MB / 1.103 GB, free: 13.21 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.8031, allocations: 1.438 kB / 1.103 GB, free: 13.21 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001886/0.8033, allocations: 142.7 kB / 1.103 GB, free: 13.17 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004606/0.8038, allocations: 62.64 kB / 1.103 GB, free: 13.15 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008549/0.8047, allocations: 0.5351 MB / 1.103 GB, free: 12.84 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003453/0.805, allocations: 0.7622 MB / 1.104 GB, free: 12.14 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.69e-05/0.8051, allocations: 37 kB / 1.104 GB, free: 12.13 MB / 0.8731 GB Notification: Performance of SimCode: time 4.71e-07/0.8051, allocations: 1.562 kB / 1.104 GB, free: 12.13 MB / 0.8731 GB Notification: Performance of Templates: time 0.009067/0.8142, allocations: 4.429 MB / 1.109 GB, free: 11.65 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches