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.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor,fileNamePrefix="Buildings_9_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.001033/0.001033, allocations: 86.48 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.00139/0.00139, 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.466/1.466, allocations: 223.2 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.459/2.459, allocations: 390.4 MB / 0.6655 GB, free: 2.926 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005894/0.0005895, allocations: 12 kB / 0.8149 GB, free: 14.09 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7246/0.7252, allocations: 142.3 MB / 0.9539 GB, free: 8.062 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor): time 0.001064/0.7263, allocations: 0.7009 MB / 0.9545 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001793/0.7282, allocations: 1.436 MB / 0.9559 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001793/0.7284, allocations: 2.75 kB / 0.956 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001383/0.7285, allocations: 17.23 kB / 0.956 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001405/0.7287, allocations: 31.94 kB / 0.956 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001249/0.7299, allocations: 410.5 kB / 0.9564 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0006192/0.7305, allocations: 419.4 kB / 0.9568 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002982/0.7308, allocations: 89.77 kB / 0.9569 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002365/0.7311, allocations: 163.4 kB / 0.957 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001881/0.7313, allocations: 124.9 kB / 0.9572 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.119e-05/0.7314, allocations: 18.25 kB / 0.9572 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001072/0.7315, allocations: 33.67 kB / 0.9572 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.053e-05/0.7315, allocations: 42.05 kB / 0.9572 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.323e-05/0.7316, allocations: 74.3 kB / 0.9573 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000275/0.7319, allocations: 384 kB / 0.9577 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.7319, allocations: 4 kB / 0.9577 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.743e-06/0.7319, allocations: 1.594 kB / 0.9577 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.472e-06/0.7319, allocations: 0 / 0.9577 GB, free: 5.215 MB / 0.7169 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.0005556/0.7325, allocations: 0.6083 MB / 0.9583 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.7326, allocations: 10.53 kB / 0.9583 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.817e-05/0.7326, allocations: 57.97 kB / 0.9583 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.17e-05/0.7327, allocations: 39.53 kB / 0.9584 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007928/0.7335, allocations: 370.8 kB / 0.9587 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.38e-05/0.7335, allocations: 20.75 kB / 0.9588 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.078e-05/0.7336, allocations: 38.09 kB / 0.9588 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003738/0.734, allocations: 235.4 kB / 0.959 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.734, allocations: 0 / 0.959 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.195e-05/0.734, allocations: 14.7 kB / 0.959 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.073e-05/0.7341, allocations: 5.5 kB / 0.959 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002439/0.7343, allocations: 142.8 kB / 0.9592 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001124/0.7354, allocations: 0.7583 MB / 0.9599 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002489/0.7357, allocations: 187.6 kB / 0.9601 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002676/0.736, allocations: 204.9 kB / 0.9603 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.479e-05/0.736, allocations: 1.375 kB / 0.9603 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002972/0.7363, allocations: 251.8 kB / 0.9605 GB, free: 3.008 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=28): time 1.493e-06/0.7363, allocations: 0 / 0.9605 GB, free: 3.008 MB / 0.7169 GB Notification: Performance of matching and sorting (n=28): time 0.0006543/0.737, allocations: 421.2 kB / 0.9609 GB, free: 2.824 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.287e-05/0.737, allocations: 115.9 kB / 0.961 GB, free: 2.691 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000243/0.7373, allocations: 286.9 kB / 0.9613 GB, free: 2.488 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.958e-05/0.7373, allocations: 38.58 kB / 0.9613 GB, free: 2.453 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.000108/0.7375, allocations: 159.9 kB / 0.9615 GB, free: 2.312 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.535e-05/0.7375, allocations: 62.38 kB / 0.9616 GB, free: 2.262 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.873e-05/0.7375, allocations: 11.16 kB / 0.9616 GB, free: 2.258 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.203e-05/0.7376, allocations: 346.3 kB / 0.9619 GB, free: 1.918 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000334/0.738, allocations: 193.4 kB / 0.9621 GB, free: 1.836 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003867/0.7384, allocations: 319.7 kB / 0.9624 GB, free: 1.598 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003584/0.7387, allocations: 333.4 kB / 0.9627 GB, free: 1.363 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.157e-06/0.7387, allocations: 4.906 kB / 0.9627 GB, free: 1.359 MB / 0.7169 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009818/0.7397, allocations: 0.7188 MB / 0.9634 GB, free: 0.9414 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 6.5e-05/0.7398, allocations: 128.2 kB / 0.9635 GB, free: 0.8047 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.7398, allocations: 3.969 kB / 0.9635 GB, free: 0.8047 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.926e-05/0.7398, allocations: 4.875 kB / 0.9635 GB, free: 0.8047 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.259e-05/0.7399, allocations: 25.33 kB / 0.9636 GB, free: 0.793 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.195e-05/0.74, allocations: 8.938 kB / 0.9636 GB, free: 0.7891 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006355/0.7406, allocations: 171.7 kB / 0.9637 GB, free: 0.7227 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.128e-05/0.7407, allocations: 78.88 kB / 0.9638 GB, free: 0.6875 MB / 0.7169 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],extIndBoo.u[2],extIndBoo.u[3],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,$PRE.booPul.y,booPul.y,$PRE.booPul1.y,booPul1.y,intPul.y,$PRE.intPul.booPul.y,intPul.booPul.y,intPul1.y,$PRE.intPul1.booPul.y,intPul1.booPul.y,extIndBoo4.u[1],extIndBoo3.u[1],extIndBoo2.u[1],extIndBoo1.u[1],extIndBoo4.u[4],extIndBoo3.u[4],extIndBoo2.u[4],extIndBoo1.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.0001605/0.7409, allocations: 178.6 kB / 0.964 GB, free: 0.5391 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.336e-05/0.7409, allocations: 28.61 kB / 0.964 GB, free: 0.5234 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004587/0.7414, allocations: 364.9 kB / 0.9644 GB, free: 332 kB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.7414, allocations: 4.062 kB / 0.9644 GB, free: 332 kB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.7414, allocations: 0 / 0.9644 GB, free: 332 kB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.94e-06/0.7414, allocations: 1.344 kB / 0.9644 GB, free: 332 kB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007785/0.7422, allocations: 0.7159 MB / 0.9651 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.7422, allocations: 3.984 kB / 0.9651 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.512e-05/0.7423, allocations: 28.05 kB / 0.9651 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.7423, allocations: 0.9688 kB / 0.9651 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.646e-05/0.7423, allocations: 7.406 kB / 0.9651 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.896e-06/0.7423, allocations: 0.75 kB / 0.9651 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.7423, allocations: 5 kB / 0.9651 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004812/0.7428, allocations: 417.9 kB / 0.9655 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 7.074e-05/0.7429, allocations: 108.4 kB / 0.9656 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.624e-05/0.7429, allocations: 6.969 kB / 0.9656 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001158/0.7431, allocations: 11.98 kB / 0.9656 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.885e-05/0.7431, allocations: 21.59 kB / 0.9657 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.921e-05/0.7431, allocations: 12.19 kB / 0.9657 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001714/0.7433, allocations: 184.4 kB / 0.9658 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7433, allocations: 4 kB / 0.9658 GB, free: 15.22 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004023/0.7437, allocations: 94.11 kB / 0.9659 GB, free: 15.2 MB / 0.7325 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 (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.0007572/0.7445, allocations: 0.9725 MB / 0.9669 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0008513/0.7454, allocations: 0.6491 MB / 0.9675 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.7454, allocations: 1.031 kB / 0.9675 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002034/0.7456, allocations: 145.1 kB / 0.9677 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004455/0.746, allocations: 62.61 kB / 0.9677 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00305/0.7491, allocations: 1.936 MB / 0.9696 GB, free: 12.64 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002952/0.7494, allocations: 0.7666 MB / 0.9704 GB, free: 11.9 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001616/0.7496, allocations: 67.39 kB / 0.9704 GB, free: 11.88 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000126/0.7497, allocations: 97.22 kB / 0.9705 GB, free: 11.8 MB / 0.7325 GB Notification: Performance of SimCode: time 6.41e-07/0.7497, allocations: 1.438 kB / 0.9705 GB, free: 11.8 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01876/0.7685, allocations: 7.325 MB / 0.9777 GB, free: 7.289 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001622/0.7687, allocations: 201.6 kB / 0.9779 GB, free: 7.047 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.912/2.681, allocations: 1.688 kB / 0.9779 GB, free: 7.047 MB / 0.7325 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractor_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractor.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor_res.mat does not exist to compare? outputFormat=mat