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.278/2.278, allocations: 387.1 MB / 399.7 MB, free: 9.508 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.001045/0.001046, allocations: 164.9 kB / 492.3 MB, free: 0.6328 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.529/1.529, allocations: 221.3 MB / 0.7871 GB, free: 12.94 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.0008407/0.0008407, allocations: 101.9 kB / 0.9267 GB, free: 14.02 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.346e-05/3.357e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2989/0.2989, allocations: 142.3 MB / 1.212 GB, free: 38.41 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.02/1.319, allocations: 150 MB / 1.359 GB, free: 18.85 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000212/1.319, allocations: 70.2 kB / 1.359 GB, free: 18.85 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01388/1.333, allocations: 4.837 MB / 1.364 GB, free: 34.28 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.385e-06/1.333, allocations: 0 / 1.364 GB, free: 34.28 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.354e-05/1.333, allocations: 3.969 kB / 1.364 GB, free: 34.28 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.001072/1.334, allocations: 0.5835 MB / 1.364 GB, free: 33.8 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 6.024e-05/1.334, allocations: 7.812 kB / 1.364 GB, free: 33.8 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001172/1.334, allocations: 58.23 kB / 1.364 GB, free: 33.76 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000177/1.334, allocations: 27.19 kB / 1.364 GB, free: 33.75 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000589/1.335, allocations: 284.1 kB / 1.365 GB, free: 33.52 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.033e-05/1.335, allocations: 17.98 kB / 1.365 GB, free: 33.52 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.789e-05/1.335, allocations: 29.59 kB / 1.365 GB, free: 33.52 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004301/1.336, allocations: 203.6 kB / 1.365 GB, free: 33.48 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/1.336, allocations: 3.844 kB / 1.365 GB, free: 33.48 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.561e-05/1.336, allocations: 9.375 kB / 1.365 GB, free: 33.48 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.827e-06/1.336, allocations: 3.844 kB / 1.365 GB, free: 33.48 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003115/1.336, allocations: 158.2 kB / 1.365 GB, free: 33.48 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001489/1.337, allocations: 0.762 MB / 1.366 GB, free: 33.17 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002732/1.338, allocations: 174.7 kB / 1.366 GB, free: 33.14 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00018/1.338, allocations: 117.6 kB / 1.366 GB, free: 33.13 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.575e-05/1.338, allocations: 7.812 kB / 1.366 GB, free: 33.13 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003752/1.338, allocations: 215.8 kB / 1.366 GB, free: 33.07 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=27): time 2.855e-06/1.338, allocations: 0 / 1.366 GB, free: 33.07 MB / 0.8386 GB Notification: Performance of matching and sorting (n=27): time 0.0006258/1.339, allocations: 340.4 kB / 1.367 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.012e-05/1.339, allocations: 55.28 kB / 1.367 GB, free: 32.96 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002075/1.339, allocations: 195.9 kB / 1.367 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.509e-05/1.339, allocations: 33.42 kB / 1.367 GB, free: 32.83 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001022/1.339, allocations: 142.6 kB / 1.367 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 6.357e-05/1.339, allocations: 68.73 kB / 1.367 GB, free: 32.69 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.965e-05/1.34, allocations: 11.59 kB / 1.367 GB, free: 32.69 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001599/1.34, allocations: 342.8 kB / 1.367 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002781/1.34, allocations: 140.8 kB / 1.368 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002668/1.34, allocations: 184.3 kB / 1.368 GB, free: 32.33 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002632/1.341, allocations: 196.5 kB / 1.368 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/1.341, allocations: 3.844 kB / 1.368 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0006548/1.341, allocations: 449.8 kB / 1.368 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 5.051e-05/1.341, allocations: 74.27 kB / 1.368 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/1.341, allocations: 0 / 1.368 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.119e-05/1.341, allocations: 7.781 kB / 1.368 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003104/1.342, allocations: 69.78 kB / 1.369 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.11e-05/1.342, allocations: 0.7812 kB / 1.369 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004922/1.342, allocations: 112.8 kB / 1.369 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.969e-05/1.342, allocations: 16.73 kB / 1.369 GB, free: 32.05 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.0001754/1.342, allocations: 150.7 kB / 1.369 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.91e-05/1.342, allocations: 22.94 kB / 1.369 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.139e-05/1.342, allocations: 23.56 kB / 1.369 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.948e-06/1.342, allocations: 3.906 kB / 1.369 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/1.342, allocations: 0 / 1.369 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/1.343, allocations: 0 / 1.369 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007271/1.343, allocations: 0.7215 MB / 1.37 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/1.343, allocations: 4 kB / 1.37 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002092/1.343, allocations: 46.38 kB / 1.37 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.442e-06/1.343, allocations: 6.438 kB / 1.37 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.394e-05/1.344, allocations: 3.625 kB / 1.37 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.856e-06/1.344, allocations: 3.906 kB / 1.37 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/1.344, allocations: 3.188 kB / 1.37 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004863/1.344, allocations: 435.9 kB / 1.37 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.259e-05/1.344, allocations: 99.31 kB / 1.37 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.202e-05/1.344, allocations: 7.594 kB / 1.37 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002165/1.344, allocations: 31.67 kB / 1.37 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.71e-05/1.344, allocations: 28.8 kB / 1.37 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.47e-05/1.344, allocations: 19.28 kB / 1.37 GB, free: 31.31 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001196/1.345, allocations: 152.9 kB / 1.37 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.5e-07/1.345, allocations: 0 / 1.37 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003702/1.345, allocations: 80.34 kB / 1.37 GB, free: 31.23 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.0009565/1.346, allocations: 0.9911 MB / 1.371 GB, free: 30.53 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0006861/1.347, allocations: 455.5 kB / 1.372 GB, free: 30.4 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/1.347, allocations: 0 / 1.372 GB, free: 30.4 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.000227/1.347, allocations: 146.6 kB / 1.372 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003887/1.347, allocations: 40.39 kB / 1.372 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001084/1.348, allocations: 438 kB / 1.372 GB, free: 30.21 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004863/1.349, allocations: 0.7577 MB / 1.373 GB, free: 29.52 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001718/1.349, allocations: 34.22 kB / 1.373 GB, free: 29.52 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001434/1.349, allocations: 70.33 kB / 1.373 GB, free: 29.51 MB / 0.8386 GB Notification: Performance of SimCode: time 4.71e-07/1.349, allocations: 0 / 1.373 GB, free: 29.51 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02174/1.371, allocations: 5.93 MB / 1.379 GB, free: 29.05 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001732/1.371, allocations: 163.6 kB / 1.379 GB, free: 28.82 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.953/3.324, allocations: 7.875 kB / 1.379 GB, free: 28.82 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