Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.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.RealScalarReplicator,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator",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.341/2.341, allocations: 393.5 MB / 408.4 MB, free: 11.01 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.001095/0.001095, allocations: 176 kB / 0.4901 GB, free: 2.234 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.615/1.615, allocations: 223.1 MB / 0.7992 GB, free: 14.61 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.0009239/0.0009238, allocations: 98.94 kB / 0.9396 GB, free: 1.828 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003653/0.0003654, allocations: 10.88 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2986/0.299, allocations: 143 MB / 1.229 GB, free: 105.5 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2004/0.4995, allocations: 149.6 MB / 1.375 GB, free: 3.762 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002615/0.4998, allocations: 63.97 kB / 1.375 GB, free: 3.699 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.001736/0.5015, allocations: 0.6295 MB / 1.376 GB, free: 3.066 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.204e-06/0.5015, allocations: 0 / 1.376 GB, free: 3.066 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.465e-05/0.5016, allocations: 7.938 kB / 1.376 GB, free: 3.059 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003868/0.502, allocations: 343.3 kB / 1.376 GB, free: 2.676 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.689e-05/0.502, allocations: 12.56 kB / 1.376 GB, free: 2.664 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.711e-05/0.5021, allocations: 38.56 kB / 1.376 GB, free: 2.617 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.464e-05/0.5021, allocations: 0 / 1.376 GB, free: 2.617 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001615/0.5023, allocations: 175 kB / 1.377 GB, free: 2.406 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.113e-05/0.5023, allocations: 4 kB / 1.377 GB, free: 2.402 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.1e-05/0.5023, allocations: 4 kB / 1.377 GB, free: 2.398 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001962/0.5025, allocations: 58.53 kB / 1.377 GB, free: 2.336 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.5025, allocations: 7.922 kB / 1.377 GB, free: 2.328 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.526e-06/0.5025, allocations: 4 kB / 1.377 GB, free: 2.324 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.5025, allocations: 0 / 1.377 GB, free: 2.324 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001668/0.5027, allocations: 51.95 kB / 1.377 GB, free: 2.273 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004189/0.5031, allocations: 276.8 kB / 1.377 GB, free: 1.953 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001096/0.5033, allocations: 42.5 kB / 1.377 GB, free: 1.902 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.023e-05/0.5033, allocations: 0 / 1.377 GB, free: 1.902 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.267e-05/0.5033, allocations: 34.56 kB / 1.377 GB, free: 1.859 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=1): time 9.42e-07/0.5033, allocations: 0 / 1.377 GB, free: 1.859 MB / 0.8698 GB Notification: Performance of matching and sorting (n=1): time 0.0003618/0.5037, allocations: 97.75 kB / 1.377 GB, free: 1.758 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.671e-05/0.5037, allocations: 51.41 kB / 1.377 GB, free: 1.695 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.583e-05/0.5038, allocations: 96.98 kB / 1.377 GB, free: 1.594 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.7e-05/0.5038, allocations: 25.7 kB / 1.377 GB, free: 1.562 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 4.866e-05/0.5039, allocations: 88.14 kB / 1.377 GB, free: 1.473 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.307e-05/0.5039, allocations: 3.906 kB / 1.377 GB, free: 1.469 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.026e-06/0.5039, allocations: 0 / 1.377 GB, free: 1.469 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001078/0.504, allocations: 310.8 kB / 1.378 GB, free: 1.156 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.898e-05/0.5041, allocations: 35.94 kB / 1.378 GB, free: 1.121 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.422e-05/0.5042, allocations: 15.98 kB / 1.378 GB, free: 1.105 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.454e-05/0.5043, allocations: 15.98 kB / 1.378 GB, free: 1.09 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.5043, allocations: 8 kB / 1.378 GB, free: 1.082 MB / 0.8698 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001857/0.5045, allocations: 77.59 kB / 1.378 GB, free: 1 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.5045, allocations: 5.875 kB / 1.378 GB, free: 0.9961 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.5045, allocations: 0 / 1.378 GB, free: 0.9961 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.5046, allocations: 4 kB / 1.378 GB, free: 0.9922 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.382e-05/0.5046, allocations: 12.27 kB / 1.378 GB, free: 0.9805 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.5047, allocations: 3.953 kB / 1.378 GB, free: 0.9766 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.878e-05/0.5047, allocations: 12 kB / 1.378 GB, free: 0.9648 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.091e-06/0.5047, allocations: 0 / 1.378 GB, free: 0.9648 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 7.745e-05/0.5048, allocations: 117.8 kB / 1.378 GB, free: 0.8398 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.137e-05/0.5048, allocations: 0 / 1.378 GB, free: 0.8398 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.029e-05/0.5049, allocations: 7.125 kB / 1.378 GB, free: 0.8359 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.5049, allocations: 0 / 1.378 GB, free: 0.8359 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.5049, allocations: 3.938 kB / 1.378 GB, free: 0.832 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.5049, allocations: 7.953 kB / 1.378 GB, free: 0.8242 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001509/0.505, allocations: 157.7 kB / 1.378 GB, free: 0.6211 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.505, allocations: 0 / 1.378 GB, free: 0.6211 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.096e-05/0.5051, allocations: 12 kB / 1.378 GB, free: 0.6094 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.5051, allocations: 0 / 1.378 GB, free: 0.6094 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.073e-06/0.5051, allocations: 0 / 1.378 GB, free: 0.6094 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.5051, allocations: 0 / 1.378 GB, free: 0.6094 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/0.5051, allocations: 7.984 kB / 1.378 GB, free: 0.6016 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002259/0.5054, allocations: 167.4 kB / 1.378 GB, free: 432 kB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.825e-05/0.5054, allocations: 85.03 kB / 1.378 GB, free: 328 kB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.369e-05/0.5054, allocations: 8.031 kB / 1.378 GB, free: 320 kB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.24e-05/0.5055, allocations: 4 kB / 1.378 GB, free: 316 kB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.187e-05/0.5056, allocations: 3.984 kB / 1.378 GB, free: 312 kB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.418e-06/0.5056, allocations: 4 kB / 1.378 GB, free: 308 kB / 0.8698 GB Notification: Performance of sorting global known variables: time 3.399e-05/0.5056, allocations: 79.28 kB / 1.379 GB, free: 228 kB / 0.8698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5056, allocations: 4 kB / 1.379 GB, free: 224 kB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0001981/0.5058, allocations: 4 kB / 1.379 GB, free: 220 kB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 1 * 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.000532/0.5064, allocations: 0.7031 MB / 1.379 GB, free: 15.48 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0001943/0.5066, allocations: 47.92 kB / 1.379 GB, free: 15.44 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.5066, allocations: 0 / 1.379 GB, free: 15.44 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 8.874e-05/0.5067, allocations: 31.98 kB / 1.379 GB, free: 15.41 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001679/0.5068, allocations: 5.188 kB / 1.379 GB, free: 15.41 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008038/0.5077, allocations: 418.4 kB / 1.38 GB, free: 14.95 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002324/0.5079, allocations: 0.6809 MB / 1.38 GB, free: 14.24 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 3.475e-05/0.508, allocations: 4 kB / 1.38 GB, free: 14.23 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.828e-05/0.508, allocations: 14.69 kB / 1.38 GB, free: 14.22 MB / 0.8855 GB Notification: Performance of SimCode: time 4.61e-07/0.508, allocations: 4 kB / 1.38 GB, free: 14.22 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01164/0.5197, allocations: 1.015 MB / 1.381 GB, free: 13.37 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001821/0.5199, allocations: 206.6 kB / 1.382 GB, free: 13.13 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.559/2.079, allocations: 5.031 kB / 1.382 GB, free: 13.12 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator_res.mat does not exist to compare? outputFormat=mat