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.389/2.389, allocations: 387.4 MB / 394.9 MB, free: 13.42 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.001583/0.001583, allocations: 180.5 kB / 487.4 MB, free: 5.047 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.618/1.618, allocations: 221.5 MB / 0.7824 GB, free: 0.9531 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001078/0.001078, allocations: 107.7 kB / 0.9219 GB, free: 2.184 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.074e-05/2.075e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3042/0.3043, allocations: 142.3 MB / 1.206 GB, free: 43.89 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.063/1.367, allocations: 149.1 MB / 1.352 GB, free: 18.52 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003416/1.368, allocations: 68.7 kB / 1.352 GB, free: 18.52 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01455/1.382, allocations: 4.272 MB / 1.356 GB, free: 34 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.713e-06/1.382, allocations: 0 / 1.356 GB, free: 34 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.762e-05/1.382, allocations: 7.812 kB / 1.356 GB, free: 33.99 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.0005213/1.383, allocations: 496.2 kB / 1.356 GB, free: 33.53 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/1.383, allocations: 7.812 kB / 1.356 GB, free: 33.53 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.244e-05/1.383, allocations: 23.38 kB / 1.356 GB, free: 33.52 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003898/1.383, allocations: 272.8 kB / 1.357 GB, free: 33.3 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.628e-05/1.383, allocations: 3.844 kB / 1.357 GB, free: 33.3 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.607e-05/1.383, allocations: 19.36 kB / 1.357 GB, free: 33.3 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000131/1.384, allocations: 57.31 kB / 1.357 GB, free: 33.3 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001997/1.384, allocations: 144.2 kB / 1.357 GB, free: 33.23 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/1.384, allocations: 0 / 1.357 GB, free: 33.23 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.565e-05/1.384, allocations: 3.094 kB / 1.357 GB, free: 33.23 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/1.384, allocations: 3.844 kB / 1.357 GB, free: 33.23 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008124/1.385, allocations: 0.7577 MB / 1.358 GB, free: 32.72 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.036e-05/1.385, allocations: 54.34 kB / 1.358 GB, free: 32.67 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.846e-05/1.385, allocations: 34.31 kB / 1.358 GB, free: 32.65 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.259e-05/1.385, allocations: 3.875 kB / 1.358 GB, free: 32.65 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001428/1.385, allocations: 107.1 kB / 1.358 GB, free: 32.58 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=8): time 1.243e-06/1.385, allocations: 3.906 kB / 1.358 GB, free: 32.58 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8): time 0.0002354/1.385, allocations: 100.6 kB / 1.358 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.236e-05/1.385, allocations: 87.89 kB / 1.358 GB, free: 32.44 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001841/1.385, allocations: 177.7 kB / 1.358 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.432e-05/1.385, allocations: 32.67 kB / 1.358 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001019/1.386, allocations: 134 kB / 1.358 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.712e-05/1.386, allocations: 17.03 kB / 1.358 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.042e-05/1.386, allocations: 3.875 kB / 1.358 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001438/1.386, allocations: 331.5 kB / 1.359 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001297/1.386, allocations: 63.39 kB / 1.359 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001459/1.386, allocations: 137.2 kB / 1.359 GB, free: 31.81 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003229/1.386, allocations: 90.95 kB / 1.359 GB, free: 31.81 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/1.386, allocations: 4 kB / 1.359 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005002/1.387, allocations: 232.6 kB / 1.359 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 5.531e-05/1.387, allocations: 73.3 kB / 1.359 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/1.387, allocations: 3.938 kB / 1.359 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.69e-05/1.387, allocations: 3.875 kB / 1.359 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.561e-05/1.387, allocations: 7.719 kB / 1.359 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/1.387, allocations: 3.969 kB / 1.359 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003637/1.387, allocations: 78.12 kB / 1.359 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.095e-05/1.388, allocations: 18.81 kB / 1.359 GB, free: 31.68 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.0001043/1.388, allocations: 125.3 kB / 1.359 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001172/1.388, allocations: 99.27 kB / 1.36 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.616e-05/1.388, allocations: 15.53 kB / 1.36 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.818e-05/1.388, allocations: 15.83 kB / 1.36 GB, free: 31.51 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/1.388, allocations: 4.125 kB / 1.36 GB, free: 31.51 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/1.388, allocations: 0 / 1.36 GB, free: 31.51 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.636e-06/1.388, allocations: 0 / 1.36 GB, free: 31.51 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001415/1.388, allocations: 213.9 kB / 1.36 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/1.388, allocations: 3.469 kB / 1.36 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.523e-05/1.388, allocations: 7.781 kB / 1.36 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/1.388, allocations: 0 / 1.36 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.717e-06/1.388, allocations: 3.844 kB / 1.36 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/1.388, allocations: 0 / 1.36 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/1.388, allocations: 0 / 1.36 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001658/1.388, allocations: 146.2 kB / 1.36 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.44e-05/1.388, allocations: 88.77 kB / 1.36 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.206e-05/1.388, allocations: 3.875 kB / 1.36 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.113e-05/1.388, allocations: 3.141 kB / 1.36 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.482e-05/1.388, allocations: 3.969 kB / 1.36 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.057e-06/1.388, allocations: 11.34 kB / 1.36 GB, free: 31.13 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001093/1.389, allocations: 141.9 kB / 1.36 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.11e-07/1.389, allocations: 0 / 1.36 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002755/1.389, allocations: 50.34 kB / 1.36 GB, free: 31.04 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.0005165/1.389, allocations: 0.7657 MB / 1.361 GB, free: 30.34 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.000306/1.39, allocations: 258.2 kB / 1.361 GB, free: 30.21 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/1.39, allocations: 4.25 kB / 1.361 GB, free: 30.21 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 4.757e-05/1.39, allocations: 32.59 kB / 1.361 GB, free: 30.21 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000255/1.39, allocations: 29.31 kB / 1.361 GB, free: 30.2 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005247/1.391, allocations: 251.6 kB / 1.362 GB, free: 30.05 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003102/1.391, allocations: 0.741 MB / 1.362 GB, free: 29.34 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 5.481e-05/1.391, allocations: 17.47 kB / 1.362 GB, free: 29.34 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.914e-05/1.391, allocations: 50.47 kB / 1.362 GB, free: 29.33 MB / 0.8386 GB Notification: Performance of SimCode: time 4.21e-07/1.391, allocations: 3.844 kB / 1.362 GB, free: 29.33 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02775/1.419, allocations: 3.813 MB / 1.366 GB, free: 29.04 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002483/1.419, allocations: 157 kB / 1.366 GB, free: 28.84 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.694/3.113, allocations: 0 / 1.366 GB, free: 28.84 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