Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.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.RealVectorReplicator,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_RealVectorReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_RealVectorReplicator",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.281/2.281, allocations: 390.3 MB / 405.3 MB, free: 13.5 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.001288/0.001288, allocations: 166.9 kB / 498.1 MB, free: 5.762 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.551/1.551, allocations: 223.2 MB / 0.7948 GB, free: 17.89 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.0009831/0.000983, allocations: 106.1 kB / 0.9346 GB, free: 6.191 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003526/0.0003527, allocations: 10.38 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2599/0.2602, allocations: 142.3 MB / 1.223 GB, free: 114.1 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1811/0.4414, allocations: 148.8 MB / 1.368 GB, free: 13.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002452/0.4417, allocations: 71.95 kB / 1.368 GB, free: 13.03 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.002782/0.4445, allocations: 0.9125 MB / 1.369 GB, free: 12.11 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.164e-06/0.4445, allocations: 0 / 1.369 GB, free: 12.11 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.036e-05/0.4445, allocations: 4 kB / 1.369 GB, free: 12.11 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006079/0.4452, allocations: 407.7 kB / 1.37 GB, free: 11.67 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.258e-05/0.4452, allocations: 8.031 kB / 1.37 GB, free: 11.66 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.796e-05/0.4453, allocations: 34.56 kB / 1.37 GB, free: 11.62 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.688e-05/0.4453, allocations: 8 kB / 1.37 GB, free: 11.61 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002187/0.4455, allocations: 186.9 kB / 1.37 GB, free: 11.39 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.198e-05/0.4456, allocations: 0 / 1.37 GB, free: 11.39 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.678e-05/0.4456, allocations: 8 kB / 1.37 GB, free: 11.38 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003583/0.446, allocations: 147.2 kB / 1.37 GB, free: 11.22 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.446, allocations: 0 / 1.37 GB, free: 11.22 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.446, allocations: 0 / 1.37 GB, free: 11.22 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.446, allocations: 0 / 1.37 GB, free: 11.22 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004002/0.4464, allocations: 151.8 kB / 1.37 GB, free: 11.07 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005338/0.447, allocations: 400.9 kB / 1.371 GB, free: 10.63 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002474/0.4472, allocations: 97.08 kB / 1.371 GB, free: 10.52 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.196e-05/0.4472, allocations: 4.062 kB / 1.371 GB, free: 10.51 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.677e-05/0.4473, allocations: 38.52 kB / 1.371 GB, free: 10.46 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=2): time 1.453e-06/0.4473, allocations: 0 / 1.371 GB, free: 10.46 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2): time 0.0007895/0.4481, allocations: 221.5 kB / 1.371 GB, free: 10.24 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.667e-05/0.4481, allocations: 81.27 kB / 1.371 GB, free: 10.14 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001095/0.4483, allocations: 117 kB / 1.371 GB, free: 10.02 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.046e-05/0.4483, allocations: 29.69 kB / 1.371 GB, free: 9.984 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 5.877e-05/0.4484, allocations: 92.05 kB / 1.371 GB, free: 9.891 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.056e-05/0.4484, allocations: 3.906 kB / 1.371 GB, free: 9.887 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.258e-06/0.4484, allocations: 4 kB / 1.371 GB, free: 9.883 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.00014/0.4485, allocations: 318.8 kB / 1.372 GB, free: 9.562 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001884/0.4487, allocations: 59.94 kB / 1.372 GB, free: 9.504 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000188/0.4489, allocations: 77.64 kB / 1.372 GB, free: 9.422 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001761/0.4491, allocations: 55.94 kB / 1.372 GB, free: 9.367 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.4491, allocations: 0 / 1.372 GB, free: 9.367 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004197/0.4496, allocations: 165.5 kB / 1.372 GB, free: 9.199 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.079e-05/0.4496, allocations: 13.16 kB / 1.372 GB, free: 9.188 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.4496, allocations: 0 / 1.372 GB, free: 9.188 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/0.4496, allocations: 3.953 kB / 1.372 GB, free: 9.184 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000159/0.4498, allocations: 23.97 kB / 1.372 GB, free: 9.16 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/0.4498, allocations: 0 / 1.372 GB, free: 9.16 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001026/0.4499, allocations: 27.97 kB / 1.372 GB, free: 9.133 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.907e-06/0.4499, allocations: 0 / 1.372 GB, free: 9.133 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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.0001129/0.4501, allocations: 125.8 kB / 1.372 GB, free: 9 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.438e-05/0.4501, allocations: 0 / 1.372 GB, free: 9 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.041e-05/0.4501, allocations: 11.53 kB / 1.372 GB, free: 8.984 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.626e-06/0.4501, allocations: 3.953 kB / 1.372 GB, free: 8.98 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.4502, allocations: 0 / 1.372 GB, free: 8.98 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.4502, allocations: 0 / 1.372 GB, free: 8.98 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002354/0.4504, allocations: 181.6 kB / 1.372 GB, free: 8.754 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.4504, allocations: 0 / 1.372 GB, free: 8.754 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001236/0.4505, allocations: 27.97 kB / 1.372 GB, free: 8.727 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.4506, allocations: 7.938 kB / 1.372 GB, free: 8.719 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.171e-05/0.4506, allocations: 4 kB / 1.372 GB, free: 8.715 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.4506, allocations: 3.938 kB / 1.372 GB, free: 8.711 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.4506, allocations: 3.953 kB / 1.372 GB, free: 8.707 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004895/0.4511, allocations: 344.3 kB / 1.373 GB, free: 8.348 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.246e-05/0.4511, allocations: 81.09 kB / 1.373 GB, free: 8.25 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.644e-05/0.4512, allocations: 4 kB / 1.373 GB, free: 8.246 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001603/0.4513, allocations: 23.92 kB / 1.373 GB, free: 8.223 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.869e-05/0.4514, allocations: 7.984 kB / 1.373 GB, free: 8.215 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.767e-06/0.4514, allocations: 0 / 1.373 GB, free: 8.215 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 7.653e-05/0.4515, allocations: 107.6 kB / 1.373 GB, free: 8.109 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2.21e-07/0.4515, allocations: 0 / 1.373 GB, free: 8.109 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002464/0.4517, allocations: 11.91 kB / 1.373 GB, free: 8.098 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0008614/0.4526, allocations: 0.9381 MB / 1.374 GB, free: 7.125 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0004478/0.4531, allocations: 139.8 kB / 1.374 GB, free: 6.988 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.4531, allocations: 0 / 1.374 GB, free: 6.988 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002059/0.4533, allocations: 71.92 kB / 1.374 GB, free: 6.918 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002138/0.4535, allocations: 8.188 kB / 1.374 GB, free: 6.91 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001417/0.4549, allocations: 0.7719 MB / 1.375 GB, free: 6.082 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003283/0.4553, allocations: 0.7004 MB / 1.375 GB, free: 5.355 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 4.761e-05/0.4553, allocations: 15.98 kB / 1.375 GB, free: 5.34 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.358e-05/0.4554, allocations: 15.55 kB / 1.375 GB, free: 5.324 MB / 0.8698 GB Notification: Performance of SimCode: time 3.01e-07/0.4554, allocations: 0 / 1.375 GB, free: 5.324 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01327/0.4687, allocations: 1.485 MB / 1.377 GB, free: 3.992 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001992/0.4689, allocations: 190.5 kB / 1.377 GB, free: 3.758 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.471/1.94, allocations: 2.812 kB / 1.377 GB, free: 3.758 MB / 0.8698 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_RealVectorReplicator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_RealVectorReplicator.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator_res.mat does not exist to compare? outputFormat=mat