Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.261/2.261, allocations: 393.5 MB / 408.4 MB, free: 11.01 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.001128/0.001128, allocations: 187.9 kB / 0.4901 GB, free: 2.227 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.612/1.612, allocations: 223.1 MB / 0.7992 GB, free: 14.75 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.00112/0.001121, allocations: 105.2 kB / 0.9396 GB, free: 1.926 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003705/0.0003705, allocations: 14.53 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.324/0.3244, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2058/0.5303, allocations: 150.6 MB / 1.376 GB, free: 2.84 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003362/0.5307, allocations: 71.95 kB / 1.376 GB, free: 2.77 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01905/0.5497, allocations: 4.307 MB / 1.381 GB, free: 14.45 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.555e-06/0.5498, allocations: 0 / 1.381 GB, free: 14.45 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 2.441e-05/0.5498, allocations: 4 kB / 1.381 GB, free: 14.45 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0009587/0.5508, allocations: 0.5099 MB / 1.381 GB, free: 13.88 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.825e-05/0.5509, allocations: 8.562 kB / 1.381 GB, free: 13.87 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.356e-05/0.551, allocations: 46.55 kB / 1.381 GB, free: 13.82 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001436/0.5511, allocations: 27.72 kB / 1.381 GB, free: 13.79 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000725/0.5519, allocations: 262.7 kB / 1.382 GB, free: 13.49 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.924e-05/0.5519, allocations: 19.94 kB / 1.382 GB, free: 13.47 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.579e-05/0.552, allocations: 20 kB / 1.382 GB, free: 13.45 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004001/0.5524, allocations: 157 kB / 1.382 GB, free: 13.28 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.33e-05/0.5525, allocations: 0 / 1.382 GB, free: 13.28 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.168e-05/0.5525, allocations: 4 kB / 1.382 GB, free: 13.28 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.259e-05/0.5525, allocations: 4 kB / 1.382 GB, free: 13.27 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002184/0.5528, allocations: 71.84 kB / 1.382 GB, free: 13.2 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001361/0.5541, allocations: 0.813 MB / 1.383 GB, free: 12.33 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001445/0.5543, allocations: 69.17 kB / 1.383 GB, free: 12.24 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.27e-05/0.5543, allocations: 0 / 1.383 GB, free: 12.24 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002424/0.5546, allocations: 109.1 kB / 1.383 GB, free: 12.12 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=8): time 4.067e-06/0.5546, allocations: 0 / 1.383 GB, free: 12.12 MB / 0.8855 GB Notification: Performance of matching and sorting (n=8): time 0.0004645/0.5551, allocations: 137.3 kB / 1.383 GB, free: 11.98 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.632e-05/0.5552, allocations: 77.11 kB / 1.383 GB, free: 11.88 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003531/0.5555, allocations: 224 kB / 1.383 GB, free: 11.66 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 5.636e-05/0.5556, allocations: 29.7 kB / 1.383 GB, free: 11.62 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001504/0.5558, allocations: 131.9 kB / 1.383 GB, free: 11.49 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.993e-05/0.5558, allocations: 15.81 kB / 1.383 GB, free: 11.47 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.004e-05/0.5559, allocations: 4 kB / 1.383 GB, free: 11.47 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001974/0.5561, allocations: 330.8 kB / 1.384 GB, free: 11.14 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002489/0.5563, allocations: 75.91 kB / 1.384 GB, free: 11.06 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003507/0.5567, allocations: 150.7 kB / 1.384 GB, free: 10.89 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002904/0.557, allocations: 131.4 kB / 1.384 GB, free: 10.75 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.557, allocations: 0 / 1.384 GB, free: 10.75 MB / 0.8855 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0008157/0.5578, allocations: 304.7 kB / 1.384 GB, free: 10.43 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 8.475e-05/0.5579, allocations: 67.39 kB / 1.384 GB, free: 10.36 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.172e-05/0.558, allocations: 4 kB / 1.384 GB, free: 10.35 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.881e-05/0.558, allocations: 4.125 kB / 1.384 GB, free: 10.35 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.697e-05/0.5581, allocations: 4 kB / 1.384 GB, free: 10.34 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.653e-05/0.5581, allocations: 11.94 kB / 1.384 GB, free: 10.33 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006059/0.5587, allocations: 83.83 kB / 1.384 GB, free: 10.25 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.724e-05/0.5588, allocations: 19.94 kB / 1.384 GB, free: 10.23 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition3,$whenCondition4,extIntSig.u[2],$PRE.intPul.booPul.y,intPul.booPul.y,$whenCondition1,$whenCondition2,extIntSig.u[3],$PRE.intPul1.booPul.y,intPul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 2 * 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.000243/0.559, allocations: 144.2 kB / 1.385 GB, free: 10.08 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.971e-05/0.5591, allocations: 15.81 kB / 1.385 GB, free: 10.07 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.03e-05/0.5592, allocations: 12.94 kB / 1.385 GB, free: 10.05 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.584e-06/0.5592, allocations: 3.984 kB / 1.385 GB, free: 10.05 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.608e-06/0.5592, allocations: 8 kB / 1.385 GB, free: 10.04 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.5592, allocations: 0 / 1.385 GB, free: 10.04 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003433/0.5596, allocations: 237.5 kB / 1.385 GB, free: 9.762 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.5596, allocations: 0 / 1.385 GB, free: 9.762 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.757e-05/0.5597, allocations: 4 kB / 1.385 GB, free: 9.758 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.823e-06/0.5597, allocations: 480 / 1.385 GB, free: 9.758 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.688e-05/0.5597, allocations: 7.938 kB / 1.385 GB, free: 9.75 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.107e-06/0.5597, allocations: 4 kB / 1.385 GB, free: 9.746 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.103e-06/0.5597, allocations: 3.938 kB / 1.385 GB, free: 9.742 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002459/0.56, allocations: 159.4 kB / 1.385 GB, free: 9.559 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 6.395e-05/0.5601, allocations: 92.92 kB / 1.385 GB, free: 9.449 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.141e-05/0.5601, allocations: 4 kB / 1.385 GB, free: 9.445 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.478e-05/0.5601, allocations: 96 / 1.385 GB, free: 9.445 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.116e-05/0.5602, allocations: 11.92 kB / 1.385 GB, free: 9.434 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.021e-05/0.5602, allocations: 8 kB / 1.385 GB, free: 9.426 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001598/0.5603, allocations: 165.6 kB / 1.385 GB, free: 9.266 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5604, allocations: 4 kB / 1.385 GB, free: 9.262 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.000308/0.5607, allocations: 63.78 kB / 1.385 GB, free: 9.199 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition3,$whenCondition4,extIntSig.u[2],intPul.booPul.y,$whenCondition1,$whenCondition2,extIntSig.u[3],intPul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0006078/0.5613, allocations: 0.7663 MB / 1.386 GB, free: 8.398 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0004138/0.5617, allocations: 270.7 kB / 1.386 GB, free: 8.109 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 7.775e-06/0.5617, allocations: 4 kB / 1.386 GB, free: 8.105 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 6.388e-05/0.5618, allocations: 39.86 kB / 1.386 GB, free: 8.066 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000262/0.5621, allocations: 32.61 kB / 1.386 GB, free: 8.031 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001231/0.5633, allocations: 1.341 MB / 1.388 GB, free: 6.609 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003354/0.5637, allocations: 0.7321 MB / 1.388 GB, free: 5.852 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 7.35e-05/0.5637, allocations: 25.06 kB / 1.388 GB, free: 5.828 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001229/0.5639, allocations: 47.42 kB / 1.389 GB, free: 5.781 MB / 0.8855 GB Notification: Performance of SimCode: time 5.81e-07/0.5639, allocations: 0 / 1.389 GB, free: 5.781 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01845/0.5823, allocations: 4.511 MB / 1.393 GB, free: 1.477 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000193/0.5826, allocations: 201.3 kB / 1.393 GB, free: 1.234 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.718/2.3, allocations: 0 / 1.393 GB, free: 1.234 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal_res.mat does not exist to compare? outputFormat=mat