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.288/2.288, allocations: 393.5 MB / 408.4 MB, free: 11.04 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.0009989/0.0009989, allocations: 176 kB / 0.4901 GB, free: 2.227 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.623/1.623, allocations: 223.1 MB / 0.7992 GB, free: 15.65 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.001104/0.001103, allocations: 104.2 kB / 0.9396 GB, free: 2.832 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003735/0.0003735, allocations: 14.45 kB / 1.09 GB, free: 212.9 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3294/0.3298, allocations: 143 MB / 1.229 GB, free: 85.34 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2023/0.5321, allocations: 149.6 MB / 1.375 GB, free: 15.51 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002299/0.5324, allocations: 75.89 kB / 1.375 GB, free: 15.44 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.002653/0.5351, allocations: 0.9004 MB / 1.376 GB, free: 14.53 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.265e-06/0.5351, allocations: 7.938 kB / 1.376 GB, free: 14.52 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 8.816e-06/0.5351, allocations: 0 / 1.376 GB, free: 14.52 MB / 0.8855 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.0005483/0.5357, allocations: 409.1 kB / 1.377 GB, free: 14.08 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.686e-05/0.5357, allocations: 8.562 kB / 1.377 GB, free: 14.07 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.928e-05/0.5358, allocations: 30.56 kB / 1.377 GB, free: 14.03 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.828e-05/0.5358, allocations: 8 kB / 1.377 GB, free: 14.02 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002137/0.536, allocations: 190.9 kB / 1.377 GB, free: 13.8 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.131e-05/0.5361, allocations: 4 kB / 1.377 GB, free: 13.79 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.597e-05/0.5361, allocations: 4 kB / 1.377 GB, free: 13.79 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003497/0.5364, allocations: 147.2 kB / 1.377 GB, free: 13.63 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.5365, allocations: 7.984 kB / 1.377 GB, free: 13.62 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.5365, allocations: 0 / 1.377 GB, free: 13.62 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.5365, allocations: 0 / 1.377 GB, free: 13.62 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003862/0.5369, allocations: 147.8 kB / 1.377 GB, free: 13.48 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004762/0.5374, allocations: 396.9 kB / 1.378 GB, free: 13.04 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002392/0.5376, allocations: 101.1 kB / 1.378 GB, free: 12.92 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.409e-05/0.5376, allocations: 4 kB / 1.378 GB, free: 12.92 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.004e-05/0.5377, allocations: 38.58 kB / 1.378 GB, free: 12.87 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.5377, allocations: 0 / 1.378 GB, free: 12.87 MB / 0.8855 GB Notification: Performance of matching and sorting (n=2): time 0.0006673/0.5384, allocations: 217.7 kB / 1.378 GB, free: 12.65 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.471e-05/0.5384, allocations: 81.11 kB / 1.378 GB, free: 12.55 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001151/0.5385, allocations: 117.1 kB / 1.378 GB, free: 12.43 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.705e-05/0.5386, allocations: 29.64 kB / 1.378 GB, free: 12.39 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 5.364e-05/0.5386, allocations: 96.03 kB / 1.378 GB, free: 12.3 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.392e-05/0.5387, allocations: 3.906 kB / 1.378 GB, free: 12.29 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.437e-06/0.5387, allocations: 0 / 1.378 GB, free: 12.29 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001244/0.5388, allocations: 322.8 kB / 1.379 GB, free: 11.97 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001816/0.539, allocations: 59.94 kB / 1.379 GB, free: 11.91 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001779/0.5392, allocations: 81.64 kB / 1.379 GB, free: 11.82 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001784/0.5394, allocations: 55.88 kB / 1.379 GB, free: 11.77 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.5394, allocations: 4 kB / 1.379 GB, free: 11.77 MB / 0.8855 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000377/0.5397, allocations: 157.6 kB / 1.379 GB, free: 11.61 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.5398, allocations: 4 kB / 1.379 GB, free: 11.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.5398, allocations: 3.984 kB / 1.379 GB, free: 11.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.535e-05/0.5398, allocations: 7.953 kB / 1.379 GB, free: 11.59 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001504/0.54, allocations: 27.97 kB / 1.379 GB, free: 11.56 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.846e-06/0.54, allocations: 0 / 1.379 GB, free: 11.56 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001025/0.5401, allocations: 31.89 kB / 1.379 GB, free: 11.53 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.026e-05/0.5401, allocations: 3.984 kB / 1.379 GB, free: 11.53 MB / 0.8855 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 9.047e-05/0.5402, allocations: 117.8 kB / 1.379 GB, free: 11.4 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.127e-05/0.5403, allocations: 7.984 kB / 1.379 GB, free: 11.39 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.358e-05/0.5403, allocations: 7.531 kB / 1.379 GB, free: 11.39 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.5403, allocations: 7.953 kB / 1.379 GB, free: 11.38 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.5403, allocations: 0 / 1.379 GB, free: 11.38 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.5403, allocations: 0 / 1.379 GB, free: 11.38 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002338/0.5406, allocations: 177.6 kB / 1.379 GB, free: 11.16 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.5406, allocations: 4 kB / 1.379 GB, free: 11.16 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001129/0.5407, allocations: 23.97 kB / 1.379 GB, free: 11.13 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.5407, allocations: 0 / 1.379 GB, free: 11.13 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.075e-05/0.5407, allocations: 8 kB / 1.379 GB, free: 11.12 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.5407, allocations: 0 / 1.379 GB, free: 11.12 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.244e-05/0.5407, allocations: 3.953 kB / 1.379 GB, free: 11.12 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004808/0.5412, allocations: 340.3 kB / 1.38 GB, free: 10.77 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 4.623e-05/0.5413, allocations: 85.09 kB / 1.38 GB, free: 10.66 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.378e-05/0.5413, allocations: 384 / 1.38 GB, free: 10.66 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001737/0.5415, allocations: 27.92 kB / 1.38 GB, free: 10.64 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.263e-05/0.5415, allocations: 4 kB / 1.38 GB, free: 10.63 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.008e-06/0.5415, allocations: 7.969 kB / 1.38 GB, free: 10.62 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 6.64e-05/0.5416, allocations: 107.2 kB / 1.38 GB, free: 10.52 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5416, allocations: 0 / 1.38 GB, free: 10.52 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002468/0.5419, allocations: 11.91 kB / 1.38 GB, free: 10.51 MB / 0.8855 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.000857/0.5427, allocations: 0.9391 MB / 1.381 GB, free: 9.535 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0004212/0.5432, allocations: 127.9 kB / 1.381 GB, free: 9.41 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.5432, allocations: 0 / 1.381 GB, free: 9.41 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.000198/0.5434, allocations: 76.11 kB / 1.381 GB, free: 9.336 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002115/0.5436, allocations: 12.5 kB / 1.381 GB, free: 9.324 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001354/0.545, allocations: 0.7643 MB / 1.382 GB, free: 8.504 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003174/0.5453, allocations: 0.7004 MB / 1.383 GB, free: 7.777 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 4.617e-05/0.5454, allocations: 19.92 kB / 1.383 GB, free: 7.758 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.091e-05/0.5454, allocations: 19.44 kB / 1.383 GB, free: 7.742 MB / 0.8855 GB Notification: Performance of SimCode: time 3.6e-07/0.5454, allocations: 3.938 kB / 1.383 GB, free: 7.738 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01291/0.5583, allocations: 1.498 MB / 1.384 GB, free: 6.422 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002235/0.5586, allocations: 199.5 kB / 1.384 GB, free: 6.184 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.577/2.136, allocations: 0 / 1.384 GB, free: 6.184 MB / 0.8855 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