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.342/2.342, allocations: 387.4 MB / 394.9 MB, free: 13.37 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.001137/0.001137, allocations: 176.9 kB / 487.4 MB, free: 5.031 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.674/1.674, allocations: 221.5 MB / 0.7824 GB, free: 0.9258 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001098/0.001099, allocations: 99.83 kB / 0.9219 GB, free: 2.152 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.794e-05/2.797e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.319/0.319, allocations: 142.4 MB / 1.206 GB, free: 43.83 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9383/1.257, allocations: 148.1 MB / 1.351 GB, free: 18.08 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002819/1.258, allocations: 65.56 kB / 1.351 GB, free: 18.08 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003505/1.261, allocations: 0.9044 MB / 1.352 GB, free: 33.74 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.903e-06/1.261, allocations: 1.312 kB / 1.352 GB, free: 33.74 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.353e-05/1.261, allocations: 1.312 kB / 1.352 GB, free: 33.74 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005052/1.262, allocations: 391.4 kB / 1.352 GB, free: 33.38 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.863e-05/1.262, allocations: 9.031 kB / 1.352 GB, free: 33.38 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.37e-05/1.262, allocations: 4.844 kB / 1.352 GB, free: 33.38 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000155/1.262, allocations: 190.8 kB / 1.352 GB, free: 33.18 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.156e-05/1.262, allocations: 1.281 kB / 1.352 GB, free: 33.18 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.454e-05/1.262, allocations: 7.188 kB / 1.352 GB, free: 33.17 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001424/1.262, allocations: 64.27 kB / 1.352 GB, free: 33.17 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001507/1.262, allocations: 107.1 kB / 1.352 GB, free: 33.11 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/1.262, allocations: 0.6094 kB / 1.352 GB, free: 33.11 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.299e-05/1.262, allocations: 0 / 1.352 GB, free: 33.11 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/1.262, allocations: 1.344 kB / 1.352 GB, free: 33.11 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003935/1.263, allocations: 373.2 kB / 1.353 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.782e-05/1.263, allocations: 57.8 kB / 1.353 GB, free: 32.74 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.986e-05/1.263, allocations: 32.2 kB / 1.353 GB, free: 32.72 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.396e-05/1.263, allocations: 2.109 kB / 1.353 GB, free: 32.72 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.766e-05/1.263, allocations: 35.84 kB / 1.353 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/1.263, allocations: 4 kB / 1.353 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001918/1.263, allocations: 77.53 kB / 1.353 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.329e-05/1.263, allocations: 78.45 kB / 1.353 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.494e-05/1.263, allocations: 111.8 kB / 1.353 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.129e-05/1.263, allocations: 27.69 kB / 1.353 GB, free: 32.42 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.041e-05/1.263, allocations: 91.73 kB / 1.353 GB, free: 32.33 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.599e-05/1.263, allocations: 9.891 kB / 1.353 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.19e-06/1.263, allocations: 0 / 1.353 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001163/1.264, allocations: 323.8 kB / 1.354 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.02e-05/1.264, allocations: 21.5 kB / 1.354 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.236e-05/1.264, allocations: 36.47 kB / 1.354 GB, free: 31.99 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.327e-05/1.264, allocations: 17.17 kB / 1.354 GB, free: 31.99 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/1.264, allocations: 1.312 kB / 1.354 GB, free: 31.99 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001048/1.264, allocations: 78.59 kB / 1.354 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/1.264, allocations: 11.41 kB / 1.354 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/1.264, allocations: 2.141 kB / 1.354 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/1.264, allocations: 0 / 1.354 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000157/1.264, allocations: 30.8 kB / 1.354 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.108e-06/1.264, allocations: 0 / 1.354 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.887e-05/1.264, allocations: 27.52 kB / 1.354 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.186e-06/1.264, allocations: 4 kB / 1.354 GB, free: 31.94 MB / 0.8386 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 () * 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 6.295e-05/1.264, allocations: 108.8 kB / 1.354 GB, free: 31.83 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001182/1.264, allocations: 77.05 kB / 1.354 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.743e-05/1.264, allocations: 8.359 kB / 1.354 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.617e-05/1.264, allocations: 12.17 kB / 1.354 GB, free: 31.78 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/1.264, allocations: 3.953 kB / 1.354 GB, free: 31.78 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.329e-06/1.264, allocations: 0.5156 kB / 1.354 GB, free: 31.78 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/1.264, allocations: 0 / 1.354 GB, free: 31.78 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001698/1.265, allocations: 159.7 kB / 1.354 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/1.265, allocations: 1.625 kB / 1.354 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000113/1.265, allocations: 23.48 kB / 1.354 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.033e-06/1.265, allocations: 0 / 1.354 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.935e-06/1.265, allocations: 3.969 kB / 1.354 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/1.265, allocations: 0.5625 kB / 1.354 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/1.265, allocations: 0 / 1.354 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001793/1.265, allocations: 263 kB / 1.354 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.031e-05/1.265, allocations: 81.58 kB / 1.354 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.859e-05/1.265, allocations: 4.828 kB / 1.354 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001643/1.265, allocations: 18.47 kB / 1.355 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.715e-05/1.265, allocations: 19.36 kB / 1.355 GB, free: 31.28 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.863e-06/1.265, allocations: 5.75 kB / 1.355 GB, free: 31.28 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.006e-05/1.265, allocations: 89.45 kB / 1.355 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.6e-07/1.265, allocations: 0 / 1.355 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002403/1.266, allocations: 7.688 kB / 1.355 GB, free: 31.21 MB / 0.8386 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 () * 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.0004453/1.266, allocations: 0.859 MB / 1.355 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.000115/1.266, allocations: 53.69 kB / 1.356 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/1.266, allocations: 0 / 1.356 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 4.903e-05/1.266, allocations: 31.45 kB / 1.356 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.000218/1.266, allocations: 14.06 kB / 1.356 GB, free: 30.38 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004233/1.267, allocations: 154.5 kB / 1.356 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002794/1.267, allocations: 0.6999 MB / 1.356 GB, free: 29.56 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 4.355e-05/1.267, allocations: 6.609 kB / 1.356 GB, free: 29.56 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.5e-05/1.267, allocations: 22.83 kB / 1.356 GB, free: 29.55 MB / 0.8386 GB Notification: Performance of SimCode: time 3.31e-07/1.267, allocations: 0 / 1.356 GB, free: 29.55 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01893/1.286, allocations: 1.129 MB / 1.358 GB, free: 29.48 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001821/1.286, allocations: 162 kB / 1.358 GB, free: 29.29 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.391/2.677, allocations: 2.344 kB / 1.358 GB, free: 29.29 MB / 0.8386 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