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.175/2.175, allocations: 390.3 MB / 405.3 MB, free: 13.47 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.001554/0.001554, allocations: 173.1 kB / 498.1 MB, free: 5.727 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.461/1.461, allocations: 223.1 MB / 0.7948 GB, free: 17.85 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.0009135/0.0009137, allocations: 104.3 kB / 0.9346 GB, free: 6.164 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004927/0.0004927, allocations: 13.38 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3261/0.3266, allocations: 142.3 MB / 1.223 GB, free: 114.1 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.194/0.5206, allocations: 150 MB / 1.369 GB, free: 11.94 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002431/0.521, allocations: 75.95 kB / 1.37 GB, free: 11.87 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01485/0.5358, allocations: 4.862 MB / 1.374 GB, free: 6.996 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.333e-06/0.5359, allocations: 4 kB / 1.374 GB, free: 6.992 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.955e-05/0.5359, allocations: 4 kB / 1.374 GB, free: 6.988 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.001115/0.537, allocations: 0.598 MB / 1.375 GB, free: 6.324 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.671e-05/0.5371, allocations: 8.031 kB / 1.375 GB, free: 6.316 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.737e-05/0.5372, allocations: 58.67 kB / 1.375 GB, free: 6.25 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001066/0.5373, allocations: 31.62 kB / 1.375 GB, free: 6.219 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005239/0.5378, allocations: 282.5 kB / 1.375 GB, free: 5.902 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.142e-05/0.5379, allocations: 20 kB / 1.375 GB, free: 5.883 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.678e-05/0.5379, allocations: 31.98 kB / 1.375 GB, free: 5.852 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005806/0.5385, allocations: 249.2 kB / 1.375 GB, free: 5.602 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.5386, allocations: 0 / 1.375 GB, free: 5.602 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.141e-05/0.5386, allocations: 23.97 kB / 1.376 GB, free: 5.578 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.5386, allocations: 0 / 1.376 GB, free: 5.578 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000676/0.5393, allocations: 267.8 kB / 1.376 GB, free: 5.316 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001368/0.5407, allocations: 0.7694 MB / 1.377 GB, free: 4.492 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005192/0.5412, allocations: 224.1 kB / 1.377 GB, free: 4.266 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.135e-05/0.5412, allocations: 192 / 1.377 GB, free: 4.266 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005845/0.5418, allocations: 275.9 kB / 1.377 GB, free: 3.984 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=27): time 1.883e-06/0.5418, allocations: 0 / 1.377 GB, free: 3.984 MB / 0.8698 GB Notification: Performance of matching and sorting (n=27): time 0.001439/0.5433, allocations: 0.5851 MB / 1.378 GB, free: 3.395 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.447e-05/0.5433, allocations: 55.41 kB / 1.378 GB, free: 3.328 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002157/0.5436, allocations: 200.6 kB / 1.378 GB, free: 3.125 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 5.962e-05/0.5436, allocations: 37.7 kB / 1.378 GB, free: 3.082 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001053/0.5438, allocations: 132.6 kB / 1.378 GB, free: 2.949 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 6.783e-05/0.5438, allocations: 71.09 kB / 1.378 GB, free: 2.879 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.73e-05/0.5439, allocations: 8 kB / 1.378 GB, free: 2.871 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001287/0.544, allocations: 338.8 kB / 1.378 GB, free: 2.531 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005067/0.5445, allocations: 195.9 kB / 1.379 GB, free: 2.34 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005169/0.545, allocations: 244.1 kB / 1.379 GB, free: 2.086 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004957/0.5456, allocations: 243.3 kB / 1.379 GB, free: 1.836 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/0.5456, allocations: 0 / 1.379 GB, free: 1.836 MB / 0.8698 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001247/0.5468, allocations: 0.5642 MB / 1.38 GB, free: 1.254 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 7.6e-05/0.5469, allocations: 72.33 kB / 1.38 GB, free: 1.172 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/0.5469, allocations: 4 kB / 1.38 GB, free: 1.168 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.106e-05/0.5469, allocations: 4 kB / 1.38 GB, free: 1.164 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003298/0.5473, allocations: 71.88 kB / 1.38 GB, free: 1.094 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.038e-05/0.5473, allocations: 4 kB / 1.38 GB, free: 1.09 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005193/0.5478, allocations: 119.6 kB / 1.38 GB, free: 0.9727 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.366e-05/0.5479, allocations: 15.98 kB / 1.38 GB, free: 0.957 MB / 0.8698 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 () * Number of clocked 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.0002142/0.5481, allocations: 169.2 kB / 1.38 GB, free: 0.7852 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.045e-05/0.5482, allocations: 27.7 kB / 1.38 GB, free: 0.7578 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.195e-05/0.5482, allocations: 22.56 kB / 1.38 GB, free: 0.7344 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.5483, allocations: 4 kB / 1.38 GB, free: 0.7305 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.029e-05/0.5483, allocations: 3.984 kB / 1.38 GB, free: 0.7266 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.5483, allocations: 3.984 kB / 1.38 GB, free: 0.7227 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001346/0.5496, allocations: 0.8224 MB / 1.381 GB, free: 15.84 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.5496, allocations: 0 / 1.381 GB, free: 15.84 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002646/0.5499, allocations: 51.89 kB / 1.381 GB, free: 15.79 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.701e-06/0.5499, allocations: 4 kB / 1.381 GB, free: 15.79 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.787e-05/0.55, allocations: 4 kB / 1.381 GB, free: 15.79 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.369e-06/0.55, allocations: 8 kB / 1.381 GB, free: 15.78 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.55, allocations: 0 / 1.381 GB, free: 15.78 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009793/0.551, allocations: 0.5185 MB / 1.381 GB, free: 15.24 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 9.365e-05/0.5511, allocations: 108.8 kB / 1.382 GB, free: 15.12 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.369e-05/0.5511, allocations: 4 kB / 1.382 GB, free: 15.11 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002249/0.5514, allocations: 35.95 kB / 1.382 GB, free: 15.08 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001074/0.5515, allocations: 27.95 kB / 1.382 GB, free: 15.05 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.078e-05/0.5515, allocations: 12 kB / 1.382 GB, free: 15.04 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001609/0.5517, allocations: 160.4 kB / 1.382 GB, free: 14.88 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.51e-07/0.5517, allocations: 8 kB / 1.382 GB, free: 14.88 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0004071/0.5521, allocations: 67.91 kB / 1.382 GB, free: 14.81 MB / 0.8855 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) * Number of clocked states: 0 () * 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.001413/0.5535, allocations: 1.107 MB / 1.383 GB, free: 13.68 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001125/0.5547, allocations: 0.5534 MB / 1.383 GB, free: 13.1 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.409e-06/0.5547, allocations: 4.25 kB / 1.383 GB, free: 13.09 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0004425/0.5551, allocations: 203.8 kB / 1.384 GB, free: 12.89 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003539/0.5555, allocations: 44.39 kB / 1.384 GB, free: 12.85 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001701/0.5572, allocations: 1.399 MB / 1.385 GB, free: 11.38 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003437/0.5576, allocations: 0.7599 MB / 1.386 GB, free: 10.6 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001842/0.5578, allocations: 37.94 kB / 1.386 GB, free: 10.56 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001343/0.5579, allocations: 67.41 kB / 1.386 GB, free: 10.49 MB / 0.8855 GB Notification: Performance of SimCode: time 4.01e-07/0.5579, allocations: 4 kB / 1.386 GB, free: 10.49 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02246/0.5804, allocations: 5.851 MB / 1.392 GB, free: 4.805 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000236/0.5807, allocations: 182.8 kB / 1.392 GB, free: 4.57 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.787/2.368, allocations: 7.938 kB / 1.392 GB, free: 4.562 MB / 0.8855 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