Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.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.RealVectorReplicator,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_RealVectorReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.434/2.434, allocations: 390.3 MB / 402.8 MB, free: 6.68 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.001113/0.001113, allocations: 176.9 kB / 496.1 MB, free: 12.87 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.601/1.601, allocations: 221.3 MB / 0.7915 GB, free: 5.402 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.0008883/0.0008884, allocations: 87.89 kB / 0.9317 GB, free: 5.715 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.726e-05/3.741e-05, allocations: 5.641 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2894/0.2895, allocations: 143 MB / 1.219 GB, free: 13.44 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8835/1.173, allocations: 149.6 MB / 1.365 GB, free: 4.469 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002465/1.173, allocations: 67.88 kB / 1.365 GB, free: 4.434 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002853/1.176, allocations: 0.9245 MB / 1.366 GB, free: 3.578 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.643e-06/1.176, allocations: 4 kB / 1.366 GB, free: 3.574 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.084e-05/1.176, allocations: 0 / 1.366 GB, free: 3.574 MB / 0.823 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.0005021/1.177, allocations: 382.1 kB / 1.366 GB, free: 3.164 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.79e-05/1.177, allocations: 12.03 kB / 1.366 GB, free: 3.152 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.02e-05/1.177, allocations: 38.55 kB / 1.366 GB, free: 3.105 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.01e-05/1.177, allocations: 4 kB / 1.366 GB, free: 3.102 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002025/1.177, allocations: 194.9 kB / 1.367 GB, free: 2.875 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.696e-06/1.177, allocations: 3.438 kB / 1.367 GB, free: 2.875 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.811e-05/1.177, allocations: 4 kB / 1.367 GB, free: 2.871 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001874/1.177, allocations: 99.73 kB / 1.367 GB, free: 2.777 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/1.177, allocations: 0 / 1.367 GB, free: 2.777 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.181e-05/1.177, allocations: 0 / 1.367 GB, free: 2.777 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/1.177, allocations: 4 kB / 1.367 GB, free: 2.773 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001155/1.178, allocations: 79.5 kB / 1.367 GB, free: 2.711 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004806/1.178, allocations: 394 kB / 1.367 GB, free: 2.293 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 8.84e-05/1.178, allocations: 59.56 kB / 1.367 GB, free: 2.223 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.17e-05/1.178, allocations: 35.64 kB / 1.367 GB, free: 2.188 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.203e-05/1.178, allocations: 0 / 1.367 GB, free: 2.188 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.569e-05/1.178, allocations: 41.58 kB / 1.367 GB, free: 2.141 MB / 0.823 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/1.178, allocations: 0 / 1.367 GB, free: 2.141 MB / 0.823 GB Notification: Performance of matching and sorting (n=2): time 0.0002033/1.178, allocations: 72.53 kB / 1.367 GB, free: 2.07 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.502e-05/1.179, allocations: 89.09 kB / 1.367 GB, free: 1.965 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.776e-05/1.179, allocations: 103.6 kB / 1.367 GB, free: 1.859 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.541e-05/1.179, allocations: 29.7 kB / 1.367 GB, free: 1.824 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 6.093e-05/1.179, allocations: 94.16 kB / 1.368 GB, free: 1.734 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.003e-05/1.179, allocations: 11.84 kB / 1.368 GB, free: 1.723 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.637e-06/1.179, allocations: 0 / 1.368 GB, free: 1.723 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001281/1.179, allocations: 318 kB / 1.368 GB, free: 1.406 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.689e-05/1.179, allocations: 19.55 kB / 1.368 GB, free: 1.391 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.806e-05/1.179, allocations: 45.5 kB / 1.368 GB, free: 1.348 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.295e-05/1.179, allocations: 19.86 kB / 1.368 GB, free: 1.332 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/1.179, allocations: 0 / 1.368 GB, free: 1.332 MB / 0.823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001234/1.179, allocations: 80.69 kB / 1.368 GB, free: 1.254 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/1.179, allocations: 9.406 kB / 1.368 GB, free: 1.246 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/1.179, allocations: 3.953 kB / 1.368 GB, free: 1.242 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/1.179, allocations: 3.984 kB / 1.368 GB, free: 1.238 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001527/1.179, allocations: 24.11 kB / 1.368 GB, free: 1.215 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/1.179, allocations: 3.984 kB / 1.368 GB, free: 1.211 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001023/1.18, allocations: 19.98 kB / 1.368 GB, free: 1.191 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.624e-06/1.18, allocations: 0 / 1.368 GB, free: 1.191 MB / 0.823 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.508e-05/1.18, allocations: 109 kB / 1.368 GB, free: 1.078 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.067e-05/1.18, allocations: 7.562 kB / 1.368 GB, free: 1.074 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.253e-05/1.18, allocations: 11.64 kB / 1.368 GB, free: 1.062 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/1.18, allocations: 4.328 kB / 1.368 GB, free: 1.059 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.848e-06/1.18, allocations: 0 / 1.368 GB, free: 1.059 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.776e-06/1.18, allocations: 4 kB / 1.368 GB, free: 1.055 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00022/1.18, allocations: 184.1 kB / 1.368 GB, free: 0.8359 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/1.18, allocations: 3.938 kB / 1.368 GB, free: 0.832 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001263/1.18, allocations: 31.91 kB / 1.368 GB, free: 0.8008 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/1.18, allocations: 4 kB / 1.368 GB, free: 0.7969 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.146e-06/1.18, allocations: 0 / 1.368 GB, free: 0.7969 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/1.18, allocations: 0 / 1.368 GB, free: 0.7969 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/1.18, allocations: 3.953 kB / 1.368 GB, free: 0.793 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001859/1.18, allocations: 258.9 kB / 1.369 GB, free: 0.5312 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.835e-05/1.18, allocations: 89.12 kB / 1.369 GB, free: 436 kB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.383e-05/1.18, allocations: 0 / 1.369 GB, free: 436 kB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001643/1.181, allocations: 27.92 kB / 1.369 GB, free: 408 kB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.002e-05/1.181, allocations: 7.984 kB / 1.369 GB, free: 400 kB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.429e-06/1.181, allocations: 0 / 1.369 GB, free: 400 kB / 0.823 GB Notification: Performance of sorting global known variables: time 5.502e-05/1.181, allocations: 95.03 kB / 1.369 GB, free: 308 kB / 0.823 GB Notification: Performance of sort global known variables: time 1.5e-07/1.181, allocations: 0 / 1.369 GB, free: 308 kB / 0.823 GB Notification: Performance of remove unused functions: time 0.0002345/1.181, allocations: 19.47 kB / 1.369 GB, free: 292 kB / 0.823 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.000477/1.181, allocations: 0.854 MB / 1.37 GB, free: 15.41 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001231/1.182, allocations: 55.11 kB / 1.37 GB, free: 15.37 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/1.182, allocations: 0 / 1.37 GB, free: 15.37 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001187/1.182, allocations: 34.34 kB / 1.37 GB, free: 15.34 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002086/1.182, allocations: 14.98 kB / 1.37 GB, free: 15.33 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004446/1.182, allocations: 151.8 kB / 1.37 GB, free: 15.15 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002804/1.183, allocations: 0.7042 MB / 1.371 GB, free: 14.42 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 5.049e-05/1.183, allocations: 11.98 kB / 1.371 GB, free: 14.41 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.611e-05/1.183, allocations: 13.56 kB / 1.371 GB, free: 14.41 MB / 0.8386 GB Notification: Performance of SimCode: time 1.783e-06/1.183, allocations: 0 / 1.371 GB, free: 14.41 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01188/1.195, allocations: 1.519 MB / 1.372 GB, free: 13.06 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002664/1.195, allocations: 175.7 kB / 1.372 GB, free: 12.84 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.542/2.737, allocations: 0 / 1.372 GB, free: 12.84 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_RealVectorReplicator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_RealVectorReplicator.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator_res.mat does not exist to compare? outputFormat=mat