Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.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.IntegerVectorReplicator,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorReplicator",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.531/2.531, allocations: 393.5 MB / 408.4 MB, free: 11.07 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.001166/0.001166, allocations: 191.8 kB / 0.4902 GB, free: 2.23 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.467/1.467, allocations: 223.1 MB / 0.7992 GB, free: 15.68 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.0009129/0.0009129, allocations: 80.39 kB / 0.9396 GB, free: 2.867 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003657/0.0003657, allocations: 9.25 kB / 1.09 GB, free: 212.8 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3023/0.3026, allocations: 143 MB / 1.229 GB, free: 85.39 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2063/0.509, allocations: 149.8 MB / 1.376 GB, free: 15.38 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002628/0.5093, allocations: 67.95 kB / 1.376 GB, free: 15.32 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.004268/0.5136, allocations: 1.246 MB / 1.377 GB, free: 14.07 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.544e-06/0.5136, allocations: 0 / 1.377 GB, free: 14.07 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.552e-05/0.5137, allocations: 4 kB / 1.377 GB, free: 14.06 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0006879/0.5143, allocations: 407 kB / 1.377 GB, free: 13.62 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.381e-05/0.5144, allocations: 12.03 kB / 1.377 GB, free: 13.61 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.002e-05/0.5145, allocations: 38.55 kB / 1.377 GB, free: 13.56 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.636e-05/0.5145, allocations: 7.906 kB / 1.377 GB, free: 13.55 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002539/0.5148, allocations: 202.8 kB / 1.378 GB, free: 13.31 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.489e-05/0.5148, allocations: 4 kB / 1.378 GB, free: 13.31 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.647e-05/0.5149, allocations: 4 kB / 1.378 GB, free: 13.3 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004055/0.5153, allocations: 171.3 kB / 1.378 GB, free: 13.12 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.5153, allocations: 4 kB / 1.378 GB, free: 13.12 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.756e-05/0.5153, allocations: 4 kB / 1.378 GB, free: 13.12 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.5153, allocations: 0 / 1.378 GB, free: 13.12 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004782/0.5158, allocations: 179.8 kB / 1.378 GB, free: 12.94 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006772/0.5165, allocations: 436.7 kB / 1.378 GB, free: 12.46 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003195/0.5168, allocations: 129.1 kB / 1.378 GB, free: 12.32 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.691e-05/0.5169, allocations: 4.109 kB / 1.378 GB, free: 12.31 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.199e-05/0.5169, allocations: 38.5 kB / 1.378 GB, free: 12.27 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=4): time 1.412e-06/0.5169, allocations: 4 kB / 1.378 GB, free: 12.26 MB / 0.8855 GB Notification: Performance of matching and sorting (n=4): time 0.0008007/0.5177, allocations: 261.5 kB / 1.379 GB, free: 12 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.247e-05/0.5178, allocations: 77.11 kB / 1.379 GB, free: 11.91 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001148/0.5179, allocations: 113.2 kB / 1.379 GB, free: 11.79 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.747e-05/0.518, allocations: 29.86 kB / 1.379 GB, free: 11.75 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 8.452e-05/0.5181, allocations: 107.9 kB / 1.379 GB, free: 11.64 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.004e-05/0.5181, allocations: 7.906 kB / 1.379 GB, free: 11.63 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.011e-06/0.5181, allocations: 0 / 1.379 GB, free: 11.63 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001462/0.5183, allocations: 318.8 kB / 1.379 GB, free: 11.31 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002066/0.5185, allocations: 71.92 kB / 1.379 GB, free: 11.24 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002153/0.5187, allocations: 89.62 kB / 1.379 GB, free: 11.15 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001971/0.5189, allocations: 63.94 kB / 1.38 GB, free: 11.09 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.5189, allocations: 4 kB / 1.38 GB, free: 11.08 MB / 0.8855 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0004705/0.5194, allocations: 185.4 kB / 1.38 GB, free: 10.89 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.235e-05/0.5194, allocations: 11.95 kB / 1.38 GB, free: 10.88 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/0.5194, allocations: 0 / 1.38 GB, free: 10.88 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.5195, allocations: 0 / 1.38 GB, free: 10.88 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001884/0.5196, allocations: 36.41 kB / 1.38 GB, free: 10.85 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.5197, allocations: 0 / 1.38 GB, free: 10.85 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001248/0.5198, allocations: 23.97 kB / 1.38 GB, free: 10.82 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.348e-06/0.5198, allocations: 0 / 1.38 GB, free: 10.82 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: 2 (intRep.u[1],intRep.u[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.0001373/0.52, allocations: 142.5 kB / 1.38 GB, free: 10.68 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.261e-05/0.52, allocations: 8.078 kB / 1.38 GB, free: 10.67 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.592e-05/0.5201, allocations: 11.48 kB / 1.38 GB, free: 10.66 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-06/0.5201, allocations: 0 / 1.38 GB, free: 10.66 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.5201, allocations: 4 kB / 1.38 GB, free: 10.66 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.5201, allocations: 0 / 1.38 GB, free: 10.66 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002662/0.5204, allocations: 189.6 kB / 1.38 GB, free: 10.42 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.5204, allocations: 0 / 1.38 GB, free: 10.42 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001551/0.5205, allocations: 35.95 kB / 1.38 GB, free: 10.39 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.514e-06/0.5205, allocations: 4 kB / 1.38 GB, free: 10.38 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.349e-05/0.5206, allocations: 4 kB / 1.38 GB, free: 10.38 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.429e-06/0.5206, allocations: 3.953 kB / 1.38 GB, free: 10.38 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.5206, allocations: 3.938 kB / 1.38 GB, free: 10.37 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000595/0.5212, allocations: 368.2 kB / 1.381 GB, free: 9.988 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 4.741e-05/0.5212, allocations: 85.02 kB / 1.381 GB, free: 9.887 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.342e-05/0.5213, allocations: 7.953 kB / 1.381 GB, free: 9.879 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001767/0.5215, allocations: 19.97 kB / 1.381 GB, free: 9.859 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.806e-05/0.5216, allocations: 23.97 kB / 1.381 GB, free: 9.836 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.626e-06/0.5216, allocations: 3.984 kB / 1.381 GB, free: 9.832 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 6.574e-05/0.5216, allocations: 95.27 kB / 1.381 GB, free: 9.738 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5217, allocations: 0 / 1.381 GB, free: 9.738 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002877/0.5219, allocations: 23.94 kB / 1.381 GB, free: 9.715 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: 2 (intRep.u[1],intRep.u[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0009951/0.523, allocations: 0.9733 MB / 1.382 GB, free: 8.707 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0004791/0.5235, allocations: 155.8 kB / 1.382 GB, free: 8.555 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.5235, allocations: 128 / 1.382 GB, free: 8.555 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0002481/0.5237, allocations: 103.8 kB / 1.382 GB, free: 8.453 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002281/0.524, allocations: 13.97 kB / 1.382 GB, free: 8.441 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001639/0.5256, allocations: 0.8387 MB / 1.383 GB, free: 7.547 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004218/0.5261, allocations: 0.7085 MB / 1.383 GB, free: 6.812 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 8.055e-05/0.5261, allocations: 20 kB / 1.384 GB, free: 6.793 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.889e-05/0.5262, allocations: 19.42 kB / 1.384 GB, free: 6.777 MB / 0.8855 GB Notification: Performance of SimCode: time 4.11e-07/0.5262, allocations: 3.938 kB / 1.384 GB, free: 6.773 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01462/0.5409, allocations: 1.973 MB / 1.385 GB, free: 4.977 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002242/0.5411, allocations: 211.3 kB / 1.386 GB, free: 4.73 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.667/2.208, allocations: 1.375 kB / 1.386 GB, free: 4.73 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorReplicator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorReplicator.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator_res.mat does not exist to compare? outputFormat=mat