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.24/2.24, allocations: 390.3 MB / 405.3 MB, free: 13.36 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.001405/0.001405, allocations: 184.6 kB / 498.1 MB, free: 5.629 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.572/1.572, allocations: 223.2 MB / 0.7948 GB, free: 17.99 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.001244/0.001244, allocations: 99.95 kB / 0.9346 GB, free: 6.32 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003762/0.0003762, allocations: 10.31 kB / 1.084 GB, free: 221.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2511/0.2515, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1708/0.4223, allocations: 149.8 MB / 1.369 GB, free: 12.26 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002187/0.4225, allocations: 75.95 kB / 1.369 GB, free: 12.18 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.0126/0.4352, allocations: 4.307 MB / 1.374 GB, free: 7.867 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.114e-06/0.4352, allocations: 0 / 1.374 GB, free: 7.867 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.858e-05/0.4352, allocations: 4 kB / 1.374 GB, free: 7.863 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0007382/0.436, allocations: 0.5177 MB / 1.374 GB, free: 7.281 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.126e-05/0.436, allocations: 8.031 kB / 1.374 GB, free: 7.273 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.943e-05/0.4361, allocations: 38.56 kB / 1.374 GB, free: 7.227 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001058/0.4362, allocations: 31.73 kB / 1.374 GB, free: 7.195 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004933/0.4367, allocations: 266.6 kB / 1.374 GB, free: 6.895 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.629e-05/0.4368, allocations: 12 kB / 1.374 GB, free: 6.883 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.574e-05/0.4368, allocations: 20 kB / 1.374 GB, free: 6.863 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002683/0.4371, allocations: 153 kB / 1.375 GB, free: 6.695 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.4371, allocations: 3.938 kB / 1.375 GB, free: 6.691 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.979e-05/0.4372, allocations: 11.98 kB / 1.375 GB, free: 6.68 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.4372, allocations: 4 kB / 1.375 GB, free: 6.676 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001323/0.4373, allocations: 63.91 kB / 1.375 GB, free: 6.613 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009116/0.4382, allocations: 0.8102 MB / 1.375 GB, free: 5.742 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 9.759e-05/0.4383, allocations: 69.23 kB / 1.376 GB, free: 5.656 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.063e-05/0.4384, allocations: 0 / 1.376 GB, free: 5.656 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001592/0.4385, allocations: 109.1 kB / 1.376 GB, free: 5.531 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=8): time 1.112e-06/0.4385, allocations: 0 / 1.376 GB, free: 5.531 MB / 0.8698 GB Notification: Performance of matching and sorting (n=8): time 0.0003053/0.4388, allocations: 137.6 kB / 1.376 GB, free: 5.391 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.233e-05/0.4389, allocations: 85.11 kB / 1.376 GB, free: 5.289 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002298/0.4392, allocations: 212.6 kB / 1.376 GB, free: 5.074 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 4.392e-05/0.4392, allocations: 33.7 kB / 1.376 GB, free: 5.035 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 9.445e-05/0.4393, allocations: 132 kB / 1.376 GB, free: 4.902 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.896e-05/0.4393, allocations: 11.81 kB / 1.376 GB, free: 4.891 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.16e-05/0.4394, allocations: 8 kB / 1.376 GB, free: 4.883 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001448/0.4395, allocations: 330.8 kB / 1.377 GB, free: 4.551 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001556/0.4397, allocations: 71.97 kB / 1.377 GB, free: 4.48 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002049/0.4399, allocations: 142.8 kB / 1.377 GB, free: 4.316 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001785/0.4401, allocations: 131.3 kB / 1.377 GB, free: 4.176 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.4401, allocations: 32 / 1.377 GB, free: 4.176 MB / 0.8698 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004875/0.4406, allocations: 308.7 kB / 1.377 GB, free: 3.855 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 5.648e-05/0.4406, allocations: 67.41 kB / 1.377 GB, free: 3.777 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.715e-06/0.4407, allocations: 4.031 kB / 1.377 GB, free: 3.773 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.777e-05/0.4407, allocations: 7.984 kB / 1.377 GB, free: 3.766 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.632e-05/0.4407, allocations: 8 kB / 1.377 GB, free: 3.758 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.4408, allocations: 4 kB / 1.377 GB, free: 3.754 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004199/0.4412, allocations: 76.05 kB / 1.377 GB, free: 3.68 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.638e-05/0.4412, allocations: 11.95 kB / 1.377 GB, free: 3.668 MB / 0.8698 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.0001669/0.4414, allocations: 153.7 kB / 1.377 GB, free: 3.508 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.94e-05/0.4414, allocations: 19.8 kB / 1.377 GB, free: 3.488 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.054e-05/0.4415, allocations: 16.94 kB / 1.377 GB, free: 3.477 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.4415, allocations: 0 / 1.377 GB, free: 3.477 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/0.4415, allocations: 0 / 1.377 GB, free: 3.477 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.4415, allocations: 3.938 kB / 1.378 GB, free: 3.473 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002239/0.4417, allocations: 249.5 kB / 1.378 GB, free: 3.18 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.4418, allocations: 0 / 1.378 GB, free: 3.18 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.854e-05/0.4418, allocations: 4 kB / 1.378 GB, free: 3.176 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.14e-06/0.4418, allocations: 8.094 kB / 1.378 GB, free: 3.168 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.13e-05/0.4418, allocations: 7.938 kB / 1.378 GB, free: 3.16 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.4418, allocations: 0 / 1.378 GB, free: 3.16 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.4418, allocations: 0 / 1.378 GB, free: 3.16 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002193/0.4421, allocations: 159.3 kB / 1.378 GB, free: 2.977 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.262e-05/0.4421, allocations: 96.91 kB / 1.378 GB, free: 2.863 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.215e-05/0.4422, allocations: 0 / 1.378 GB, free: 2.863 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.663e-05/0.4422, allocations: 8 kB / 1.378 GB, free: 2.855 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.116e-05/0.4423, allocations: 11.98 kB / 1.378 GB, free: 2.844 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.053e-06/0.4423, allocations: 0 / 1.378 GB, free: 2.844 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0001706/0.4424, allocations: 168.5 kB / 1.378 GB, free: 2.68 MB / 0.8698 GB Notification: Performance of sort global known variables: time 3.9e-07/0.4425, allocations: 0 / 1.378 GB, free: 2.68 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002981/0.4428, allocations: 51.95 kB / 1.378 GB, free: 2.629 MB / 0.8698 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.0006106/0.4434, allocations: 0.777 MB / 1.379 GB, free: 1.816 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0004064/0.4438, allocations: 274.7 kB / 1.379 GB, free: 1.523 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.4438, allocations: 4 kB / 1.379 GB, free: 1.52 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 6.138e-05/0.4439, allocations: 31.92 kB / 1.379 GB, free: 1.488 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002463/0.4441, allocations: 42.36 kB / 1.379 GB, free: 1.445 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001193/0.4453, allocations: 1.337 MB / 1.381 GB, free: 28 kB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003436/0.4457, allocations: 0.736 MB / 1.381 GB, free: 15.27 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 7.259e-05/0.4458, allocations: 21.44 kB / 1.381 GB, free: 15.25 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.851e-05/0.4459, allocations: 51.42 kB / 1.381 GB, free: 15.2 MB / 0.8855 GB Notification: Performance of SimCode: time 1.864e-06/0.4459, allocations: 0 / 1.381 GB, free: 15.2 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01578/0.4617, allocations: 4.499 MB / 1.386 GB, free: 10.88 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001663/0.4619, allocations: 198.9 kB / 1.386 GB, free: 10.64 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.662/2.124, allocations: 0 / 1.386 GB, free: 10.64 MB / 0.8855 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