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.446/2.446, allocations: 390.3 MB / 402.8 MB, free: 6.703 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.001194/0.001194, allocations: 172.9 kB / 496.1 MB, free: 12.88 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.6/1.6, allocations: 221.3 MB / 0.7915 GB, free: 5.395 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.0008917/0.0008918, allocations: 99.12 kB / 0.9317 GB, free: 5.707 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.59e-05/3.6e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2734/0.2735, allocations: 143 MB / 1.219 GB, free: 13.42 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.09/1.364, allocations: 151 MB / 1.366 GB, free: 3.035 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002194/1.364, allocations: 76.27 kB / 1.366 GB, free: 2.996 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02339/1.388, allocations: 8.034 MB / 1.374 GB, free: 12.06 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.663e-06/1.388, allocations: 0 / 1.374 GB, free: 12.06 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.198e-05/1.388, allocations: 8 kB / 1.374 GB, free: 12.05 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.001269/1.389, allocations: 0.697 MB / 1.375 GB, free: 11.32 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.368e-05/1.389, allocations: 11.97 kB / 1.375 GB, free: 11.31 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001189/1.389, allocations: 65.66 kB / 1.375 GB, free: 11.25 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002254/1.389, allocations: 55.48 kB / 1.375 GB, free: 11.2 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007266/1.39, allocations: 363.4 kB / 1.375 GB, free: 10.84 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.839e-05/1.39, allocations: 22.88 kB / 1.375 GB, free: 10.83 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001258/1.39, allocations: 45.11 kB / 1.375 GB, free: 10.79 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005709/1.391, allocations: 290.5 kB / 1.376 GB, free: 10.58 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/1.391, allocations: 0 / 1.376 GB, free: 10.58 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.717e-05/1.391, allocations: 13.38 kB / 1.376 GB, free: 10.57 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.829e-06/1.391, allocations: 8 kB / 1.376 GB, free: 10.57 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000338/1.391, allocations: 202.3 kB / 1.376 GB, free: 10.43 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001946/1.393, allocations: 1.061 MB / 1.377 GB, free: 9.539 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005284/1.394, allocations: 347.8 kB / 1.377 GB, free: 9.281 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004562/1.394, allocations: 381.2 kB / 1.378 GB, free: 9.02 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.373e-05/1.394, allocations: 4 kB / 1.378 GB, free: 9.016 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004947/1.395, allocations: 357.4 kB / 1.378 GB, free: 8.711 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=44): time 4.639e-06/1.395, allocations: 0 / 1.378 GB, free: 8.711 MB / 0.8386 GB Notification: Performance of matching and sorting (n=44): time 0.0008085/1.396, allocations: 492.6 kB / 1.379 GB, free: 8.328 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.336e-05/1.396, allocations: 140.5 kB / 1.379 GB, free: 8.16 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003241/1.396, allocations: 273.1 kB / 1.379 GB, free: 7.941 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 7.578e-05/1.396, allocations: 48.45 kB / 1.379 GB, free: 7.895 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.000153/1.396, allocations: 163.5 kB / 1.379 GB, free: 7.77 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001119/1.396, allocations: 123.7 kB / 1.379 GB, free: 7.664 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.799e-05/1.397, allocations: 14.88 kB / 1.379 GB, free: 7.656 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001612/1.397, allocations: 347.2 kB / 1.38 GB, free: 7.324 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004491/1.397, allocations: 273.4 kB / 1.38 GB, free: 7.145 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005004/1.398, allocations: 366.3 kB / 1.38 GB, free: 6.844 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004998/1.398, allocations: 395.5 kB / 1.381 GB, free: 6.516 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.191e-06/1.398, allocations: 3.984 kB / 1.381 GB, free: 6.512 MB / 0.8386 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001247/1.399, allocations: 0.848 MB / 1.381 GB, free: 5.82 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001003/1.4, allocations: 137.3 kB / 1.382 GB, free: 5.672 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.096e-06/1.4, allocations: 0 / 1.382 GB, free: 5.672 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.046e-05/1.4, allocations: 4 kB / 1.382 GB, free: 5.668 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003409/1.4, allocations: 91.19 kB / 1.382 GB, free: 5.582 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.22e-05/1.4, allocations: 4 kB / 1.382 GB, free: 5.578 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008252/1.401, allocations: 207 kB / 1.382 GB, free: 5.383 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001281/1.401, allocations: 71.72 kB / 1.382 GB, free: 5.316 MB / 0.8386 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 () * 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.0001492/1.401, allocations: 146.1 kB / 1.382 GB, free: 5.184 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.595e-05/1.401, allocations: 39.53 kB / 1.382 GB, free: 5.145 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007502/1.402, allocations: 0.5303 MB / 1.383 GB, free: 4.742 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.273e-06/1.402, allocations: 4 kB / 1.383 GB, free: 4.738 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/1.402, allocations: 0 / 1.383 GB, free: 4.738 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-06/1.402, allocations: 3.984 kB / 1.383 GB, free: 4.734 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001131/1.403, allocations: 0.988 MB / 1.384 GB, free: 3.875 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/1.403, allocations: 4 kB / 1.384 GB, free: 3.871 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003206/1.403, allocations: 87.25 kB / 1.384 GB, free: 3.789 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.095e-06/1.403, allocations: 4 kB / 1.384 GB, free: 3.785 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.723e-05/1.403, allocations: 6.438 kB / 1.384 GB, free: 3.785 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.671e-06/1.403, allocations: 4 kB / 1.384 GB, free: 3.781 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/1.403, allocations: 3.953 kB / 1.384 GB, free: 3.777 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006901/1.404, allocations: 0.589 MB / 1.384 GB, free: 3.281 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001021/1.404, allocations: 120.5 kB / 1.384 GB, free: 3.145 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.8e-05/1.404, allocations: 9.688 kB / 1.384 GB, free: 3.141 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002949/1.405, allocations: 39.14 kB / 1.384 GB, free: 3.109 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001118/1.405, allocations: 43.55 kB / 1.384 GB, free: 3.074 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.851e-05/1.405, allocations: 18.64 kB / 1.384 GB, free: 3.059 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.000228/1.405, allocations: 218.4 kB / 1.385 GB, free: 2.887 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.8e-07/1.405, allocations: 0 / 1.385 GB, free: 2.887 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0004683/1.406, allocations: 120.2 kB / 1.385 GB, free: 2.785 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: 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 () * 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.001082/1.407, allocations: 1.16 MB / 1.386 GB, free: 1.719 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.001056/1.408, allocations: 0.8238 MB / 1.387 GB, free: 1.039 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.105e-06/1.408, allocations: 0 / 1.387 GB, free: 1.039 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0003246/1.408, allocations: 243.8 kB / 1.387 GB, free: 0.8633 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005553/1.409, allocations: 74.67 kB / 1.387 GB, free: 0.8125 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001684/1.41, allocations: 0.7325 MB / 1.388 GB, free: 160 kB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005108/1.411, allocations: 0.8122 MB / 1.389 GB, free: 15.32 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0003151/1.411, allocations: 123.1 kB / 1.389 GB, free: 15.21 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001771/1.411, allocations: 134.1 kB / 1.389 GB, free: 15.16 MB / 0.8542 GB Notification: Performance of SimCode: time 7.71e-07/1.411, allocations: 0 / 1.389 GB, free: 15.16 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02577/1.437, allocations: 9.399 MB / 1.398 GB, free: 5.977 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002125/1.437, allocations: 167.1 kB / 1.398 GB, free: 5.754 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.154/3.592, allocations: 0 / 1.398 GB, free: 5.754 MB / 0.8542 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