Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 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.IntegerExtractor,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractor",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.001186/0.001186, allocations: 99 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.001296/0.001296, allocations: 177.3 kB / 15.94 MB, free: 228 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.419/1.419, allocations: 223.2 MB / 239.9 MB, free: 5.438 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.374/2.374, allocations: 390.3 MB / 0.6653 GB, free: 3.016 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004077/0.0004081, allocations: 12 kB / 0.8146 GB, free: 14.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.716/0.7164, allocations: 142.3 MB / 0.9536 GB, free: 8.148 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor): time 0.001083/0.7176, allocations: 0.8008 MB / 0.9544 GB, free: 7.539 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001705/0.7193, allocations: 1.417 MB / 0.9558 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000201/0.7195, allocations: 3 kB / 0.9558 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001219/0.7197, allocations: 20.5 kB / 0.9558 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001623/0.7198, allocations: 52 kB / 0.9558 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001067/0.7209, allocations: 417.5 kB / 0.9562 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004047/0.7213, allocations: 291.6 kB / 0.9565 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002363/0.7216, allocations: 110.4 kB / 0.9566 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001616/0.7217, allocations: 175.2 kB / 0.9568 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001565/0.7219, allocations: 152.6 kB / 0.9569 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.412e-05/0.722, allocations: 27.62 kB / 0.957 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.134e-05/0.7221, allocations: 28.14 kB / 0.957 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.441e-05/0.7221, allocations: 49.92 kB / 0.957 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.343e-05/0.7222, allocations: 85.05 kB / 0.9571 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003163/0.7225, allocations: 471.4 kB / 0.9576 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.045e-06/0.7226, allocations: 0 / 0.9576 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.583e-06/0.7226, allocations: 0 / 0.9576 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.7226, allocations: 0 / 0.9576 GB, free: 5.152 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: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.0006072/0.7232, allocations: 0.6443 MB / 0.9582 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.705e-05/0.7232, allocations: 13.09 kB / 0.9582 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.46e-05/0.7233, allocations: 67.62 kB / 0.9583 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.56e-05/0.7234, allocations: 50.45 kB / 0.9583 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008914/0.7243, allocations: 413.4 kB / 0.9587 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.927e-05/0.7243, allocations: 23.56 kB / 0.9587 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.862e-05/0.7244, allocations: 31.5 kB / 0.9588 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003307/0.7247, allocations: 249.1 kB / 0.959 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.7247, allocations: 0 / 0.959 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.152e-05/0.7248, allocations: 6.688 kB / 0.959 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.386e-06/0.7248, allocations: 13.23 kB / 0.959 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002203/0.725, allocations: 158.2 kB / 0.9592 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001099/0.7261, allocations: 0.8565 MB / 0.96 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002928/0.7264, allocations: 220.7 kB / 0.9602 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.046e-05/0.7264, allocations: 2 kB / 0.9602 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002682/0.7267, allocations: 248.2 kB / 0.9605 GB, free: 2.863 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=28): time 1.332e-06/0.7267, allocations: 0 / 0.9605 GB, free: 2.863 MB / 0.7169 GB Notification: Performance of matching and sorting (n=28): time 0.0006176/0.7273, allocations: 429.1 kB / 0.9609 GB, free: 2.676 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.059e-05/0.7274, allocations: 111.4 kB / 0.961 GB, free: 2.547 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002542/0.7277, allocations: 324.5 kB / 0.9613 GB, free: 2.32 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.953e-05/0.7277, allocations: 43.2 kB / 0.9613 GB, free: 2.281 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001084/0.7278, allocations: 177.9 kB / 0.9615 GB, free: 2.121 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.611e-05/0.7279, allocations: 58.17 kB / 0.9615 GB, free: 2.074 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.762e-05/0.7279, allocations: 16.56 kB / 0.9616 GB, free: 2.066 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.7e-05/0.728, allocations: 350.5 kB / 0.9619 GB, free: 1.723 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000314/0.7283, allocations: 208 kB / 0.9621 GB, free: 1.625 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003679/0.7287, allocations: 326.2 kB / 0.9624 GB, free: 1.379 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003527/0.729, allocations: 339.7 kB / 0.9627 GB, free: 1.141 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.729, allocations: 0 / 0.9627 GB, free: 1.141 MB / 0.7169 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009733/0.73, allocations: 0.737 MB / 0.9634 GB, free: 0.7109 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 7.715e-05/0.7301, allocations: 128.3 kB / 0.9636 GB, free: 0.5742 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/0.7301, allocations: 2.812 kB / 0.9636 GB, free: 0.5742 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.606e-05/0.7302, allocations: 6.25 kB / 0.9636 GB, free: 0.5742 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002236/0.7304, allocations: 62.75 kB / 0.9636 GB, free: 0.5547 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.659e-05/0.7304, allocations: 8.641 kB / 0.9636 GB, free: 0.5508 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006896/0.7311, allocations: 173.5 kB / 0.9638 GB, free: 496 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.039e-05/0.7312, allocations: 77.84 kB / 0.9639 GB, free: 460 kB / 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,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.0001701/0.7314, allocations: 193.6 kB / 0.9641 GB, free: 296 kB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.894e-05/0.7314, allocations: 30.41 kB / 0.9641 GB, free: 280 kB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004964/0.7319, allocations: 369.2 kB / 0.9645 GB, free: 80 kB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.7319, allocations: 3.219 kB / 0.9645 GB, free: 80 kB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.7319, allocations: 4.734 kB / 0.9645 GB, free: 76 kB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.732, allocations: 0 / 0.9645 GB, free: 76 kB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009852/0.7329, allocations: 0.7433 MB / 0.9652 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.733, allocations: 4 kB / 0.9652 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001259/0.7331, allocations: 39.89 kB / 0.9652 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.7331, allocations: 1.125 kB / 0.9652 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.081e-05/0.7331, allocations: 11.05 kB / 0.9652 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.7331, allocations: 1.469 kB / 0.9652 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.7331, allocations: 0 / 0.9652 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005078/0.7337, allocations: 435.7 kB / 0.9657 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 8.923e-05/0.7337, allocations: 106.7 kB / 0.9658 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.087e-05/0.7338, allocations: 10 kB / 0.9658 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001291/0.7339, allocations: 12.17 kB / 0.9658 GB, free: 15.1 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.567e-05/0.734, allocations: 22 kB / 0.9658 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.298e-05/0.734, allocations: 12.72 kB / 0.9658 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002147/0.7343, allocations: 213.4 kB / 0.966 GB, free: 14.94 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7343, allocations: 0 / 0.966 GB, free: 14.94 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004162/0.7347, allocations: 94.06 kB / 0.9661 GB, free: 14.93 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 (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.0008926/0.7356, allocations: 0.9922 MB / 0.9671 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.000915/0.7365, allocations: 0.6642 MB / 0.9677 GB, free: 13.66 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.7365, allocations: 4.125 kB / 0.9677 GB, free: 13.66 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002236/0.7368, allocations: 144.7 kB / 0.9679 GB, free: 13.6 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004067/0.7372, allocations: 68.8 kB / 0.9679 GB, free: 13.56 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002217/0.7394, allocations: 2.923 MB / 0.9708 GB, free: 10.81 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004073/0.7398, allocations: 0.786 MB / 0.9716 GB, free: 10.07 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001845/0.74, allocations: 78.05 kB / 0.9716 GB, free: 10.04 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001689/0.7402, allocations: 112.4 kB / 0.9717 GB, free: 9.949 MB / 0.7325 GB Notification: Performance of SimCode: time 3.01e-07/0.7402, allocations: 4 kB / 0.9717 GB, free: 9.945 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02209/0.7623, allocations: 7.846 MB / 0.9794 GB, free: 5.273 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002204/0.7626, allocations: 202.2 kB / 0.9796 GB, free: 5.027 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.81/2.573, allocations: 0 / 0.9796 GB, free: 5.027 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractor_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractor.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor_res.mat does not exist to compare? outputFormat=mat