Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.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.BasicFlowFunction_dp_DerivativeCheck,fileNamePrefix="Buildings_9_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,fileNamePrefix="Buildings_9_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck",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.394/2.394, allocations: 390.3 MB / 405.3 MB, free: 13.47 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.00152/0.00152, allocations: 177.1 kB / 498.1 MB, free: 5.727 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.575/1.575, allocations: 223.2 MB / 0.7948 GB, free: 17.86 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.001084/0.001084, allocations: 98.73 kB / 0.9346 GB, free: 6.141 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003825/0.0003825, allocations: 8.219 kB / 1.084 GB, free: 221.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2981/0.2985, allocations: 142.3 MB / 1.223 GB, free: 114.1 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1938/0.4924, allocations: 150.1 MB / 1.369 GB, free: 11.83 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002835/0.4927, allocations: 83.94 kB / 1.37 GB, free: 11.75 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01246/0.5052, allocations: 4.053 MB / 1.374 GB, free: 7.691 MB / 0.8698 GB Notification: Performance of FrontEnd: time 6.332e-06/0.5053, allocations: 0 / 1.374 GB, free: 7.691 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 9.067e-06/0.5053, allocations: 3.938 kB / 1.374 GB, free: 7.688 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004948/0.5058, allocations: 359.2 kB / 1.374 GB, free: 7.289 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.868e-05/0.5059, allocations: 8.031 kB / 1.374 GB, free: 7.281 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.21e-05/0.506, allocations: 34.56 kB / 1.374 GB, free: 7.238 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.576e-05/0.506, allocations: 3.953 kB / 1.374 GB, free: 7.234 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001727/0.5062, allocations: 163.1 kB / 1.374 GB, free: 7.035 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.436e-05/0.5062, allocations: 0 / 1.374 GB, free: 7.035 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.245e-05/0.5062, allocations: 4 kB / 1.374 GB, free: 7.031 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001327/0.5064, allocations: 37.69 kB / 1.374 GB, free: 6.988 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.5064, allocations: 0 / 1.374 GB, free: 6.988 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.124e-05/0.5064, allocations: 0 / 1.374 GB, free: 6.988 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.5064, allocations: 4 kB / 1.374 GB, free: 6.984 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.774e-05/0.5065, allocations: 23.88 kB / 1.374 GB, free: 6.961 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000217/0.5067, allocations: 153.7 kB / 1.374 GB, free: 6.762 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002003/0.5069, allocations: 46.56 kB / 1.374 GB, free: 6.707 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.943e-05/0.5069, allocations: 0 / 1.374 GB, free: 6.707 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.287e-05/0.507, allocations: 30.56 kB / 1.374 GB, free: 6.668 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=4): time 1.292e-06/0.507, allocations: 4 kB / 1.374 GB, free: 6.664 MB / 0.8698 GB Notification: Performance of matching and sorting (n=6): time 0.0007108/0.5077, allocations: 302.3 kB / 1.375 GB, free: 6.316 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.879e-05/0.5078, allocations: 55.41 kB / 1.375 GB, free: 6.25 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.78e-05/0.5078, allocations: 93.3 kB / 1.375 GB, free: 6.152 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.965e-05/0.5079, allocations: 29.7 kB / 1.375 GB, free: 6.117 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 4.045e-05/0.5079, allocations: 80.14 kB / 1.375 GB, free: 6.035 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.468e-05/0.508, allocations: 19.66 kB / 1.375 GB, free: 6.016 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.316e-06/0.508, allocations: 7.938 kB / 1.375 GB, free: 6.008 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.000145/0.5081, allocations: 326.8 kB / 1.375 GB, free: 5.68 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.486e-05/0.5081, allocations: 8 kB / 1.375 GB, free: 5.672 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.584e-05/0.5082, allocations: 15.97 kB / 1.375 GB, free: 5.656 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.532e-05/0.5082, allocations: 19.98 kB / 1.375 GB, free: 5.637 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.21e-07/0.5082, allocations: 0 / 1.375 GB, free: 5.637 MB / 0.8698 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001039/0.5083, allocations: 57.61 kB / 1.375 GB, free: 5.574 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.5084, allocations: 11.94 kB / 1.375 GB, free: 5.562 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.5084, allocations: 0 / 1.375 GB, free: 5.562 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.858e-05/0.5084, allocations: 3.984 kB / 1.375 GB, free: 5.559 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.209e-05/0.5085, allocations: 12.06 kB / 1.375 GB, free: 5.547 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.253e-05/0.5085, allocations: 8 kB / 1.375 GB, free: 5.539 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.005e-05/0.5085, allocations: 3.938 kB / 1.375 GB, free: 5.535 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.564e-06/0.5085, allocations: 4 kB / 1.375 GB, free: 5.531 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 (7): * Single equations (assignments): 7 * 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 0.0001023/0.5086, allocations: 113.8 kB / 1.375 GB, free: 5.41 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.218e-05/0.5086, allocations: 0 / 1.375 GB, free: 5.41 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001536/0.5088, allocations: 73.58 kB / 1.376 GB, free: 5.328 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.648e-06/0.5088, allocations: 4 kB / 1.376 GB, free: 5.324 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.5088, allocations: 4 kB / 1.376 GB, free: 5.32 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.5088, allocations: 0 / 1.376 GB, free: 5.32 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000371/0.5092, allocations: 311.4 kB / 1.376 GB, free: 4.957 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.5092, allocations: 0 / 1.376 GB, free: 4.957 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.439e-05/0.5093, allocations: 15.92 kB / 1.376 GB, free: 4.941 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/0.5093, allocations: 4 kB / 1.376 GB, free: 4.938 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.325e-06/0.5093, allocations: 0 / 1.376 GB, free: 4.938 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-06/0.5093, allocations: 0 / 1.376 GB, free: 4.938 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.5093, allocations: 0 / 1.376 GB, free: 4.938 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002252/0.5096, allocations: 198 kB / 1.376 GB, free: 4.719 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.853e-05/0.5096, allocations: 77.11 kB / 1.376 GB, free: 4.625 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.987e-05/0.5097, allocations: 8.031 kB / 1.376 GB, free: 4.617 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.432e-05/0.5097, allocations: 0 / 1.376 GB, free: 4.617 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.633e-05/0.5098, allocations: 15.88 kB / 1.376 GB, free: 4.602 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.581e-06/0.5098, allocations: 64 / 1.376 GB, free: 4.602 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 4.284e-05/0.5098, allocations: 83.28 kB / 1.376 GB, free: 4.52 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5098, allocations: 0 / 1.376 GB, free: 4.52 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0003042/0.5101, allocations: 35.88 kB / 1.376 GB, free: 4.484 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (m_flow_comp) * 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 (6): * Single equations (assignments): 6 * 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.0006946/0.5108, allocations: 0.8306 MB / 1.377 GB, free: 3.617 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001114/0.511, allocations: 31.94 kB / 1.377 GB, free: 3.586 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.511, allocations: 0 / 1.377 GB, free: 3.586 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 2.79e-05/0.511, allocations: 15.92 kB / 1.377 GB, free: 3.57 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001443/0.5112, allocations: 11.95 kB / 1.377 GB, free: 3.559 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008544/0.512, allocations: 495.5 kB / 1.378 GB, free: 3.027 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003017/0.5123, allocations: 0.6907 MB / 1.378 GB, free: 2.312 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 3.36e-05/0.5124, allocations: 4 kB / 1.378 GB, free: 2.309 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.724e-05/0.5124, allocations: 11.44 kB / 1.378 GB, free: 2.297 MB / 0.8698 GB Notification: Performance of SimCode: time 2.144e-06/0.5124, allocations: 0 / 1.378 GB, free: 2.297 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01396/0.5264, allocations: 1.351 MB / 1.38 GB, free: 1.156 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002157/0.5267, allocations: 222.2 kB / 1.38 GB, free: 0.9141 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.531/2.058, allocations: 0 / 1.38 GB, free: 0.9141 MB / 0.8698 GB (rm -f Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 Buildings_9_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck.fmu > Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck_res.mat does not exist to compare? outputFormat=mat