Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.33/2.33, allocations: 393.5 MB / 408.4 MB, free: 10.85 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.001087/0.001087, allocations: 183.3 kB / 0.4902 GB, free: 2.074 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.54/1.54, allocations: 223.1 MB / 0.7992 GB, free: 15.66 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.000968/0.000968, allocations: 92.25 kB / 0.9396 GB, free: 2.836 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003578/0.0003578, allocations: 10.08 kB / 1.09 GB, free: 212.7 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2968/0.2971, allocations: 143 MB / 1.229 GB, free: 85.34 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2015/0.4987, allocations: 151.1 MB / 1.377 GB, free: 14.06 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002644/0.499, allocations: 67.97 kB / 1.377 GB, free: 14 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.02387/0.5229, allocations: 8.051 MB / 1.385 GB, free: 5.934 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.745e-06/0.5229, allocations: 3.938 kB / 1.385 GB, free: 5.93 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 3.448e-05/0.523, allocations: 12 kB / 1.385 GB, free: 5.918 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.001535/0.5245, allocations: 0.7553 MB / 1.386 GB, free: 5.09 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.146e-05/0.5246, allocations: 12.56 kB / 1.386 GB, free: 5.078 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001398/0.5247, allocations: 58.53 kB / 1.386 GB, free: 5.012 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002208/0.5249, allocations: 51.48 kB / 1.386 GB, free: 4.961 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007793/0.5257, allocations: 358.9 kB / 1.386 GB, free: 4.566 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.685e-05/0.5258, allocations: 28.56 kB / 1.386 GB, free: 4.539 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001375/0.5259, allocations: 36 kB / 1.386 GB, free: 4.504 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008004/0.5268, allocations: 356.7 kB / 1.386 GB, free: 4.152 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.403e-05/0.5268, allocations: 0 / 1.386 GB, free: 4.152 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.643e-05/0.5268, allocations: 11.98 kB / 1.386 GB, free: 4.141 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.015e-05/0.5268, allocations: 8 kB / 1.386 GB, free: 4.133 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007589/0.5276, allocations: 306 kB / 1.387 GB, free: 3.832 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002047/0.5297, allocations: 1.056 MB / 1.388 GB, free: 2.727 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007052/0.5304, allocations: 413.9 kB / 1.388 GB, free: 2.316 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.32e-05/0.5304, allocations: 8.125 kB / 1.388 GB, free: 2.309 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007345/0.5312, allocations: 411 kB / 1.389 GB, free: 1.883 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=44): time 2.524e-06/0.5312, allocations: 0 / 1.389 GB, free: 1.883 MB / 0.8855 GB Notification: Performance of matching and sorting (n=44): time 0.001743/0.5329, allocations: 0.8141 MB / 1.389 GB, free: 1.062 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001048/0.5331, allocations: 136.5 kB / 1.389 GB, free: 0.8984 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003527/0.5334, allocations: 271.6 kB / 1.39 GB, free: 0.6289 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001012/0.5335, allocations: 45.7 kB / 1.39 GB, free: 0.5781 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001796/0.5337, allocations: 168.8 kB / 1.39 GB, free: 416 kB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001081/0.5338, allocations: 122.2 kB / 1.39 GB, free: 292 kB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.959e-05/0.5339, allocations: 16 kB / 1.39 GB, free: 276 kB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001894/0.5341, allocations: 346.8 kB / 1.39 GB, free: 15.92 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006799/0.5348, allocations: 328.7 kB / 1.391 GB, free: 15.6 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007622/0.5355, allocations: 419.5 kB / 1.391 GB, free: 15.14 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000751/0.5363, allocations: 467.2 kB / 1.392 GB, free: 14.67 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.5363, allocations: 0 / 1.392 GB, free: 14.67 MB / 0.9011 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001796/0.5381, allocations: 0.9544 MB / 1.392 GB, free: 13.68 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001145/0.5383, allocations: 140.3 kB / 1.393 GB, free: 13.52 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/0.5383, allocations: 0 / 1.393 GB, free: 13.52 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.164e-05/0.5383, allocations: 4 kB / 1.393 GB, free: 13.52 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003605/0.5387, allocations: 87.88 kB / 1.393 GB, free: 13.43 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.605e-05/0.5387, allocations: 4 kB / 1.393 GB, free: 13.43 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008643/0.5396, allocations: 211.4 kB / 1.393 GB, free: 13.22 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001474/0.5397, allocations: 71.86 kB / 1.393 GB, free: 13.15 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,extIndSig3.index,extIndSig4.index,$PRE.pul.booPul.y,pul.booPul.y,$PRE.pul1.booPul.y,pul1.booPul.y,$PRE.intPul.booPul.y,intPul.booPul.y,$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 (48): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 4 * 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.0002791/0.54, allocations: 178.6 kB / 1.393 GB, free: 12.96 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.072e-05/0.5401, allocations: 31.62 kB / 1.393 GB, free: 12.93 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001215/0.5413, allocations: 0.6447 MB / 1.394 GB, free: 12.28 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.037e-06/0.5413, allocations: 12.03 kB / 1.394 GB, free: 12.27 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.5414, allocations: 0 / 1.394 GB, free: 12.27 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.5414, allocations: 4 kB / 1.394 GB, free: 12.27 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001685/0.5431, allocations: 1.079 MB / 1.395 GB, free: 11.13 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.5431, allocations: 0 / 1.395 GB, free: 11.13 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003244/0.5434, allocations: 91.88 kB / 1.395 GB, free: 11.04 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/0.5434, allocations: 0 / 1.395 GB, free: 11.04 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.427e-05/0.5435, allocations: 12 kB / 1.395 GB, free: 11.03 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.48e-06/0.5435, allocations: 7.938 kB / 1.395 GB, free: 11.02 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.5435, allocations: 0 / 1.395 GB, free: 11.02 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001112/0.5446, allocations: 0.6947 MB / 1.396 GB, free: 10.31 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001067/0.5447, allocations: 120.6 kB / 1.396 GB, free: 10.18 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.835e-05/0.5448, allocations: 4 kB / 1.396 GB, free: 10.17 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002632/0.545, allocations: 43.97 kB / 1.396 GB, free: 10.13 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001021/0.5452, allocations: 36.38 kB / 1.396 GB, free: 10.09 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.682e-05/0.5452, allocations: 12 kB / 1.396 GB, free: 10.08 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0002373/0.5454, allocations: 223.1 kB / 1.396 GB, free: 9.867 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5454, allocations: 0 / 1.396 GB, free: 9.867 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0005356/0.546, allocations: 127.8 kB / 1.396 GB, free: 9.742 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 18 ($cse1,$cse2,$cse3,$cse4,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,extIndSig3.index,extIndSig4.index,pul.booPul.y,pul1.booPul.y,intPul.booPul.y,intPul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001537/0.5475, allocations: 1.248 MB / 1.397 GB, free: 8.465 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.001614/0.5492, allocations: 0.9421 MB / 1.398 GB, free: 7.477 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.5492, allocations: 0 / 1.398 GB, free: 7.477 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0005284/0.5497, allocations: 294.8 kB / 1.399 GB, free: 7.188 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004747/0.5502, allocations: 85.25 kB / 1.399 GB, free: 7.105 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002452/0.5527, allocations: 2.438 MB / 1.401 GB, free: 4.578 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003938/0.5531, allocations: 0.817 MB / 1.402 GB, free: 3.734 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0003078/0.5534, allocations: 123.1 kB / 1.402 GB, free: 3.617 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001847/0.5536, allocations: 123.4 kB / 1.402 GB, free: 3.496 MB / 0.9011 GB Notification: Performance of SimCode: time 5.71e-07/0.5536, allocations: 0 / 1.402 GB, free: 3.496 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6141/1.168, allocations: 9.22 MB / 1.411 GB, free: 172.1 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001592/1.168, allocations: 199.7 kB / 1.411 GB, free: 171.8 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.305/3.473, allocations: 4 kB / 1.411 GB, free: 171.8 MB / 0.9011 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor_res.mat does not exist to compare? outputFormat=mat