Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.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_DerivativeCheck2,fileNamePrefix="Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,fileNamePrefix="Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2",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.429/2.429, allocations: 393.5 MB / 408.4 MB, free: 11 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.001178/0.001178, allocations: 190.9 kB / 0.4901 GB, free: 2.23 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.573/1.573, allocations: 223.1 MB / 0.7992 GB, free: 14.77 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.001078/0.001078, allocations: 109 kB / 0.9396 GB, free: 1.934 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0005094/0.0005095, allocations: 10.38 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3815/0.382, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2297/0.6118, allocations: 151 MB / 1.377 GB, free: 2.496 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002959/0.6121, allocations: 79.95 kB / 1.377 GB, free: 2.418 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01394/0.6261, allocations: 4.57 MB / 1.381 GB, free: 13.84 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.785e-06/0.6262, allocations: 0 / 1.381 GB, free: 13.84 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 9.689e-06/0.6262, allocations: 4 kB / 1.381 GB, free: 13.84 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004566/0.6267, allocations: 355.3 kB / 1.382 GB, free: 13.44 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.435e-05/0.6267, allocations: 8.562 kB / 1.382 GB, free: 13.43 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.497e-05/0.6268, allocations: 34.56 kB / 1.382 GB, free: 13.39 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.659e-05/0.6268, allocations: 11.86 kB / 1.382 GB, free: 13.38 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001511/0.627, allocations: 163 kB / 1.382 GB, free: 13.18 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.553e-05/0.627, allocations: 4 kB / 1.382 GB, free: 13.18 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.57e-05/0.6271, allocations: 8 kB / 1.382 GB, free: 13.17 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001417/0.6272, allocations: 53.61 kB / 1.382 GB, free: 13.11 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.6272, allocations: 0 / 1.382 GB, free: 13.11 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.512e-05/0.6273, allocations: 4 kB / 1.382 GB, free: 13.11 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.6273, allocations: 0 / 1.382 GB, free: 13.11 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.649e-05/0.6273, allocations: 15.98 kB / 1.382 GB, free: 13.09 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002157/0.6276, allocations: 173.6 kB / 1.382 GB, free: 12.87 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001072/0.6277, allocations: 54.56 kB / 1.382 GB, free: 12.81 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.654e-05/0.6277, allocations: 3.984 kB / 1.382 GB, free: 12.8 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.88e-05/0.6277, allocations: 42.5 kB / 1.382 GB, free: 12.75 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=7): time 1.242e-06/0.6278, allocations: 0 / 1.382 GB, free: 12.75 MB / 0.8855 GB Notification: Performance of matching and sorting (n=11): time 0.001285/0.629, allocations: 0.5839 MB / 1.383 GB, free: 12.08 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.185e-05/0.6291, allocations: 59.41 kB / 1.383 GB, free: 12.01 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.798e-05/0.6292, allocations: 92.95 kB / 1.383 GB, free: 11.91 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.393e-05/0.6292, allocations: 29.7 kB / 1.383 GB, free: 11.88 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 4.391e-05/0.6293, allocations: 80.14 kB / 1.383 GB, free: 11.79 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 6.267e-05/0.6294, allocations: 39.45 kB / 1.383 GB, free: 11.75 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.719e-06/0.6294, allocations: 0 / 1.383 GB, free: 11.75 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001623/0.6295, allocations: 314.8 kB / 1.383 GB, free: 11.44 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.605e-05/0.6296, allocations: 19.98 kB / 1.383 GB, free: 11.42 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.045e-05/0.6296, allocations: 32.11 kB / 1.383 GB, free: 11.39 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.486e-05/0.6297, allocations: 27.88 kB / 1.383 GB, free: 11.36 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.6297, allocations: 0 / 1.383 GB, free: 11.36 MB / 0.8855 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001652/0.6299, allocations: 93.62 kB / 1.383 GB, free: 11.27 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.6299, allocations: 4 kB / 1.383 GB, free: 11.26 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.6299, allocations: 3.984 kB / 1.383 GB, free: 11.26 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/0.6299, allocations: 4 kB / 1.384 GB, free: 11.25 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001112/0.63, allocations: 19.98 kB / 1.384 GB, free: 11.23 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.6301, allocations: 0 / 1.384 GB, free: 11.23 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.772e-05/0.6301, allocations: 4 kB / 1.384 GB, free: 11.23 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.409e-05/0.6301, allocations: 15.95 kB / 1.384 GB, free: 11.21 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 (13): * Single equations (assignments): 13 * 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 9.51e-05/0.6302, allocations: 113.8 kB / 1.384 GB, free: 11.09 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.8e-05/0.6302, allocations: 7.906 kB / 1.384 GB, free: 11.09 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002276/0.6305, allocations: 109.5 kB / 1.384 GB, free: 10.97 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.6305, allocations: 0 / 1.384 GB, free: 10.97 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.6305, allocations: 0 / 1.384 GB, free: 10.97 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.6305, allocations: 0 / 1.384 GB, free: 10.97 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004848/0.631, allocations: 366.4 kB / 1.384 GB, free: 10.56 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.631, allocations: 0 / 1.384 GB, free: 10.56 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001163/0.6312, allocations: 19.98 kB / 1.384 GB, free: 10.54 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.6312, allocations: 0 / 1.384 GB, free: 10.54 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.14e-05/0.6312, allocations: 4 kB / 1.384 GB, free: 10.54 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.6312, allocations: 0 / 1.384 GB, free: 10.54 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.6312, allocations: 0 / 1.384 GB, free: 10.54 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002813/0.6315, allocations: 223.6 kB / 1.384 GB, free: 10.3 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 4.754e-05/0.6315, allocations: 81.14 kB / 1.384 GB, free: 10.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.694e-05/0.6316, allocations: 4.062 kB / 1.384 GB, free: 10.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.768e-05/0.6317, allocations: 8 kB / 1.384 GB, free: 10.19 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.059e-05/0.6317, allocations: 7.922 kB / 1.384 GB, free: 10.18 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.665e-06/0.6317, allocations: 4 kB / 1.384 GB, free: 10.18 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 5.136e-05/0.6318, allocations: 83.23 kB / 1.385 GB, free: 10.1 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6318, allocations: 0 / 1.385 GB, free: 10.1 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002927/0.6321, allocations: 39.94 kB / 1.385 GB, free: 10.06 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (m_flow_comp,der_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 (11): * Single equations (assignments): 11 * 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.0007559/0.6328, allocations: 0.799 MB / 1.385 GB, free: 9.23 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0001454/0.633, allocations: 55.98 kB / 1.385 GB, free: 9.176 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.633, allocations: 0 / 1.385 GB, free: 9.176 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 6.053e-05/0.6331, allocations: 35.92 kB / 1.385 GB, free: 9.141 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001485/0.6332, allocations: 8 kB / 1.385 GB, free: 9.133 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001123/0.6344, allocations: 0.6574 MB / 1.386 GB, free: 8.422 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003138/0.6347, allocations: 0.6887 MB / 1.387 GB, free: 7.707 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 5.245e-05/0.6347, allocations: 12 kB / 1.387 GB, free: 7.695 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.551e-05/0.6348, allocations: 23.42 kB / 1.387 GB, free: 7.676 MB / 0.8855 GB Notification: Performance of SimCode: time 5.21e-07/0.6348, allocations: 0 / 1.387 GB, free: 7.676 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01412/0.6489, allocations: 1.766 MB / 1.389 GB, free: 6.121 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002091/0.6492, allocations: 225.5 kB / 1.389 GB, free: 5.879 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.771/2.42, allocations: 2.031 kB / 1.389 GB, free: 5.879 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2.fmu > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2_res.mat does not exist to compare? outputFormat=mat