Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.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.IntegerScalarReplicator,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator",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.276/2.276, allocations: 393.5 MB / 408.4 MB, free: 11.03 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.001122/0.001122, allocations: 184 kB / 0.4901 GB, free: 2.246 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.627/1.627, allocations: 223.1 MB / 0.7992 GB, free: 14.69 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.000913/0.000913, allocations: 95.27 kB / 0.9396 GB, free: 1.91 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004168/0.0004172, allocations: 11.69 kB / 1.09 GB, free: 216.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3028/0.3033, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1918/0.4951, allocations: 149.8 MB / 1.376 GB, free: 3.668 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002496/0.4954, allocations: 71.95 kB / 1.376 GB, free: 3.598 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.002426/0.4978, allocations: 0.8143 MB / 1.376 GB, free: 2.777 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.894e-06/0.4979, allocations: 0 / 1.376 GB, free: 2.777 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.082e-05/0.4979, allocations: 0 / 1.376 GB, free: 2.777 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004557/0.4984, allocations: 359.2 kB / 1.377 GB, free: 2.379 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.464e-05/0.4984, allocations: 12.03 kB / 1.377 GB, free: 2.367 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.854e-05/0.4985, allocations: 38.5 kB / 1.377 GB, free: 2.32 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.068e-05/0.4985, allocations: 4 kB / 1.377 GB, free: 2.316 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001879/0.4987, allocations: 175 kB / 1.377 GB, free: 2.105 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.605e-05/0.4987, allocations: 4 kB / 1.377 GB, free: 2.102 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.046e-05/0.4988, allocations: 0 / 1.377 GB, free: 2.102 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002175/0.499, allocations: 73.66 kB / 1.377 GB, free: 2.023 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.216e-06/0.499, allocations: 0 / 1.377 GB, free: 2.023 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/0.499, allocations: 3.984 kB / 1.377 GB, free: 2.02 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.499, allocations: 4 kB / 1.377 GB, free: 2.016 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002023/0.4992, allocations: 55.95 kB / 1.377 GB, free: 1.961 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000403/0.4997, allocations: 284.7 kB / 1.377 GB, free: 1.633 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001496/0.4998, allocations: 50.55 kB / 1.377 GB, free: 1.574 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.104e-05/0.4998, allocations: 0 / 1.377 GB, free: 1.574 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.581e-05/0.4999, allocations: 30.56 kB / 1.377 GB, free: 1.535 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=2): time 3.457e-06/0.4999, allocations: 3.938 kB / 1.377 GB, free: 1.531 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2): time 0.0003987/0.5003, allocations: 109.6 kB / 1.378 GB, free: 1.418 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.408e-05/0.5003, allocations: 55.39 kB / 1.378 GB, free: 1.352 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.511e-05/0.5004, allocations: 100.9 kB / 1.378 GB, free: 1.246 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.598e-05/0.5004, allocations: 25.7 kB / 1.378 GB, free: 1.215 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 5.137e-05/0.5005, allocations: 84.14 kB / 1.378 GB, free: 1.129 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.707e-05/0.5005, allocations: 12.02 kB / 1.378 GB, free: 1.117 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.556e-06/0.5005, allocations: 4 kB / 1.378 GB, free: 1.113 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.000117/0.5006, allocations: 310.8 kB / 1.378 GB, free: 0.8008 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.53e-05/0.5008, allocations: 23.98 kB / 1.378 GB, free: 0.7773 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.348e-05/0.5008, allocations: 23.97 kB / 1.378 GB, free: 0.7539 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.724e-05/0.5009, allocations: 24.05 kB / 1.378 GB, free: 0.7305 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.501, allocations: 3.938 kB / 1.378 GB, free: 0.7266 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002247/0.5012, allocations: 85.66 kB / 1.378 GB, free: 0.6367 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.402e-05/0.5012, allocations: 4 kB / 1.378 GB, free: 0.6328 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.5012, allocations: 0 / 1.378 GB, free: 0.6328 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.5013, allocations: 0 / 1.378 GB, free: 0.6328 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001139/0.5014, allocations: 11.98 kB / 1.378 GB, free: 0.6211 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.5014, allocations: 7.953 kB / 1.378 GB, free: 0.6133 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.125e-05/0.5015, allocations: 7.984 kB / 1.378 GB, free: 0.6055 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.321e-06/0.5015, allocations: 0 / 1.378 GB, free: 0.6055 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (intRep.y[3]) * 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 8.745e-05/0.5016, allocations: 118.6 kB / 1.378 GB, free: 492 kB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.5e-05/0.5016, allocations: 0 / 1.378 GB, free: 492 kB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.627e-05/0.5016, allocations: 11.12 kB / 1.378 GB, free: 484 kB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.898e-06/0.5016, allocations: 0 / 1.378 GB, free: 484 kB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.5016, allocations: 3.938 kB / 1.378 GB, free: 480 kB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.824e-06/0.5017, allocations: 7.938 kB / 1.378 GB, free: 472 kB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001841/0.5018, allocations: 165.5 kB / 1.379 GB, free: 256 kB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/0.5019, allocations: 3.984 kB / 1.379 GB, free: 252 kB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.868e-05/0.502, allocations: 16 kB / 1.379 GB, free: 236 kB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.502, allocations: 3.938 kB / 1.379 GB, free: 232 kB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-06/0.502, allocations: 7.984 kB / 1.379 GB, free: 224 kB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.502, allocations: 0 / 1.379 GB, free: 224 kB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.502, allocations: 0 / 1.379 GB, free: 224 kB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002839/0.5023, allocations: 179.5 kB / 1.379 GB, free: 28 kB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.488e-05/0.5024, allocations: 77.11 kB / 1.379 GB, free: 15.93 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.435e-05/0.5024, allocations: 256 / 1.379 GB, free: 15.93 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.131e-05/0.5025, allocations: 15.98 kB / 1.379 GB, free: 15.92 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.66e-05/0.5025, allocations: 0 / 1.379 GB, free: 15.92 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.615e-06/0.5025, allocations: 7.984 kB / 1.379 GB, free: 15.91 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 4.01e-05/0.5026, allocations: 89 kB / 1.379 GB, free: 15.82 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5026, allocations: 0 / 1.379 GB, free: 15.82 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002108/0.5028, allocations: 4 kB / 1.379 GB, free: 15.82 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (intRep.y[3]) * 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.0006413/0.5035, allocations: 0.724 MB / 1.38 GB, free: 15.07 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0002353/0.5037, allocations: 59.98 kB / 1.38 GB, free: 15.01 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.5037, allocations: 0 / 1.38 GB, free: 15.01 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001016/0.5038, allocations: 19.98 kB / 1.38 GB, free: 14.99 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001991/0.504, allocations: 8.859 kB / 1.38 GB, free: 14.98 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009139/0.505, allocations: 446.5 kB / 1.38 GB, free: 14.5 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002758/0.5052, allocations: 0.6809 MB / 1.381 GB, free: 13.79 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 4.249e-05/0.5053, allocations: 7.984 kB / 1.381 GB, free: 13.78 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.143e-05/0.5053, allocations: 11.44 kB / 1.381 GB, free: 13.77 MB / 0.8855 GB Notification: Performance of SimCode: time 4.81e-07/0.5053, allocations: 0 / 1.381 GB, free: 13.77 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01303/0.5184, allocations: 1.225 MB / 1.382 GB, free: 12.71 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002058/0.5186, allocations: 203 kB / 1.382 GB, free: 12.48 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.5/2.018, allocations: 0 / 1.382 GB, free: 12.48 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator_res.mat does not exist to compare? outputFormat=mat