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.314/2.314, allocations: 387.4 MB / 394.9 MB, free: 13.39 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.001167/0.001167, allocations: 176.8 kB / 487.4 MB, free: 5.043 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.438/1.438, allocations: 221.5 MB / 0.7824 GB, free: 1.008 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000925/0.0009247, allocations: 103.6 kB / 0.9219 GB, free: 2.234 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.926e-05/1.928e-05, allocations: 8 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2399/0.2399, allocations: 142.4 MB / 1.206 GB, free: 43.85 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.863/1.103, allocations: 148.1 MB / 1.351 GB, free: 18.2 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002233/1.103, allocations: 68.77 kB / 1.351 GB, free: 18.2 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002223/1.105, allocations: 0.6279 MB / 1.351 GB, free: 33.88 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.252e-06/1.105, allocations: 0.9375 kB / 1.351 GB, free: 33.88 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.836e-06/1.105, allocations: 0 / 1.351 GB, free: 33.88 MB / 0.8386 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.0003183/1.106, allocations: 339.6 kB / 1.352 GB, free: 33.53 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/1.106, allocations: 7.781 kB / 1.352 GB, free: 33.53 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.593e-05/1.106, allocations: 9.297 kB / 1.352 GB, free: 33.53 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001309/1.106, allocations: 176.2 kB / 1.352 GB, free: 33.32 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.023e-05/1.106, allocations: 0.75 kB / 1.352 GB, free: 33.32 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.19e-05/1.106, allocations: 0 / 1.352 GB, free: 33.32 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.297e-05/1.106, allocations: 13.44 kB / 1.352 GB, free: 33.32 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.202e-05/1.106, allocations: 50.7 kB / 1.352 GB, free: 33.29 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/1.106, allocations: 3.938 kB / 1.352 GB, free: 33.28 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/1.106, allocations: 0 / 1.352 GB, free: 33.28 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/1.106, allocations: 3.984 kB / 1.352 GB, free: 33.28 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003839/1.107, allocations: 260.5 kB / 1.352 GB, free: 33.04 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 3.745e-05/1.107, allocations: 22.88 kB / 1.352 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.074e-05/1.107, allocations: 8.797 kB / 1.352 GB, free: 33 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.168e-05/1.107, allocations: 0.6562 kB / 1.352 GB, free: 33 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.611e-05/1.107, allocations: 34.44 kB / 1.352 GB, free: 32.96 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=1): time 1.332e-06/1.107, allocations: 0 / 1.352 GB, free: 32.96 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1): time 0.000136/1.107, allocations: 38.59 kB / 1.352 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.734e-05/1.107, allocations: 56.19 kB / 1.352 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.19e-05/1.107, allocations: 97.92 kB / 1.352 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 7.424e-06/1.107, allocations: 25.7 kB / 1.352 GB, free: 32.74 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.696e-05/1.107, allocations: 84.17 kB / 1.353 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.319e-05/1.107, allocations: 4.422 kB / 1.353 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.905e-06/1.107, allocations: 3.844 kB / 1.353 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.788e-05/1.107, allocations: 315.9 kB / 1.353 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.331e-05/1.107, allocations: 3.188 kB / 1.353 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.041e-05/1.107, allocations: 7.844 kB / 1.353 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.523e-05/1.107, allocations: 8.438 kB / 1.353 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/1.107, allocations: 0 / 1.353 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.728e-05/1.107, allocations: 38.09 kB / 1.353 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/1.107, allocations: 6.922 kB / 1.353 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/1.107, allocations: 0 / 1.353 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/1.107, allocations: 0 / 1.353 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.323e-05/1.107, allocations: 11.75 kB / 1.353 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.296e-06/1.108, allocations: 96 / 1.353 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.001e-05/1.108, allocations: 14.27 kB / 1.353 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.941e-06/1.108, allocations: 0.7969 kB / 1.353 GB, free: 32.3 MB / 0.8386 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 5.762e-05/1.108, allocations: 108.1 kB / 1.353 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 5.729e-05/1.108, allocations: 37.75 kB / 1.353 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.088e-05/1.108, allocations: 4.469 kB / 1.353 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.294e-05/1.108, allocations: 7.344 kB / 1.353 GB, free: 32.15 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-06/1.108, allocations: 3.938 kB / 1.353 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/1.108, allocations: 4.031 kB / 1.353 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.628e-06/1.108, allocations: 4.562 kB / 1.353 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001018/1.108, allocations: 135.3 kB / 1.353 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/1.108, allocations: 0 / 1.353 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.752e-05/1.108, allocations: 14.47 kB / 1.353 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/1.108, allocations: 0 / 1.353 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-06/1.108, allocations: 4.531 kB / 1.353 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/1.108, allocations: 0 / 1.353 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/1.108, allocations: 3.938 kB / 1.353 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.563e-05/1.108, allocations: 141.2 kB / 1.353 GB, free: 31.83 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.859e-05/1.108, allocations: 77.86 kB / 1.353 GB, free: 31.74 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.332e-05/1.108, allocations: 0.5156 kB / 1.353 GB, free: 31.74 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.912e-05/1.108, allocations: 9.938 kB / 1.353 GB, free: 31.74 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.421e-05/1.108, allocations: 1.125 kB / 1.353 GB, free: 31.74 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.905e-06/1.108, allocations: 0.6562 kB / 1.353 GB, free: 31.74 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.061e-05/1.108, allocations: 87.22 kB / 1.354 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.5e-07/1.108, allocations: 0 / 1.354 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002087/1.109, allocations: 3.812 kB / 1.354 GB, free: 31.66 MB / 0.8386 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.0003277/1.109, allocations: 0.6678 MB / 1.354 GB, free: 31 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 7.397e-05/1.109, allocations: 17.34 kB / 1.354 GB, free: 31 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.313e-06/1.109, allocations: 0 / 1.354 GB, free: 31 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.59e-05/1.109, allocations: 3.969 kB / 1.354 GB, free: 31 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001661/1.109, allocations: 3.938 kB / 1.354 GB, free: 31 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003001/1.109, allocations: 93.98 kB / 1.354 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002364/1.11, allocations: 0.6865 MB / 1.355 GB, free: 30.19 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.275e-05/1.11, allocations: 5.281 kB / 1.355 GB, free: 30.19 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.031e-05/1.11, allocations: 12.22 kB / 1.355 GB, free: 30.18 MB / 0.8386 GB Notification: Performance of SimCode: time 2.3e-07/1.11, allocations: 0 / 1.355 GB, free: 30.18 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01841/1.128, allocations: 0.7112 MB / 1.356 GB, free: 30.12 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001529/1.128, allocations: 154.1 kB / 1.356 GB, free: 29.93 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.614/2.742, allocations: 0 / 1.356 GB, free: 29.93 MB / 0.8386 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