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.286/2.286, allocations: 390.3 MB / 402.8 MB, free: 6.703 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.001276/0.001276, allocations: 176.8 kB / 496.1 MB, free: 12.86 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.555/1.555, allocations: 221.3 MB / 0.7915 GB, free: 5.379 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.0008744/0.0008744, allocations: 91.94 kB / 0.9317 GB, free: 5.695 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.177e-05/3.195e-05, allocations: 8 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3064/0.3064, allocations: 143 MB / 1.219 GB, free: 13.4 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.013/1.32, allocations: 149.5 MB / 1.365 GB, free: 4.434 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002583/1.32, allocations: 67.91 kB / 1.365 GB, free: 4.398 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.001921/1.322, allocations: 0.6458 MB / 1.366 GB, free: 3.801 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.114e-06/1.322, allocations: 0 / 1.366 GB, free: 3.801 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.251e-05/1.322, allocations: 0 / 1.366 GB, free: 3.801 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004623/1.322, allocations: 334 kB / 1.366 GB, free: 3.434 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.735e-05/1.323, allocations: 12.03 kB / 1.366 GB, free: 3.422 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.788e-05/1.323, allocations: 30.56 kB / 1.366 GB, free: 3.383 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.677e-05/1.323, allocations: 4.688 kB / 1.366 GB, free: 3.379 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002019/1.323, allocations: 178.4 kB / 1.366 GB, free: 3.168 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.765e-05/1.323, allocations: 4 kB / 1.366 GB, free: 3.164 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.668e-05/1.323, allocations: 3.938 kB / 1.366 GB, free: 3.16 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000129/1.323, allocations: 45.31 kB / 1.366 GB, free: 3.117 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/1.323, allocations: 4 kB / 1.366 GB, free: 3.113 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/1.323, allocations: 0 / 1.366 GB, free: 3.113 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.073e-05/1.323, allocations: 4 kB / 1.366 GB, free: 3.109 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.13e-05/1.323, allocations: 12.89 kB / 1.366 GB, free: 3.102 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004444/1.324, allocations: 278.8 kB / 1.366 GB, free: 2.789 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 4.953e-05/1.324, allocations: 25.33 kB / 1.366 GB, free: 2.758 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.759e-05/1.324, allocations: 12.05 kB / 1.366 GB, free: 2.746 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.262e-05/1.324, allocations: 0 / 1.366 GB, free: 2.746 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.614e-05/1.324, allocations: 30.56 kB / 1.367 GB, free: 2.707 MB / 0.823 GB Notification: Performance of pre-optimization done (n=1): time 9.22e-07/1.324, allocations: 0 / 1.367 GB, free: 2.707 MB / 0.823 GB Notification: Performance of matching and sorting (n=1): time 0.0001561/1.324, allocations: 52.42 kB / 1.367 GB, free: 2.652 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.165e-05/1.324, allocations: 55.44 kB / 1.367 GB, free: 2.586 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.763e-05/1.324, allocations: 95.94 kB / 1.367 GB, free: 2.492 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.611e-05/1.324, allocations: 25.7 kB / 1.367 GB, free: 2.461 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 4.879e-05/1.324, allocations: 91.38 kB / 1.367 GB, free: 2.371 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.306e-05/1.324, allocations: 0 / 1.367 GB, free: 2.371 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.475e-06/1.324, allocations: 0 / 1.367 GB, free: 2.371 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001479/1.324, allocations: 310.8 kB / 1.367 GB, free: 2.059 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.583e-05/1.324, allocations: 10.94 kB / 1.367 GB, free: 2.051 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.169e-05/1.324, allocations: 4 kB / 1.367 GB, free: 2.047 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.102e-05/1.324, allocations: 7.375 kB / 1.367 GB, free: 2.043 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/1.324, allocations: 0.7656 kB / 1.367 GB, free: 2.043 MB / 0.823 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.262e-05/1.324, allocations: 41.59 kB / 1.367 GB, free: 1.996 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.098e-05/1.325, allocations: 8 kB / 1.367 GB, free: 1.988 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/1.325, allocations: 0 / 1.367 GB, free: 1.988 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/1.325, allocations: 0 / 1.367 GB, free: 1.988 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.923e-05/1.325, allocations: 11.94 kB / 1.367 GB, free: 1.977 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.262e-05/1.325, allocations: 3.953 kB / 1.367 GB, free: 1.973 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.147e-05/1.325, allocations: 18.89 kB / 1.367 GB, free: 1.957 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.025e-06/1.325, allocations: 3.984 kB / 1.367 GB, free: 1.953 MB / 0.823 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 () * 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 9.041e-05/1.325, allocations: 105 kB / 1.367 GB, free: 1.844 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.281e-05/1.325, allocations: 0 / 1.367 GB, free: 1.844 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.483e-05/1.325, allocations: 7.109 kB / 1.367 GB, free: 1.84 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/1.325, allocations: 0 / 1.367 GB, free: 1.84 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/1.325, allocations: 0 / 1.367 GB, free: 1.84 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/1.325, allocations: 7.953 kB / 1.367 GB, free: 1.832 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001705/1.325, allocations: 163.7 kB / 1.367 GB, free: 1.629 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/1.325, allocations: 0 / 1.367 GB, free: 1.629 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.064e-05/1.325, allocations: 11.98 kB / 1.368 GB, free: 1.617 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/1.325, allocations: 0 / 1.368 GB, free: 1.617 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.933e-06/1.325, allocations: 0 / 1.368 GB, free: 1.617 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/1.325, allocations: 0 / 1.368 GB, free: 1.617 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/1.325, allocations: 0 / 1.368 GB, free: 1.617 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000131/1.325, allocations: 149.2 kB / 1.368 GB, free: 1.461 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.633e-05/1.325, allocations: 77.11 kB / 1.368 GB, free: 1.367 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.477e-05/1.325, allocations: 0 / 1.368 GB, free: 1.367 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.388e-05/1.326, allocations: 11.98 kB / 1.368 GB, free: 1.355 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.759e-05/1.326, allocations: 0 / 1.368 GB, free: 1.355 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.986e-06/1.326, allocations: 0 / 1.368 GB, free: 1.355 MB / 0.823 GB Notification: Performance of sorting global known variables: time 4.467e-05/1.326, allocations: 83.41 kB / 1.368 GB, free: 1.277 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.2e-07/1.326, allocations: 0 / 1.368 GB, free: 1.277 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0002178/1.326, allocations: 11.94 kB / 1.368 GB, free: 1.266 MB / 0.823 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 () * 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.0004343/1.326, allocations: 0.6684 MB / 1.368 GB, free: 0.5742 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 8.354e-05/1.326, allocations: 7.938 kB / 1.368 GB, free: 0.5664 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 4.549e-06/1.326, allocations: 3.438 kB / 1.368 GB, free: 0.5664 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 2.242e-05/1.326, allocations: 8.094 kB / 1.368 GB, free: 0.5586 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000189/1.327, allocations: 4 kB / 1.369 GB, free: 0.5547 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003675/1.327, allocations: 101.8 kB / 1.369 GB, free: 432 kB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003216/1.327, allocations: 0.6848 MB / 1.369 GB, free: 15.71 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.735e-05/1.327, allocations: 3.984 kB / 1.369 GB, free: 15.71 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.774e-05/1.327, allocations: 11.31 kB / 1.369 GB, free: 15.7 MB / 0.8386 GB Notification: Performance of SimCode: time 4.31e-07/1.327, allocations: 0 / 1.369 GB, free: 15.7 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0133/1.341, allocations: 1.034 MB / 1.37 GB, free: 14.84 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002181/1.341, allocations: 168.1 kB / 1.37 GB, free: 14.62 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.588/2.929, allocations: 5.25 kB / 1.37 GB, free: 14.62 MB / 0.8386 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