Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007088/0.007089, allocations: 98.56 kB / 15.73 MB, free: 5.949 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.001861/0.001862, allocations: 196.5 kB / 16.68 MB, free: 5.871 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.506/1.506, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.854/2.854, allocations: 469.8 MB / 0.7425 GB, free: 3.309 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001954/0.001954, allocations: 75.88 kB / 1.065 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7799/0.7819, allocations: 159.1 MB / 1.22 GB, free: 1.969 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor): time 0.002316/0.7843, allocations: 1.024 MB / 1.221 GB, free: 0.9453 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002053/0.7863, allocations: 1.467 MB / 1.223 GB, free: 15.46 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001016/0.7865, allocations: 4 kB / 1.223 GB, free: 15.46 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0001303/0.7866, allocations: 23.67 kB / 1.223 GB, free: 15.44 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 9.344e-05/0.7867, allocations: 39.59 kB / 1.223 GB, free: 15.4 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001152/0.7879, allocations: 472.1 kB / 1.223 GB, free: 14.95 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0006277/0.7885, allocations: 0.5388 MB / 1.224 GB, free: 14.41 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002773/0.7888, allocations: 131.7 kB / 1.224 GB, free: 14.28 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002519/0.7891, allocations: 199.6 kB / 1.224 GB, free: 14.08 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003064/0.7894, allocations: 191.3 kB / 1.224 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 9.521e-05/0.7895, allocations: 55.94 kB / 1.224 GB, free: 13.84 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001521/0.7896, allocations: 59.98 kB / 1.224 GB, free: 13.78 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 8.954e-05/0.7897, allocations: 67.83 kB / 1.224 GB, free: 13.71 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0002342/0.79, allocations: 191.2 kB / 1.224 GB, free: 13.53 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0006085/0.7906, allocations: 0.5174 MB / 1.225 GB, free: 13.02 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.7906, allocations: 3.984 kB / 1.225 GB, free: 13.01 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.974e-06/0.7906, allocations: 0 / 1.225 GB, free: 13.01 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.038e-05/0.7906, allocations: 0 / 1.225 GB, free: 13.01 MB / 0.9512 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.0009571/0.7916, allocations: 0.7003 MB / 1.226 GB, free: 12.23 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/0.7917, allocations: 8.031 kB / 1.226 GB, free: 12.22 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.584e-05/0.7917, allocations: 54.73 kB / 1.226 GB, free: 12.16 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001068/0.7918, allocations: 48.73 kB / 1.226 GB, free: 12.11 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009239/0.7928, allocations: 360.2 kB / 1.226 GB, free: 11.72 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.39e-05/0.7928, allocations: 24.75 kB / 1.226 GB, free: 11.7 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.407e-05/0.7929, allocations: 28.38 kB / 1.226 GB, free: 11.67 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003943/0.7933, allocations: 240.8 kB / 1.226 GB, free: 11.43 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.7933, allocations: 4 kB / 1.226 GB, free: 11.43 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.162e-05/0.7933, allocations: 7.938 kB / 1.226 GB, free: 11.42 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.7934, allocations: 4 kB / 1.226 GB, free: 11.41 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002387/0.7936, allocations: 151.2 kB / 1.227 GB, free: 11.27 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001177/0.7948, allocations: 0.7577 MB / 1.227 GB, free: 10.46 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002962/0.7951, allocations: 193.8 kB / 1.228 GB, free: 10.26 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002885/0.7954, allocations: 212.7 kB / 1.228 GB, free: 10.05 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.584e-05/0.7954, allocations: 4 kB / 1.228 GB, free: 10.05 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003574/0.7958, allocations: 236.2 kB / 1.228 GB, free: 9.793 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=28): time 1.703e-06/0.7958, allocations: 8 kB / 1.228 GB, free: 9.785 MB / 0.9512 GB Notification: Performance of matching and sorting (n=28): time 0.000724/0.7965, allocations: 427.2 kB / 1.228 GB, free: 9.363 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.737e-05/0.7966, allocations: 114.8 kB / 1.228 GB, free: 9.227 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002985/0.7969, allocations: 282.5 kB / 1.229 GB, free: 8.945 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 6.342e-05/0.797, allocations: 41.7 kB / 1.229 GB, free: 8.898 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001423/0.7971, allocations: 152.9 kB / 1.229 GB, free: 8.746 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 5.885e-05/0.7972, allocations: 71.47 kB / 1.229 GB, free: 8.676 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002259/0.7974, allocations: 137.6 kB / 1.229 GB, free: 8.535 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001545/0.7976, allocations: 342.8 kB / 1.229 GB, free: 8.191 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003762/0.798, allocations: 204.7 kB / 1.23 GB, free: 7.992 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000459/0.7984, allocations: 315.9 kB / 1.23 GB, free: 7.637 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006761/0.7991, allocations: 0.5232 MB / 1.23 GB, free: 7.043 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.7991, allocations: 0 / 1.23 GB, free: 7.043 MB / 0.9512 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001207/0.8004, allocations: 0.7248 MB / 1.231 GB, free: 6.289 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 9.707e-05/0.8005, allocations: 126.8 kB / 1.231 GB, free: 6.141 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.398e-06/0.8005, allocations: 4 kB / 1.231 GB, free: 6.137 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/0.8005, allocations: 4 kB / 1.231 GB, free: 6.133 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.547e-05/0.8006, allocations: 19.92 kB / 1.231 GB, free: 6.113 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.52e-05/0.8006, allocations: 8.391 kB / 1.231 GB, free: 6.105 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006912/0.8013, allocations: 139.5 kB / 1.231 GB, free: 5.969 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001208/0.8015, allocations: 71.8 kB / 1.232 GB, free: 5.898 MB / 0.9512 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.0002394/0.8017, allocations: 186.2 kB / 1.232 GB, free: 5.711 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.93e-05/0.8018, allocations: 27.81 kB / 1.232 GB, free: 5.684 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005709/0.8023, allocations: 364.5 kB / 1.232 GB, free: 5.324 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.526e-06/0.8024, allocations: 7.984 kB / 1.232 GB, free: 5.316 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.8024, allocations: 0 / 1.232 GB, free: 5.316 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.8024, allocations: 0 / 1.232 GB, free: 5.316 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009439/0.8033, allocations: 0.7134 MB / 1.233 GB, free: 4.547 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.8033, allocations: 4 kB / 1.233 GB, free: 4.543 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.795e-05/0.8034, allocations: 19.92 kB / 1.233 GB, free: 4.523 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/0.8034, allocations: 0 / 1.233 GB, free: 4.523 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.908e-05/0.8035, allocations: 15.94 kB / 1.233 GB, free: 4.508 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.8035, allocations: 3.938 kB / 1.233 GB, free: 4.504 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.8035, allocations: 0 / 1.233 GB, free: 4.504 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005178/0.804, allocations: 412.9 kB / 1.233 GB, free: 4.086 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 7.881e-05/0.8041, allocations: 108.8 kB / 1.233 GB, free: 3.961 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.033e-05/0.8041, allocations: 11.94 kB / 1.233 GB, free: 3.949 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001271/0.8043, allocations: 12 kB / 1.233 GB, free: 3.938 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.724e-05/0.8043, allocations: 23.97 kB / 1.233 GB, free: 3.914 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.317e-05/0.8044, allocations: 15.98 kB / 1.233 GB, free: 3.898 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001942/0.8046, allocations: 197.9 kB / 1.234 GB, free: 3.703 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8046, allocations: 0 / 1.234 GB, free: 3.703 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0004457/0.805, allocations: 83.94 kB / 1.234 GB, free: 3.621 MB / 0.9512 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.0008887/0.8059, allocations: 0.976 MB / 1.235 GB, free: 2.617 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0009903/0.8069, allocations: 0.6618 MB / 1.235 GB, free: 1.906 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.8069, allocations: 0 / 1.235 GB, free: 1.906 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0002046/0.8072, allocations: 136.4 kB / 1.235 GB, free: 1.773 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005078/0.8077, allocations: 67.14 kB / 1.235 GB, free: 1.711 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0049/0.8126, allocations: 3.609 MB / 1.239 GB, free: 13.91 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003961/0.813, allocations: 0.7648 MB / 1.24 GB, free: 13.12 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0001889/0.8132, allocations: 66.91 kB / 1.24 GB, free: 13.06 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001441/0.8134, allocations: 107.4 kB / 1.24 GB, free: 12.96 MB / 0.9669 GB Notification: Performance of SimCode: time 8.21e-07/0.8134, allocations: 4 kB / 1.24 GB, free: 12.95 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03161/0.845, allocations: 7.808 MB / 1.247 GB, free: 5.309 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.725/9.57, allocations: 9.641 kB / 1.248 GB, free: 5.301 MB / 0.9669 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractor.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches