Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.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.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,fileNamePrefix="Buildings_latest_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_latest_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 10.0.0-master/package.mo): time 2.431/2.431, allocations: 393.5 MB / 408.4 MB, free: 11.04 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.00117/0.00117, allocations: 183.3 kB / 0.4901 GB, free: 2.238 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.623/1.623, allocations: 223.1 MB / 0.7992 GB, free: 14.74 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.001137/0.001136, allocations: 102.1 kB / 0.9396 GB, free: 1.93 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003968/0.0003968, allocations: 8.359 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4035/0.4039, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2221/0.6261, allocations: 150.9 MB / 1.377 GB, free: 2.645 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003321/0.6265, allocations: 83.94 kB / 1.377 GB, free: 2.562 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01289/0.6394, allocations: 4.048 MB / 1.381 GB, free: 14.51 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.805e-06/0.6395, allocations: 0 / 1.381 GB, free: 14.51 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.172e-05/0.6395, allocations: 4 kB / 1.381 GB, free: 14.5 MB / 0.8855 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.0005147/0.6401, allocations: 355.3 kB / 1.381 GB, free: 14.11 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 6.216e-05/0.6401, allocations: 8.562 kB / 1.381 GB, free: 14.1 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.259e-05/0.6402, allocations: 30.56 kB / 1.381 GB, free: 14.06 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.784e-05/0.6402, allocations: 15.8 kB / 1.381 GB, free: 14.05 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001904/0.6404, allocations: 167 kB / 1.381 GB, free: 13.84 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.768e-05/0.6405, allocations: 3.984 kB / 1.381 GB, free: 13.84 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.126e-05/0.6405, allocations: 8 kB / 1.381 GB, free: 13.83 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001408/0.6406, allocations: 33.69 kB / 1.381 GB, free: 13.79 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.6407, allocations: 0 / 1.381 GB, free: 13.79 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.594e-05/0.6407, allocations: 4 kB / 1.381 GB, free: 13.79 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.6407, allocations: 8 kB / 1.381 GB, free: 13.78 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.986e-05/0.6408, allocations: 7.953 kB / 1.381 GB, free: 13.77 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002426/0.641, allocations: 153.7 kB / 1.381 GB, free: 13.57 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002245/0.6412, allocations: 50.55 kB / 1.381 GB, free: 13.52 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.677e-05/0.6413, allocations: 96 / 1.381 GB, free: 13.52 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.2e-05/0.6413, allocations: 38.55 kB / 1.381 GB, free: 13.47 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.6413, allocations: 4 kB / 1.381 GB, free: 13.46 MB / 0.8855 GB Notification: Performance of matching and sorting (n=6): time 0.0007777/0.6421, allocations: 298.3 kB / 1.382 GB, free: 13.12 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.739e-05/0.6422, allocations: 55.41 kB / 1.382 GB, free: 13.05 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.832e-05/0.6423, allocations: 89 kB / 1.382 GB, free: 12.96 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.349e-05/0.6423, allocations: 33.69 kB / 1.382 GB, free: 12.92 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 4.023e-05/0.6424, allocations: 80.14 kB / 1.382 GB, free: 12.84 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 3.329e-05/0.6424, allocations: 15.66 kB / 1.382 GB, free: 12.82 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.973e-06/0.6424, allocations: 8 kB / 1.382 GB, free: 12.82 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001396/0.6426, allocations: 322.7 kB / 1.382 GB, free: 12.49 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.969e-05/0.6426, allocations: 11.98 kB / 1.382 GB, free: 12.48 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.436e-05/0.6426, allocations: 15.98 kB / 1.382 GB, free: 12.46 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.308e-05/0.6427, allocations: 12.16 kB / 1.382 GB, free: 12.45 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.6427, allocations: 3.938 kB / 1.382 GB, free: 12.45 MB / 0.8855 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001129/0.6428, allocations: 65.67 kB / 1.382 GB, free: 12.38 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/0.6428, allocations: 4 kB / 1.382 GB, free: 12.38 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.6428, allocations: 0 / 1.382 GB, free: 12.38 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.6428, allocations: 0 / 1.382 GB, free: 12.38 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.329e-05/0.6429, allocations: 19.98 kB / 1.382 GB, free: 12.36 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.6429, allocations: 3.938 kB / 1.382 GB, free: 12.35 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.399e-05/0.643, allocations: 4 kB / 1.382 GB, free: 12.35 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-06/0.643, allocations: 3.938 kB / 1.382 GB, free: 12.34 MB / 0.8855 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.0001055/0.6431, allocations: 114.8 kB / 1.383 GB, free: 12.22 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.439e-05/0.6431, allocations: 3.906 kB / 1.383 GB, free: 12.22 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000163/0.6433, allocations: 73.64 kB / 1.383 GB, free: 12.14 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.6433, allocations: 4.516 kB / 1.383 GB, free: 12.14 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.6433, allocations: 4 kB / 1.383 GB, free: 12.13 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.6433, allocations: 0 / 1.383 GB, free: 12.13 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003903/0.6437, allocations: 311.4 kB / 1.383 GB, free: 11.77 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.6437, allocations: 0 / 1.383 GB, free: 11.77 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.695e-05/0.6438, allocations: 12 kB / 1.383 GB, free: 11.76 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.861e-06/0.6438, allocations: 3.984 kB / 1.383 GB, free: 11.75 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.997e-06/0.6438, allocations: 192 / 1.383 GB, free: 11.75 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.59e-06/0.6438, allocations: 4 kB / 1.383 GB, free: 11.75 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/0.6438, allocations: 11.92 kB / 1.383 GB, free: 11.74 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002425/0.6441, allocations: 186.1 kB / 1.383 GB, free: 11.53 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 6.877e-05/0.6442, allocations: 93.03 kB / 1.383 GB, free: 11.42 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.535e-05/0.6442, allocations: 0 / 1.383 GB, free: 11.42 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.499e-05/0.6443, allocations: 0 / 1.383 GB, free: 11.42 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.299e-05/0.6443, allocations: 7.953 kB / 1.383 GB, free: 11.41 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.684e-06/0.6443, allocations: 4.047 kB / 1.383 GB, free: 11.41 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 5.287e-05/0.6444, allocations: 87.28 kB / 1.383 GB, free: 11.32 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6444, allocations: 0 / 1.383 GB, free: 11.32 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002787/0.6447, allocations: 23.94 kB / 1.383 GB, free: 11.3 MB / 0.8855 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.0008306/0.6455, allocations: 0.8197 MB / 1.384 GB, free: 10.45 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0001355/0.6456, allocations: 35.92 kB / 1.384 GB, free: 10.41 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.6457, allocations: 0 / 1.384 GB, free: 10.41 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 3.564e-05/0.6457, allocations: 19.98 kB / 1.384 GB, free: 10.39 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002029/0.6459, allocations: 11.83 kB / 1.384 GB, free: 10.38 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009985/0.6469, allocations: 495.6 kB / 1.385 GB, free: 9.844 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003525/0.6473, allocations: 0.6888 MB / 1.385 GB, free: 9.129 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 4.581e-05/0.6473, allocations: 7.891 kB / 1.385 GB, free: 9.121 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.329e-05/0.6474, allocations: 15.44 kB / 1.385 GB, free: 9.109 MB / 0.8855 GB Notification: Performance of SimCode: time 1.242e-06/0.6474, allocations: 0 / 1.385 GB, free: 9.109 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01628/0.6637, allocations: 1.352 MB / 1.387 GB, free: 7.961 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002461/0.664, allocations: 227.2 kB / 1.387 GB, free: 7.719 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.783/2.447, allocations: 0 / 1.387 GB, free: 7.719 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck.fmu > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck_res.mat does not exist to compare? outputFormat=mat