Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.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.IntegerExtractSignal,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.346/2.346, allocations: 387.1 MB / 399.7 MB, free: 9.504 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.0009935/0.0009932, allocations: 184.1 kB / 492.3 MB, free: 0.6406 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.693/1.693, allocations: 221.3 MB / 0.7871 GB, free: 12.95 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.001134/0.001133, allocations: 95.91 kB / 0.9267 GB, free: 14.01 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.52e-05/4.53e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3214/0.3214, allocations: 142.4 MB / 1.213 GB, free: 38.41 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.089/1.41, allocations: 149.8 MB / 1.359 GB, free: 18.89 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002883/1.411, allocations: 72.2 kB / 1.359 GB, free: 18.89 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01343/1.424, allocations: 4.298 MB / 1.363 GB, free: 34.36 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.205e-06/1.424, allocations: 0 / 1.363 GB, free: 34.36 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.212e-05/1.424, allocations: 7.812 kB / 1.363 GB, free: 34.36 MB / 0.8386 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.0007556/1.425, allocations: 495.5 kB / 1.364 GB, free: 33.9 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.74e-05/1.425, allocations: 9.328 kB / 1.364 GB, free: 33.9 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.736e-05/1.425, allocations: 47.97 kB / 1.364 GB, free: 33.86 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000145/1.425, allocations: 23.34 kB / 1.364 GB, free: 33.85 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005571/1.426, allocations: 274.7 kB / 1.364 GB, free: 33.63 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.148e-05/1.426, allocations: 10.62 kB / 1.364 GB, free: 33.63 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.425e-05/1.426, allocations: 19 kB / 1.364 GB, free: 33.63 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002849/1.426, allocations: 154.2 kB / 1.364 GB, free: 33.56 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.535e-05/1.426, allocations: 3.984 kB / 1.364 GB, free: 33.55 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.917e-05/1.426, allocations: 6.906 kB / 1.364 GB, free: 33.55 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/1.426, allocations: 0 / 1.364 GB, free: 33.55 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001366/1.427, allocations: 73.72 kB / 1.364 GB, free: 33.55 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000935/1.428, allocations: 0.8061 MB / 1.365 GB, free: 33 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.523e-05/1.428, allocations: 61.91 kB / 1.365 GB, free: 32.95 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.673e-05/1.428, allocations: 28.34 kB / 1.365 GB, free: 32.94 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 8.336e-06/1.428, allocations: 4 kB / 1.365 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00014/1.428, allocations: 106.5 kB / 1.365 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=8): time 1.353e-06/1.428, allocations: 0 / 1.365 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8): time 0.0002733/1.428, allocations: 116 kB / 1.365 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.943e-05/1.428, allocations: 80.95 kB / 1.365 GB, free: 32.72 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002317/1.428, allocations: 210.3 kB / 1.365 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.834e-05/1.429, allocations: 36.61 kB / 1.366 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001016/1.429, allocations: 138.6 kB / 1.366 GB, free: 32.49 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.974e-05/1.429, allocations: 15.33 kB / 1.366 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.954e-05/1.429, allocations: 6.625 kB / 1.366 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001423/1.429, allocations: 333.2 kB / 1.366 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001534/1.429, allocations: 70.33 kB / 1.366 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001909/1.429, allocations: 138 kB / 1.366 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001746/1.429, allocations: 135.2 kB / 1.366 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/1.429, allocations: 0 / 1.366 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004661/1.43, allocations: 301.8 kB / 1.367 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 6.227e-05/1.43, allocations: 76.94 kB / 1.367 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/1.43, allocations: 0 / 1.367 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.332e-05/1.43, allocations: 7.75 kB / 1.367 GB, free: 31.85 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.363e-05/1.43, allocations: 3.812 kB / 1.367 GB, free: 31.85 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.879e-06/1.43, allocations: 0 / 1.367 GB, free: 31.85 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004365/1.43, allocations: 84.36 kB / 1.367 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.081e-05/1.431, allocations: 14.3 kB / 1.367 GB, free: 31.84 MB / 0.8386 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 () * 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.0001114/1.431, allocations: 126.4 kB / 1.367 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.561e-05/1.431, allocations: 19.41 kB / 1.367 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.71e-05/1.431, allocations: 22.69 kB / 1.367 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/1.431, allocations: 0 / 1.367 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.433e-06/1.431, allocations: 2.719 kB / 1.367 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/1.431, allocations: 3.906 kB / 1.367 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001865/1.431, allocations: 236.5 kB / 1.367 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/1.431, allocations: 0 / 1.367 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.702e-05/1.431, allocations: 3.844 kB / 1.367 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.337e-06/1.431, allocations: 0 / 1.367 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.171e-05/1.431, allocations: 6.75 kB / 1.367 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/1.431, allocations: 4 kB / 1.367 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/1.431, allocations: 0 / 1.367 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001704/1.431, allocations: 157.6 kB / 1.367 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.657e-05/1.431, allocations: 98.52 kB / 1.367 GB, free: 31.31 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.155e-05/1.431, allocations: 3.5 kB / 1.367 GB, free: 31.31 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.555e-05/1.431, allocations: 4 kB / 1.367 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.876e-05/1.431, allocations: 17.78 kB / 1.367 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.416e-06/1.431, allocations: 3.781 kB / 1.367 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001473/1.432, allocations: 165.6 kB / 1.368 GB, free: 31.22 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.432, allocations: 0 / 1.368 GB, free: 31.22 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002911/1.432, allocations: 52.52 kB / 1.368 GB, free: 31.21 MB / 0.8386 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 () * 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.0005798/1.432, allocations: 0.7726 MB / 1.368 GB, free: 30.51 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.000344/1.433, allocations: 268.9 kB / 1.369 GB, free: 30.38 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/1.433, allocations: 96 / 1.369 GB, free: 30.38 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 5.727e-05/1.433, allocations: 39.77 kB / 1.369 GB, free: 30.38 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002683/1.433, allocations: 32.36 kB / 1.369 GB, free: 30.37 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006148/1.434, allocations: 270.8 kB / 1.369 GB, free: 30.2 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003755/1.434, allocations: 0.7359 MB / 1.37 GB, free: 29.51 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 7.61e-05/1.434, allocations: 19.77 kB / 1.37 GB, free: 29.5 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.603e-05/1.434, allocations: 47.73 kB / 1.37 GB, free: 29.49 MB / 0.8386 GB Notification: Performance of SimCode: time 3.91e-07/1.434, allocations: 0 / 1.37 GB, free: 29.49 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01878/1.453, allocations: 4.517 MB / 1.374 GB, free: 29.1 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001858/1.453, allocations: 181.9 kB / 1.374 GB, free: 28.87 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.736/3.189, allocations: 0 / 1.374 GB, free: 28.87 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal_res.mat does not exist to compare? outputFormat=mat