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/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.333/2.333, allocations: 390.3 MB / 405.3 MB, free: 13.5 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001304/0.001304, allocations: 182.1 kB / 498.1 MB, free: 5.727 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.528/1.528, allocations: 223.2 MB / 0.7948 GB, free: 17.86 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00103/0.001031, allocations: 106.2 kB / 0.9346 GB, free: 6.129 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003408/0.0003409, allocations: 12.03 kB / 1.084 GB, free: 221.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2359/0.2363, allocations: 142.3 MB / 1.223 GB, free: 114.1 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.172/0.4083, allocations: 150 MB / 1.369 GB, free: 11.93 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002296/0.4086, allocations: 79.89 kB / 1.369 GB, free: 11.86 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.02205/0.4307, allocations: 7.437 MB / 1.377 GB, free: 4.406 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.963e-06/0.4307, allocations: 0 / 1.377 GB, free: 4.406 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.668e-05/0.4308, allocations: 4 kB / 1.377 GB, free: 4.402 MB / 0.8698 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.0008568/0.4316, allocations: 0.6694 MB / 1.377 GB, free: 3.664 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.853e-05/0.4317, allocations: 8.031 kB / 1.377 GB, free: 3.656 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.076e-05/0.4318, allocations: 58.5 kB / 1.377 GB, free: 3.59 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001126/0.4319, allocations: 43.62 kB / 1.378 GB, free: 3.547 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005916/0.4325, allocations: 350.6 kB / 1.378 GB, free: 3.168 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.797e-05/0.4326, allocations: 28.44 kB / 1.378 GB, free: 3.137 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.986e-05/0.4326, allocations: 36 kB / 1.378 GB, free: 3.102 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004284/0.4331, allocations: 259.2 kB / 1.378 GB, free: 2.848 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.4331, allocations: 0 / 1.378 GB, free: 2.848 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.085e-05/0.4331, allocations: 15.98 kB / 1.378 GB, free: 2.832 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.626e-06/0.4331, allocations: 7.953 kB / 1.378 GB, free: 2.824 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000276/0.4334, allocations: 165.7 kB / 1.378 GB, free: 2.656 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001349/0.4348, allocations: 0.9311 MB / 1.379 GB, free: 1.676 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003328/0.4351, allocations: 230.6 kB / 1.379 GB, free: 1.441 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.247e-05/0.4351, allocations: 4.156 kB / 1.379 GB, free: 1.438 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004077/0.4356, allocations: 318.7 kB / 1.38 GB, free: 1.102 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=39): time 1.493e-06/0.4356, allocations: 0 / 1.38 GB, free: 1.102 MB / 0.8698 GB Notification: Performance of matching and sorting (n=39): time 0.0008943/0.4365, allocations: 0.5487 MB / 1.38 GB, free: 0.5469 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.391e-05/0.4366, allocations: 144.4 kB / 1.38 GB, free: 384 kB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002903/0.4369, allocations: 277.9 kB / 1.381 GB, free: 88 kB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 6.334e-05/0.4369, allocations: 45.64 kB / 1.381 GB, free: 36 kB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001452/0.4371, allocations: 152.9 kB / 1.381 GB, free: 15.88 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 6.238e-05/0.4372, allocations: 79 kB / 1.381 GB, free: 15.8 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.216e-05/0.4372, allocations: 19.94 kB / 1.381 GB, free: 15.78 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.000145/0.4374, allocations: 342.8 kB / 1.381 GB, free: 15.44 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003989/0.4378, allocations: 240.3 kB / 1.382 GB, free: 15.2 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004382/0.4382, allocations: 340.7 kB / 1.382 GB, free: 14.83 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000448/0.4387, allocations: 366.7 kB / 1.382 GB, free: 14.45 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.4387, allocations: 0 / 1.382 GB, free: 14.45 MB / 0.8855 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001115/0.4398, allocations: 0.7656 MB / 1.383 GB, free: 13.65 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 9.664e-05/0.4399, allocations: 140.2 kB / 1.383 GB, free: 13.49 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.4399, allocations: 4 kB / 1.383 GB, free: 13.49 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/0.4399, allocations: 4.25 kB / 1.383 GB, free: 13.48 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001956/0.4401, allocations: 59.91 kB / 1.383 GB, free: 13.43 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.766e-06/0.4402, allocations: 3.953 kB / 1.383 GB, free: 13.42 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006875/0.4409, allocations: 167.6 kB / 1.383 GB, free: 13.26 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001103/0.441, allocations: 75.84 kB / 1.383 GB, free: 13.18 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 43 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,extIndInt.u[1],extIndInt.u[2],extIndInt.u[3],extIndInt.u[4],extIndInt.y,extIndInt1.u[1],extIndInt1.u[2],extIndInt1.u[3],extIndInt1.u[4],extIndInt1.y,extIndInt2.u[1],extIndInt2.u[2],extIndInt2.u[3],extIndInt2.u[4],extIndInt2.y,extIndInt3.index,extIndInt3.u[1],extIndInt3.u[2],extIndInt3.u[3],extIndInt3.u[4],extIndInt3.y,extIndInt4.index,extIndInt4.u[1],extIndInt4.u[2],extIndInt4.u[3],extIndInt4.u[4],extIndInt4.y,$PRE.intPul.booPul.y,intPul.booPul.y,$PRE.intPul1.booPul.y,intPul1.booPul.y,$PRE.intPul2.booPul.y,intPul2.booPul.y,$PRE.intPul3.booPul.y,intPul3.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 39 * 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.0002146/0.4412, allocations: 189.7 kB / 1.384 GB, free: 12.99 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.272e-05/0.4413, allocations: 31.62 kB / 1.384 GB, free: 12.96 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006742/0.4419, allocations: 472.6 kB / 1.384 GB, free: 12.49 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.873e-06/0.4419, allocations: 4 kB / 1.384 GB, free: 12.48 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.947e-06/0.442, allocations: 3.984 kB / 1.384 GB, free: 12.48 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.712e-06/0.442, allocations: 7.953 kB / 1.384 GB, free: 12.47 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000964/0.4429, allocations: 0.8576 MB / 1.385 GB, free: 11.56 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.443, allocations: 0 / 1.385 GB, free: 11.56 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001735/0.4431, allocations: 47.92 kB / 1.385 GB, free: 11.51 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.531e-06/0.4431, allocations: 4 kB / 1.385 GB, free: 11.51 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.668e-05/0.4432, allocations: 15.98 kB / 1.385 GB, free: 11.49 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.4432, allocations: 3.984 kB / 1.385 GB, free: 11.49 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.4432, allocations: 11.89 kB / 1.385 GB, free: 11.48 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005814/0.4438, allocations: 0.5109 MB / 1.385 GB, free: 10.95 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 8.726e-05/0.4439, allocations: 108.7 kB / 1.386 GB, free: 10.82 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.472e-05/0.4439, allocations: 15.98 kB / 1.386 GB, free: 10.81 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001361/0.4441, allocations: 12 kB / 1.386 GB, free: 10.8 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.868e-05/0.4441, allocations: 35.94 kB / 1.386 GB, free: 10.76 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.104e-05/0.4442, allocations: 12 kB / 1.386 GB, free: 10.75 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0002165/0.4444, allocations: 219.1 kB / 1.386 GB, free: 10.54 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.41e-07/0.4444, allocations: 0 / 1.386 GB, free: 10.54 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0004335/0.4448, allocations: 103.9 kB / 1.386 GB, free: 10.44 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 43 ($cse1,$cse2,$cse3,$cse4,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,extIndInt.u[1],extIndInt.u[2],extIndInt.u[3],extIndInt.u[4],extIndInt.y,extIndInt1.u[1],extIndInt1.u[2],extIndInt1.u[3],extIndInt1.u[4],extIndInt1.y,extIndInt2.u[1],extIndInt2.u[2],extIndInt2.u[3],extIndInt2.u[4],extIndInt2.y,extIndInt3.index,extIndInt3.u[1],extIndInt3.u[2],extIndInt3.u[3],extIndInt3.u[4],extIndInt3.y,extIndInt4.index,extIndInt4.u[1],extIndInt4.u[2],extIndInt4.u[3],extIndInt4.u[4],extIndInt4.y,intPul.booPul.y,intPul1.booPul.y,intPul2.booPul.y,intPul3.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 39 * 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.000965/0.4458, allocations: 1.105 MB / 1.387 GB, free: 9.309 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0009391/0.4468, allocations: 0.755 MB / 1.388 GB, free: 8.504 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.4468, allocations: 0 / 1.388 GB, free: 8.504 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0002395/0.447, allocations: 199.8 kB / 1.388 GB, free: 8.309 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003967/0.4474, allocations: 69.05 kB / 1.388 GB, free: 8.242 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001889/0.4493, allocations: 2.25 MB / 1.39 GB, free: 5.902 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003552/0.4497, allocations: 0.7891 MB / 1.391 GB, free: 5.09 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0002046/0.4499, allocations: 90.88 kB / 1.391 GB, free: 4.996 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001493/0.4501, allocations: 119.4 kB / 1.391 GB, free: 4.883 MB / 0.8855 GB Notification: Performance of SimCode: time 4.61e-07/0.4501, allocations: 3.938 kB / 1.391 GB, free: 4.879 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02014/0.4702, allocations: 8.256 MB / 1.399 GB, free: 12.83 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002107/0.4705, allocations: 192.2 kB / 1.399 GB, free: 12.59 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.081/2.551, allocations: 0 / 1.399 GB, free: 12.59 MB / 0.9011 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