Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.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.RealExtractor,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor",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.494/2.494, allocations: 387.4 MB / 394.9 MB, free: 13.37 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.001037/0.001037, allocations: 180.8 kB / 487.4 MB, free: 5.039 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.564/1.564, allocations: 221.5 MB / 0.7824 GB, free: 0.9375 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.0009678/0.0009677, allocations: 94.77 kB / 0.9219 GB, free: 2.164 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.705e-05/1.707e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2451/0.2451, allocations: 142.4 MB / 1.206 GB, free: 43.86 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8287/1.074, allocations: 149.3 MB / 1.352 GB, free: 18.19 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001943/1.074, allocations: 71.17 kB / 1.352 GB, free: 18.19 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01493/1.089, allocations: 4.82 MB / 1.357 GB, free: 33.62 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.894e-06/1.089, allocations: 0 / 1.357 GB, free: 33.62 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.311e-05/1.089, allocations: 3.844 kB / 1.357 GB, free: 33.62 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.001271/1.09, allocations: 0.5812 MB / 1.357 GB, free: 33.15 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 6.032e-05/1.09, allocations: 11.47 kB / 1.357 GB, free: 33.15 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001786/1.091, allocations: 27.28 kB / 1.357 GB, free: 33.14 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004917/1.091, allocations: 280.7 kB / 1.357 GB, free: 32.92 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.504e-05/1.091, allocations: 11.56 kB / 1.357 GB, free: 32.92 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.088e-05/1.091, allocations: 17.86 kB / 1.358 GB, free: 32.92 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002838/1.092, allocations: 154.1 kB / 1.358 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002873/1.092, allocations: 192.3 kB / 1.358 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/1.092, allocations: 0 / 1.358 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.07e-05/1.092, allocations: 10.61 kB / 1.358 GB, free: 32.87 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.727e-06/1.092, allocations: 7.844 kB / 1.358 GB, free: 32.87 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001292/1.093, allocations: 0.7153 MB / 1.359 GB, free: 32.6 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002325/1.093, allocations: 166.7 kB / 1.359 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001499/1.094, allocations: 115.9 kB / 1.359 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.292e-05/1.094, allocations: 192 / 1.359 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003089/1.094, allocations: 202.8 kB / 1.359 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=27): time 2.084e-06/1.094, allocations: 0 / 1.359 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of matching and sorting (n=27): time 0.000495/1.094, allocations: 324.9 kB / 1.359 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.116e-05/1.095, allocations: 63.09 kB / 1.359 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001807/1.095, allocations: 183.7 kB / 1.36 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.544e-05/1.095, allocations: 29.58 kB / 1.36 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.783e-05/1.095, allocations: 134.2 kB / 1.36 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 5.128e-05/1.095, allocations: 66.28 kB / 1.36 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.994e-05/1.095, allocations: 3.844 kB / 1.36 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001362/1.095, allocations: 332.7 kB / 1.36 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002087/1.095, allocations: 130.2 kB / 1.36 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000216/1.096, allocations: 180.6 kB / 1.36 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003846/1.096, allocations: 145 kB / 1.361 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/1.096, allocations: 3.953 kB / 1.361 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0007328/1.097, allocations: 389.8 kB / 1.361 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 4.826e-05/1.097, allocations: 75.94 kB / 1.361 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/1.097, allocations: 0 / 1.361 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.082e-05/1.097, allocations: 3.844 kB / 1.361 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003134/1.097, allocations: 65.38 kB / 1.361 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/1.097, allocations: 11.95 kB / 1.361 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004875/1.098, allocations: 101.8 kB / 1.361 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.465e-05/1.098, allocations: 17.75 kB / 1.361 GB, free: 31.61 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition4,$whenCondition5,$whenCondition2,$whenCondition3,$whenCondition6,$whenCondition1,$PRE.extIndSig.index,extIndSig.index,extIndSig.k[1],extIndSig.k[2],extIndSig.k[3],extIndSig.k[4],extIndSig.k[5],$PRE.pul.booPul.y,pul.booPul.y,$PRE.pul1.booPul.y,pul1.booPul.y,$PRE.extIndSig1.index,extIndSig1.index,extIndSig1.k[1],extIndSig1.k[2],extIndSig1.k[3],extIndSig1.k[4],extIndSig1.k[5]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 29 * 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.0001353/1.098, allocations: 143.2 kB / 1.361 GB, free: 31.49 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003773/1.098, allocations: 310 kB / 1.362 GB, free: 31.44 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.051e-05/1.098, allocations: 23.47 kB / 1.362 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.614e-05/1.098, allocations: 21.19 kB / 1.362 GB, free: 31.42 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/1.098, allocations: 0 / 1.362 GB, free: 31.42 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/1.098, allocations: 3.875 kB / 1.362 GB, free: 31.42 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/1.098, allocations: 1.453 kB / 1.362 GB, free: 31.42 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006415/1.099, allocations: 0.6626 MB / 1.362 GB, free: 31.13 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/1.099, allocations: 0 / 1.362 GB, free: 31.13 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002551/1.099, allocations: 47.84 kB / 1.362 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/1.099, allocations: 1.547 kB / 1.362 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.295e-05/1.099, allocations: 5.953 kB / 1.362 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/1.099, allocations: 0 / 1.362 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/1.099, allocations: 0 / 1.362 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004113/1.1, allocations: 419.7 kB / 1.363 GB, free: 30.97 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.314e-05/1.1, allocations: 109.2 kB / 1.363 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.33e-05/1.1, allocations: 5.562 kB / 1.363 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002207/1.1, allocations: 29.09 kB / 1.363 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.712e-05/1.1, allocations: 37.53 kB / 1.363 GB, free: 30.85 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.367e-05/1.1, allocations: 5.625 kB / 1.363 GB, free: 30.85 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001079/1.1, allocations: 144.8 kB / 1.363 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.51e-07/1.1, allocations: 4 kB / 1.363 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003508/1.101, allocations: 74.83 kB / 1.363 GB, free: 30.75 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition6,$whenCondition4,$whenCondition5,$whenCondition2,$whenCondition3,$whenCondition1,extIndSig.index,extIndSig.k[1],extIndSig.k[2],extIndSig.k[3],extIndSig.k[4],extIndSig.k[5],pul.booPul.y,pul1.booPul.y,extIndSig1.index,extIndSig1.k[1],extIndSig1.k[2],extIndSig1.k[3],extIndSig1.k[4],extIndSig1.k[5]) * Number of discrete states: 2 (extIndSig.index,extIndSig1.index) * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 12 * 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.0007717/1.101, allocations: 0.9689 MB / 1.364 GB, free: 30.07 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0005089/1.102, allocations: 449.2 kB / 1.365 GB, free: 29.93 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/1.102, allocations: 0 / 1.365 GB, free: 29.93 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.000165/1.102, allocations: 137.9 kB / 1.365 GB, free: 29.92 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003328/1.102, allocations: 35.38 kB / 1.365 GB, free: 29.92 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009057/1.103, allocations: 411.1 kB / 1.365 GB, free: 29.76 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003378/1.104, allocations: 0.7548 MB / 1.366 GB, free: 29.06 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001464/1.104, allocations: 42.58 kB / 1.366 GB, free: 29.05 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001132/1.104, allocations: 68.34 kB / 1.366 GB, free: 29.04 MB / 0.8386 GB Notification: Performance of SimCode: time 2.71e-07/1.104, allocations: 0 / 1.366 GB, free: 29.04 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02671/1.131, allocations: 5.344 MB / 1.371 GB, free: 28.71 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002332/1.131, allocations: 143.5 kB / 1.371 GB, free: 28.52 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.948/3.079, allocations: 3.75 kB / 1.371 GB, free: 28.52 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor_res.mat does not exist to compare? outputFormat=mat