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.0008702/0.0008698, allocations: 86.25 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.0008723/0.0008725, 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.416/1.416, allocations: 223.3 MB / 240 MB, free: 5.434 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.402/2.402, allocations: 390.4 MB / 0.6655 GB, free: 3 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003708/0.0003711, allocations: 11.98 kB / 0.8149 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7296/0.73, allocations: 142.3 MB / 0.9539 GB, free: 8.102 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractor): time 0.001152/0.7312, allocations: 0.8061 MB / 0.9546 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001813/0.733, allocations: 1.486 MB / 0.9561 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001051/0.7332, allocations: 4.156 kB / 0.9561 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001148/0.7333, allocations: 19.78 kB / 0.9561 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.819e-05/0.7334, allocations: 44.77 kB / 0.9562 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001088/0.7345, allocations: 417.4 kB / 0.9566 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0005032/0.735, allocations: 484.2 kB / 0.957 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002481/0.7353, allocations: 118.4 kB / 0.9571 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001912/0.7354, allocations: 167 kB / 0.9573 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001697/0.7356, allocations: 145.7 kB / 0.9574 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.387e-05/0.7357, allocations: 19.22 kB / 0.9574 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001046/0.7358, allocations: 39.28 kB / 0.9575 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.815e-05/0.7359, allocations: 46.28 kB / 0.9575 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.912e-05/0.736, allocations: 84.42 kB / 0.9576 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000328/0.7363, allocations: 483.9 kB / 0.9581 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.7363, allocations: 0 / 0.9581 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.503e-06/0.7363, allocations: 0 / 0.9581 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.111e-06/0.7363, allocations: 1.781 kB / 0.9581 GB, free: 4.941 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.0006172/0.7369, allocations: 0.6473 MB / 0.9587 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.737, allocations: 8.25 kB / 0.9587 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.69e-05/0.7371, allocations: 60.17 kB / 0.9588 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.993e-05/0.7371, allocations: 53.69 kB / 0.9588 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008887/0.738, allocations: 405.8 kB / 0.9592 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.12e-05/0.7381, allocations: 24.62 kB / 0.9592 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.837e-05/0.7382, allocations: 39.3 kB / 0.9593 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004075/0.7386, allocations: 253.9 kB / 0.9595 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.7386, allocations: 1 kB / 0.9595 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.455e-05/0.7386, allocations: 6.531 kB / 0.9595 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.164e-05/0.7387, allocations: 9.422 kB / 0.9595 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002692/0.7389, allocations: 152.9 kB / 0.9597 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001186/0.7401, allocations: 0.8506 MB / 0.9605 GB, free: 2.945 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002969/0.7404, allocations: 220.2 kB / 0.9607 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002498/0.7407, allocations: 213.7 kB / 0.9609 GB, free: 2.746 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.233e-05/0.7407, allocations: 2.688 kB / 0.9609 GB, free: 2.746 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002941/0.741, allocations: 240.6 kB / 0.9612 GB, free: 2.586 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=28): time 1.613e-06/0.741, allocations: 0 / 0.9612 GB, free: 2.586 MB / 0.7169 GB Notification: Performance of matching and sorting (n=28): time 0.0006542/0.7417, allocations: 433.2 kB / 0.9616 GB, free: 2.395 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.587e-05/0.7417, allocations: 123.2 kB / 0.9617 GB, free: 2.254 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002751/0.742, allocations: 329.1 kB / 0.962 GB, free: 2.023 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.622e-05/0.7421, allocations: 37.67 kB / 0.962 GB, free: 1.988 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001119/0.7422, allocations: 183.1 kB / 0.9622 GB, free: 1.824 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.017e-05/0.7422, allocations: 53.67 kB / 0.9623 GB, free: 1.781 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.993e-05/0.7423, allocations: 16.44 kB / 0.9623 GB, free: 1.773 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.418e-05/0.7424, allocations: 342.8 kB / 0.9626 GB, free: 1.438 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003649/0.7427, allocations: 207.7 kB / 0.9628 GB, free: 1.34 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003837/0.7431, allocations: 331.4 kB / 0.9631 GB, free: 1.09 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003637/0.7435, allocations: 339 kB / 0.9634 GB, free: 0.8516 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.7435, allocations: 5 kB / 0.9634 GB, free: 0.8477 MB / 0.7169 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009689/0.7445, allocations: 0.7324 MB / 0.9642 GB, free: 432 kB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 5.58e-05/0.7445, allocations: 125.1 kB / 0.9643 GB, free: 296 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.7446, allocations: 3.25 kB / 0.9643 GB, free: 296 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.899e-05/0.7446, allocations: 4.594 kB / 0.9643 GB, free: 296 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002094/0.7448, allocations: 63.09 kB / 0.9643 GB, free: 276 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.271e-05/0.7448, allocations: 5.375 kB / 0.9644 GB, free: 276 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006401/0.7455, allocations: 179.5 kB / 0.9645 GB, free: 200 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001031/0.7456, allocations: 72.53 kB / 0.9646 GB, free: 168 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.0002083/0.7458, allocations: 189.3 kB / 0.9648 GB, free: 8 kB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.695e-05/0.7459, allocations: 31.23 kB / 0.9648 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005817/0.7465, allocations: 364.8 kB / 0.9651 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.212e-06/0.7465, allocations: 3.781 kB / 0.9652 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.7465, allocations: 0 / 0.9652 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.564e-06/0.7465, allocations: 4.953 kB / 0.9652 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009896/0.7475, allocations: 0.7497 MB / 0.9659 GB, free: 15.24 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.7475, allocations: 1 kB / 0.9659 GB, free: 15.24 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001356/0.7476, allocations: 35.33 kB / 0.9659 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.579e-06/0.7477, allocations: 2 kB / 0.9659 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.229e-05/0.7477, allocations: 14.98 kB / 0.9659 GB, free: 15.22 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.4e-06/0.7477, allocations: 4.953 kB / 0.9659 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.522e-06/0.7477, allocations: 0 / 0.9659 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005246/0.7482, allocations: 431.7 kB / 0.9664 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 7.356e-05/0.7483, allocations: 110.7 kB / 0.9665 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.958e-05/0.7484, allocations: 6.312 kB / 0.9665 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001253/0.7485, allocations: 11.73 kB / 0.9665 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.591e-05/0.7486, allocations: 26.14 kB / 0.9665 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.07e-05/0.7486, allocations: 15.91 kB / 0.9665 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002228/0.7488, allocations: 210 kB / 0.9667 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7488, allocations: 0.8438 kB / 0.9667 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004805/0.7493, allocations: 102.2 kB / 0.9668 GB, free: 14.63 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.0008416/0.7502, allocations: 0.9745 MB / 0.9678 GB, free: 13.84 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0009483/0.7511, allocations: 0.6749 MB / 0.9684 GB, free: 13.38 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.7511, allocations: 0 / 0.9684 GB, free: 13.38 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000206/0.7513, allocations: 153.4 kB / 0.9686 GB, free: 13.31 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005157/0.7519, allocations: 80.98 kB / 0.9687 GB, free: 13.27 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003294/0.7552, allocations: 2.146 MB / 0.9707 GB, free: 11.91 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003376/0.7555, allocations: 0.7769 MB / 0.9715 GB, free: 11.18 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002094/0.7557, allocations: 74.19 kB / 0.9716 GB, free: 11.14 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001509/0.7559, allocations: 116 kB / 0.9717 GB, free: 11.05 MB / 0.7325 GB Notification: Performance of SimCode: time 9.01e-07/0.7559, allocations: 0 / 0.9717 GB, free: 11.05 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02001/0.7759, allocations: 7.985 MB / 0.9795 GB, free: 5.445 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001688/0.7761, allocations: 208 kB / 0.9797 GB, free: 5.199 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.951/2.727, allocations: 0 / 0.9797 GB, free: 5.199 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