Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.191/2.191, allocations: 390.3 MB / 405.3 MB, free: 13.49 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.001059/0.001059, allocations: 173.2 kB / 498.1 MB, free: 5.754 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.589/1.589, allocations: 223.1 MB / 0.7948 GB, free: 17.98 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.0008978/0.0008977, allocations: 94.34 kB / 0.9346 GB, free: 6.254 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004613/0.0004613, allocations: 10.41 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3218/0.3223, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1865/0.5089, allocations: 148.8 MB / 1.368 GB, free: 13.27 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002409/0.5092, allocations: 67.91 kB / 1.368 GB, free: 13.2 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.001778/0.511, allocations: 0.6301 MB / 1.369 GB, free: 12.57 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.164e-06/0.511, allocations: 4 kB / 1.369 GB, free: 12.56 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 9.017e-06/0.511, allocations: 0 / 1.369 GB, free: 12.56 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.000384/0.5114, allocations: 347.2 kB / 1.369 GB, free: 12.18 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.929e-05/0.5115, allocations: 8.031 kB / 1.369 GB, free: 12.17 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.151e-05/0.5115, allocations: 30.56 kB / 1.369 GB, free: 12.13 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.905e-05/0.5116, allocations: 11.94 kB / 1.369 GB, free: 12.12 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001686/0.5117, allocations: 175 kB / 1.369 GB, free: 11.91 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.229e-05/0.5118, allocations: 8 kB / 1.369 GB, free: 11.9 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.025e-05/0.5118, allocations: 4 kB / 1.369 GB, free: 11.89 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001953/0.512, allocations: 56.41 kB / 1.37 GB, free: 11.84 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.512, allocations: 3.984 kB / 1.37 GB, free: 11.83 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.057e-06/0.512, allocations: 0 / 1.37 GB, free: 11.83 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.512, allocations: 4 kB / 1.37 GB, free: 11.83 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001723/0.5122, allocations: 51.95 kB / 1.37 GB, free: 11.78 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004268/0.5126, allocations: 288.8 kB / 1.37 GB, free: 11.45 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001131/0.5128, allocations: 30.56 kB / 1.37 GB, free: 11.41 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.784e-06/0.5128, allocations: 0 / 1.37 GB, free: 11.41 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.277e-05/0.5128, allocations: 34.62 kB / 1.37 GB, free: 11.36 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=1): time 9.51e-07/0.5128, allocations: 0 / 1.37 GB, free: 11.36 MB / 0.8698 GB Notification: Performance of matching and sorting (n=1): time 0.0003409/0.5132, allocations: 101.5 kB / 1.37 GB, free: 11.26 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.498e-05/0.5132, allocations: 51.41 kB / 1.37 GB, free: 11.2 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.674e-05/0.5133, allocations: 101.1 kB / 1.37 GB, free: 11.09 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.28e-05/0.5133, allocations: 25.7 kB / 1.37 GB, free: 11.06 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 4.682e-05/0.5133, allocations: 95.92 kB / 1.37 GB, free: 10.96 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.238e-05/0.5134, allocations: 0 / 1.37 GB, free: 10.96 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.805e-06/0.5134, allocations: 0 / 1.37 GB, free: 10.96 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001081/0.5135, allocations: 314.8 kB / 1.371 GB, free: 10.64 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.333e-05/0.5136, allocations: 23.97 kB / 1.371 GB, free: 10.62 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.025e-05/0.5137, allocations: 23.98 kB / 1.371 GB, free: 10.6 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.903e-05/0.5137, allocations: 19.98 kB / 1.371 GB, free: 10.58 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.572e-06/0.5138, allocations: 0 / 1.371 GB, free: 10.58 MB / 0.8698 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001892/0.5139, allocations: 81.66 kB / 1.371 GB, free: 10.49 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.514, allocations: 4 kB / 1.371 GB, free: 10.49 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.514, allocations: 0 / 1.371 GB, free: 10.49 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.514, allocations: 0 / 1.371 GB, free: 10.49 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.863e-05/0.5141, allocations: 11.98 kB / 1.371 GB, free: 10.48 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.5141, allocations: 3.953 kB / 1.371 GB, free: 10.47 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.752e-05/0.5142, allocations: 8.031 kB / 1.371 GB, free: 10.46 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.132e-06/0.5142, allocations: 4 kB / 1.371 GB, free: 10.46 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.294e-05/0.5143, allocations: 109.8 kB / 1.371 GB, free: 10.34 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.558e-05/0.5143, allocations: 7.906 kB / 1.371 GB, free: 10.34 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.019e-05/0.5143, allocations: 3.125 kB / 1.371 GB, free: 10.33 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.5143, allocations: 0 / 1.371 GB, free: 10.33 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.5143, allocations: 0 / 1.371 GB, free: 10.33 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.5143, allocations: 3.953 kB / 1.371 GB, free: 10.33 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001802/0.5145, allocations: 169.7 kB / 1.371 GB, free: 10.11 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.5145, allocations: 0 / 1.371 GB, free: 10.11 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.148e-05/0.5146, allocations: 12.19 kB / 1.371 GB, free: 10.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.5146, allocations: 0 / 1.371 GB, free: 10.1 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.847e-06/0.5146, allocations: 4 kB / 1.371 GB, free: 10.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.5146, allocations: 0 / 1.371 GB, free: 10.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.5146, allocations: 0 / 1.371 GB, free: 10.1 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000239/0.5149, allocations: 175.4 kB / 1.371 GB, free: 9.91 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.306e-05/0.5149, allocations: 77.11 kB / 1.371 GB, free: 9.816 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.436e-05/0.5149, allocations: 3.984 kB / 1.371 GB, free: 9.812 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.643e-05/0.515, allocations: 12.03 kB / 1.371 GB, free: 9.801 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.798e-05/0.5151, allocations: 0 / 1.371 GB, free: 9.801 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.578e-06/0.5151, allocations: 3.984 kB / 1.371 GB, free: 9.797 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 4.1e-05/0.5151, allocations: 83.28 kB / 1.371 GB, free: 9.715 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5151, allocations: 3.938 kB / 1.371 GB, free: 9.711 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0001962/0.5153, allocations: 4 kB / 1.371 GB, free: 9.707 MB / 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.0005201/0.5159, allocations: 0.7121 MB / 1.372 GB, free: 8.969 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.000209/0.5161, allocations: 47.98 kB / 1.372 GB, free: 8.922 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.067e-06/0.5161, allocations: 4 kB / 1.372 GB, free: 8.918 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 8.292e-05/0.5162, allocations: 15.98 kB / 1.372 GB, free: 8.902 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000174/0.5164, allocations: 4.859 kB / 1.372 GB, free: 8.898 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008397/0.5172, allocations: 414.6 kB / 1.373 GB, free: 8.438 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002493/0.5175, allocations: 0.6809 MB / 1.373 GB, free: 7.73 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 3.643e-05/0.5175, allocations: 4 kB / 1.373 GB, free: 7.727 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.901e-05/0.5176, allocations: 11.44 kB / 1.373 GB, free: 7.715 MB / 0.8698 GB Notification: Performance of SimCode: time 6.51e-07/0.5176, allocations: 0 / 1.373 GB, free: 7.715 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01285/0.5304, allocations: 1.026 MB / 1.374 GB, free: 6.844 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000195/0.5307, allocations: 195.1 kB / 1.374 GB, free: 6.605 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.44/1.97, allocations: 2.672 kB / 1.374 GB, free: 6.605 MB / 0.8698 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator_res.mat does not exist to compare? outputFormat=mat