Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.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.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,fileNamePrefix="Buildings_9_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,fileNamePrefix="Buildings_9_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",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.4/2.4, allocations: 387.1 MB / 399.7 MB, free: 9.477 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.001026/0.001026, allocations: 172.9 kB / 492.3 MB, free: 0.6211 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.597/1.597, allocations: 221.3 MB / 0.7871 GB, free: 12.96 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.0009274/0.0009273, allocations: 82.78 kB / 0.9267 GB, free: 14.04 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.563e-05/3.566e-05, allocations: 5.719 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3043/0.3043, allocations: 142.3 MB / 1.212 GB, free: 38.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.085/1.389, allocations: 149.7 MB / 1.359 GB, free: 18.92 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002244/1.39, allocations: 75.28 kB / 1.359 GB, free: 18.92 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01015/1.4, allocations: 3.492 MB / 1.362 GB, free: 34.43 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.723e-06/1.4, allocations: 0 / 1.362 GB, free: 34.43 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.354e-06/1.4, allocations: 4 kB / 1.362 GB, free: 34.42 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002991/1.4, allocations: 343 kB / 1.363 GB, free: 34.06 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.256e-05/1.4, allocations: 7.688 kB / 1.363 GB, free: 34.06 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.44e-05/1.4, allocations: 30.56 kB / 1.363 GB, free: 34.02 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.159e-05/1.4, allocations: 3.844 kB / 1.363 GB, free: 34.02 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.142e-05/1.401, allocations: 164.4 kB / 1.363 GB, free: 33.82 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.394e-05/1.401, allocations: 3.984 kB / 1.363 GB, free: 33.82 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.345e-06/1.401, allocations: 3.938 kB / 1.363 GB, free: 33.82 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.158e-05/1.401, allocations: 42.09 kB / 1.363 GB, free: 33.78 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/1.401, allocations: 0 / 1.363 GB, free: 33.78 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.518e-06/1.401, allocations: 0 / 1.363 GB, free: 33.78 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/1.401, allocations: 0 / 1.363 GB, free: 33.78 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.505e-05/1.401, allocations: 5.516 kB / 1.363 GB, free: 33.78 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001399/1.401, allocations: 159.4 kB / 1.363 GB, free: 33.58 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 4.777e-05/1.401, allocations: 21.52 kB / 1.363 GB, free: 33.56 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.926e-05/1.401, allocations: 8.703 kB / 1.363 GB, free: 33.55 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.35e-05/1.401, allocations: 5.688 kB / 1.363 GB, free: 33.55 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.993e-05/1.401, allocations: 38.34 kB / 1.363 GB, free: 33.5 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 8.32e-07/1.401, allocations: 0 / 1.363 GB, free: 33.5 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001253/1.401, allocations: 38.05 kB / 1.363 GB, free: 33.47 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.563e-05/1.401, allocations: 51.41 kB / 1.363 GB, free: 33.41 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.138e-05/1.401, allocations: 85 kB / 1.363 GB, free: 33.32 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.307e-05/1.401, allocations: 25.7 kB / 1.363 GB, free: 33.29 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.399e-05/1.401, allocations: 92.2 kB / 1.363 GB, free: 33.2 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.486e-05/1.401, allocations: 3.906 kB / 1.363 GB, free: 33.2 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.215e-06/1.401, allocations: 0 / 1.363 GB, free: 33.2 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.09e-05/1.401, allocations: 319.4 kB / 1.364 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.108e-05/1.401, allocations: 3.844 kB / 1.364 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.362e-06/1.401, allocations: 0 / 1.364 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.5e-05/1.402, allocations: 3.844 kB / 1.364 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/1.402, allocations: 0 / 1.364 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.684e-05/1.402, allocations: 50.19 kB / 1.364 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/1.402, allocations: 8.625 kB / 1.364 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/1.402, allocations: 0 / 1.364 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/1.402, allocations: 0 / 1.364 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001653/1.402, allocations: 10.88 kB / 1.364 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003384/1.402, allocations: 0.5812 MB / 1.364 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.786e-05/1.402, allocations: 0 / 1.364 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-06/1.402, allocations: 7.969 kB / 1.364 GB, free: 32.25 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 (2): * 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): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 6.108e-05/1.402, allocations: 109.5 kB / 1.364 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.342e-06/1.402, allocations: 0 / 1.364 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001179/1.402, allocations: 43.66 kB / 1.364 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/1.402, allocations: 3.844 kB / 1.364 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/1.402, allocations: 7.938 kB / 1.364 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/1.402, allocations: 3.953 kB / 1.364 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.254e-05/1.403, allocations: 144.8 kB / 1.365 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/1.403, allocations: 7.875 kB / 1.365 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.329e-05/1.403, allocations: 13.58 kB / 1.365 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/1.403, allocations: 0 / 1.365 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-06/1.403, allocations: 0 / 1.365 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002394/1.403, allocations: 0.5846 MB / 1.365 GB, free: 31.31 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/1.403, allocations: 1.594 kB / 1.365 GB, free: 31.31 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.582e-05/1.403, allocations: 68.44 kB / 1.365 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.453e-05/1.403, allocations: 78.94 kB / 1.365 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.077e-05/1.403, allocations: 0 / 1.365 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.477e-05/1.403, allocations: 11.73 kB / 1.365 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.351e-05/1.403, allocations: 3.312 kB / 1.365 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.206e-06/1.403, allocations: 1.453 kB / 1.365 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 2.809e-05/1.403, allocations: 79.16 kB / 1.365 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.403, allocations: 4.125 kB / 1.365 GB, free: 31.06 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002137/1.403, allocations: 15.66 kB / 1.365 GB, free: 31.05 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 (2): * 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): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003618/1.404, allocations: 0.6121 MB / 1.366 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001405/1.404, allocations: 15.06 kB / 1.366 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/1.404, allocations: 4.094 kB / 1.366 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 7.385e-05/1.404, allocations: 18.17 kB / 1.366 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001069/1.404, allocations: 6.078 kB / 1.366 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002787/1.404, allocations: 92.8 kB / 1.366 GB, free: 30.34 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002818/1.405, allocations: 0.6763 MB / 1.367 GB, free: 29.64 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.81e-05/1.405, allocations: 3.906 kB / 1.367 GB, free: 29.64 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.558e-05/1.405, allocations: 11 kB / 1.367 GB, free: 29.63 MB / 0.8386 GB Notification: Performance of SimCode: time 5.21e-07/1.405, allocations: 4.062 kB / 1.367 GB, free: 29.63 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.013/1.418, allocations: 1.129 MB / 1.368 GB, free: 29.48 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001724/1.418, allocations: 215.6 kB / 1.368 GB, free: 29.25 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.57/2.988, allocations: 0 / 1.368 GB, free: 29.25 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.fmu > Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_res.mat does not exist to compare? outputFormat=mat