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.00123/0.001229, allocations: 100 kB / 15.05 MB, free: 1.105 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.001437/0.001437, allocations: 177.3 kB / 15.95 MB, free: 216 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.377/1.377, allocations: 223.2 MB / 239.9 MB, free: 5.473 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.453/2.453, allocations: 390.3 MB / 0.6653 GB, free: 3.004 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003492/0.0003496, allocations: 15.94 kB / 0.8146 GB, free: 14.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7249/0.7252, allocations: 142.3 MB / 0.9536 GB, free: 8.129 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractor): time 0.000955/0.7262, allocations: 0.6973 MB / 0.9543 GB, free: 7.598 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001539/0.7278, allocations: 1.371 MB / 0.9556 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001219/0.7279, allocations: 2.875 kB / 0.9556 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000107/0.728, allocations: 15.86 kB / 0.9556 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001065/0.7282, allocations: 39.2 kB / 0.9557 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009539/0.7291, allocations: 412.6 kB / 0.9561 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003378/0.7295, allocations: 261.2 kB / 0.9563 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000215/0.7297, allocations: 92.75 kB / 0.9564 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002251/0.7299, allocations: 155.9 kB / 0.9566 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001975/0.7301, allocations: 124.5 kB / 0.9567 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.493e-05/0.7302, allocations: 23.42 kB / 0.9567 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001208/0.7303, allocations: 33.39 kB / 0.9567 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.035e-05/0.7304, allocations: 45.34 kB / 0.9568 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001043/0.7305, allocations: 78.83 kB / 0.9568 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003613/0.7309, allocations: 380.2 kB / 0.9572 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.7309, allocations: 0 / 0.9572 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.365e-06/0.7309, allocations: 0 / 0.9572 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.588e-05/0.7309, allocations: 1.312 kB / 0.9572 GB, free: 5.414 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.0007185/0.7317, allocations: 0.6015 MB / 0.9578 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.7317, allocations: 13 kB / 0.9578 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.76e-05/0.7318, allocations: 57.61 kB / 0.9579 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001314/0.7319, allocations: 43.84 kB / 0.9579 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009842/0.7329, allocations: 370 kB / 0.9583 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.374e-05/0.733, allocations: 17.72 kB / 0.9583 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.373e-05/0.7331, allocations: 34.28 kB / 0.9583 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004549/0.7335, allocations: 238.5 kB / 0.9585 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.355e-05/0.7335, allocations: 0 / 0.9585 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.706e-05/0.7336, allocations: 9.766 kB / 0.9585 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.097e-05/0.7336, allocations: 5.406 kB / 0.9585 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002596/0.7339, allocations: 147.2 kB / 0.9587 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001492/0.7354, allocations: 0.7582 MB / 0.9594 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003753/0.7358, allocations: 190.9 kB / 0.9596 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.036e-05/0.7358, allocations: 2.125 kB / 0.9596 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004442/0.7362, allocations: 246.6 kB / 0.9598 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=28): time 2.796e-06/0.7363, allocations: 0 / 0.9598 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of matching and sorting (n=28): time 0.0009351/0.7372, allocations: 422.2 kB / 0.9603 GB, free: 3.105 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.6e-05/0.7373, allocations: 111.1 kB / 0.9604 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004064/0.7377, allocations: 287.4 kB / 0.9606 GB, free: 2.773 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.899e-05/0.7378, allocations: 38.02 kB / 0.9607 GB, free: 2.738 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001591/0.738, allocations: 155.9 kB / 0.9608 GB, free: 2.602 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 7.27e-05/0.738, allocations: 61.56 kB / 0.9609 GB, free: 2.551 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.901e-05/0.7381, allocations: 20.12 kB / 0.9609 GB, free: 2.539 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.000136/0.7382, allocations: 345.8 kB / 0.9612 GB, free: 2.199 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004645/0.7387, allocations: 200.4 kB / 0.9614 GB, free: 2.109 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005053/0.7392, allocations: 316.8 kB / 0.9617 GB, free: 1.875 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004306/0.7397, allocations: 337.1 kB / 0.962 GB, free: 1.637 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.284e-06/0.7397, allocations: 1.094 kB / 0.962 GB, free: 1.637 MB / 0.7169 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001217/0.7409, allocations: 0.7152 MB / 0.9627 GB, free: 1.223 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 8.037e-05/0.741, allocations: 130.8 kB / 0.9629 GB, free: 1.086 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.165e-05/0.741, allocations: 7.5 kB / 0.9629 GB, free: 1.082 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.209e-05/0.7411, allocations: 3.688 kB / 0.9629 GB, free: 1.082 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.518e-05/0.7412, allocations: 23.86 kB / 0.9629 GB, free: 1.07 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.056e-05/0.7412, allocations: 11.52 kB / 0.9629 GB, free: 1.066 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007695/0.7419, allocations: 169.9 kB / 0.9631 GB, free: 1 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001147/0.7421, allocations: 68.42 kB / 0.9631 GB, free: 0.9727 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.0001941/0.7423, allocations: 183 kB / 0.9633 GB, free: 0.8203 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.359e-05/0.7423, allocations: 33.14 kB / 0.9633 GB, free: 0.8008 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005368/0.7429, allocations: 361.9 kB / 0.9637 GB, free: 0.6055 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.7429, allocations: 3.312 kB / 0.9637 GB, free: 0.6055 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.7429, allocations: 1.062 kB / 0.9637 GB, free: 0.6055 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.299e-06/0.7429, allocations: 7.984 kB / 0.9637 GB, free: 0.5977 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008484/0.7438, allocations: 0.7005 MB / 0.9644 GB, free: 76 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.7438, allocations: 0.8125 kB / 0.9644 GB, free: 76 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.045e-05/0.7438, allocations: 27.33 kB / 0.9644 GB, free: 60 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.7439, allocations: 2.031 kB / 0.9644 GB, free: 60 kB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.903e-05/0.7439, allocations: 9.984 kB / 0.9644 GB, free: 52 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.898e-06/0.7439, allocations: 1.969 kB / 0.9644 GB, free: 52 kB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.7439, allocations: 7.938 kB / 0.9644 GB, free: 44 kB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005247/0.7444, allocations: 413.7 kB / 0.9648 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 7.988e-05/0.7445, allocations: 105.8 kB / 0.9649 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.146e-05/0.7446, allocations: 10.86 kB / 0.9649 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001236/0.7447, allocations: 13.36 kB / 0.9649 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.648e-05/0.7448, allocations: 21.81 kB / 0.965 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.404e-05/0.7448, allocations: 19.64 kB / 0.965 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002178/0.745, allocations: 189.5 kB / 0.9652 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.745, allocations: 0 / 0.9652 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0007391/0.7458, allocations: 89.31 kB / 0.9653 GB, free: 15.49 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.00118/0.747, allocations: 0.9742 MB / 0.9662 GB, free: 14.69 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001049/0.748, allocations: 0.6532 MB / 0.9668 GB, free: 14.24 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/0.748, allocations: 1.562 kB / 0.9668 GB, free: 14.24 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002382/0.7483, allocations: 137.7 kB / 0.967 GB, free: 14.19 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003976/0.7487, allocations: 51.38 kB / 0.967 GB, free: 14.17 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002086/0.7508, allocations: 2.852 MB / 0.9698 GB, free: 11.45 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004047/0.7512, allocations: 0.7681 MB / 0.9706 GB, free: 10.72 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001883/0.7514, allocations: 63.17 kB / 0.9706 GB, free: 10.7 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000145/0.7516, allocations: 101.5 kB / 0.9707 GB, free: 10.62 MB / 0.7325 GB Notification: Performance of SimCode: time 6.21e-07/0.7516, allocations: 5.219 kB / 0.9707 GB, free: 10.61 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0222/0.7738, allocations: 7.198 MB / 0.9778 GB, free: 6.973 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001751/0.774, allocations: 199 kB / 0.9779 GB, free: 6.727 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.869/2.643, allocations: 1.828 kB / 0.9779 GB, free: 6.727 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