Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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_m_flow_DerivativeCheck,fileNamePrefix="Buildings_9_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,fileNamePrefix="Buildings_9_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_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.319/2.319, allocations: 387.4 MB / 394.9 MB, free: 13.41 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.001312/0.001312, allocations: 184.6 kB / 487.4 MB, free: 5.066 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.634/1.634, allocations: 221.5 MB / 0.7824 GB, free: 1.012 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.0009872/0.000987, allocations: 91.83 kB / 0.9219 GB, free: 2.254 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.161e-05/2.155e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3041/0.3042, allocations: 142.4 MB / 1.206 GB, free: 43.87 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.013/1.318, allocations: 149.2 MB / 1.352 GB, free: 18.08 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002625/1.318, allocations: 79.39 kB / 1.352 GB, free: 18.08 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.009008/1.327, allocations: 2.856 MB / 1.355 GB, free: 33.63 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.443e-06/1.327, allocations: 0 / 1.355 GB, free: 33.63 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.243e-06/1.327, allocations: 3.969 kB / 1.355 GB, free: 33.63 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003229/1.327, allocations: 347.2 kB / 1.355 GB, free: 33.27 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.524e-05/1.327, allocations: 7.844 kB / 1.355 GB, free: 33.27 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.802e-05/1.327, allocations: 1.625 kB / 1.355 GB, free: 33.27 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001084/1.327, allocations: 176.1 kB / 1.355 GB, free: 33.06 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.377e-05/1.327, allocations: 0 / 1.355 GB, free: 33.06 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.382e-05/1.328, allocations: 4.656 kB / 1.355 GB, free: 33.06 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.908e-05/1.328, allocations: 12.38 kB / 1.355 GB, free: 33.05 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.208e-05/1.328, allocations: 37.72 kB / 1.355 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/1.328, allocations: 0 / 1.355 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.297e-06/1.328, allocations: 3.812 kB / 1.355 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/1.328, allocations: 0 / 1.355 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001358/1.328, allocations: 141.7 kB / 1.355 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001629/1.328, allocations: 44.17 kB / 1.355 GB, free: 32.83 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.728e-05/1.328, allocations: 13.2 kB / 1.355 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.307e-05/1.328, allocations: 0.5625 kB / 1.355 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.374e-05/1.328, allocations: 38.73 kB / 1.355 GB, free: 32.78 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/1.328, allocations: 0 / 1.355 GB, free: 32.78 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6): time 0.0004692/1.329, allocations: 275.2 kB / 1.356 GB, free: 32.53 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.426e-05/1.329, allocations: 55.34 kB / 1.356 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.832e-05/1.329, allocations: 97.73 kB / 1.356 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.339e-05/1.329, allocations: 25.7 kB / 1.356 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.117e-05/1.329, allocations: 80.75 kB / 1.356 GB, free: 32.26 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.57e-05/1.329, allocations: 17.38 kB / 1.356 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.436e-06/1.329, allocations: 0 / 1.356 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001283/1.329, allocations: 318.6 kB / 1.356 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.915e-05/1.329, allocations: 12.34 kB / 1.356 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.696e-05/1.329, allocations: 10.91 kB / 1.356 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.544e-05/1.329, allocations: 12.16 kB / 1.356 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.72e-07/1.329, allocations: 0 / 1.356 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.375e-05/1.329, allocations: 64.02 kB / 1.356 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.301e-05/1.329, allocations: 3.812 kB / 1.356 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/1.329, allocations: 0.6094 kB / 1.356 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/1.329, allocations: 0 / 1.356 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.413e-05/1.329, allocations: 16.89 kB / 1.356 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-06/1.329, allocations: 4.5 kB / 1.356 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.708e-05/1.329, allocations: 0 / 1.356 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.671e-06/1.329, allocations: 0.6562 kB / 1.356 GB, free: 31.89 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 (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 6.363e-05/1.329, allocations: 113.8 kB / 1.357 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 7.272e-05/1.329, allocations: 56.53 kB / 1.357 GB, free: 31.74 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.925e-06/1.329, allocations: 3.906 kB / 1.357 GB, free: 31.74 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000125/1.33, allocations: 68 kB / 1.357 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/1.33, allocations: 4.453 kB / 1.357 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/1.33, allocations: 0 / 1.357 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/1.33, allocations: 8.578 kB / 1.357 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002702/1.33, allocations: 280.9 kB / 1.357 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/1.33, allocations: 8.5 kB / 1.357 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.994e-05/1.33, allocations: 13.3 kB / 1.357 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.476e-06/1.33, allocations: 0.7031 kB / 1.357 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.626e-06/1.33, allocations: 7.844 kB / 1.357 GB, free: 31.4 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/1.33, allocations: 0 / 1.357 GB, free: 31.4 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.731e-06/1.33, allocations: 0.6094 kB / 1.357 GB, free: 31.4 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001604/1.33, allocations: 187.6 kB / 1.357 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.224e-05/1.33, allocations: 82.91 kB / 1.357 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.446e-05/1.33, allocations: 0.5625 kB / 1.357 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.348e-05/1.33, allocations: 0.75 kB / 1.357 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.58e-05/1.33, allocations: 12.97 kB / 1.357 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.28e-06/1.33, allocations: 3.969 kB / 1.357 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.623e-05/1.33, allocations: 76.69 kB / 1.357 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.6e-07/1.33, allocations: 3.938 kB / 1.357 GB, free: 31.06 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002533/1.331, allocations: 24.09 kB / 1.357 GB, free: 31.05 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (dp_comp) * Number of discrete variables: 0 () * Number of discrete 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.0005241/1.331, allocations: 0.809 MB / 1.358 GB, free: 30.3 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 8.255e-05/1.331, allocations: 31.59 kB / 1.358 GB, free: 30.3 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/1.331, allocations: 0 / 1.358 GB, free: 30.3 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.042e-05/1.331, allocations: 20.12 kB / 1.358 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001604/1.331, allocations: 5.141 kB / 1.358 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004173/1.332, allocations: 190.4 kB / 1.358 GB, free: 30.11 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002605/1.332, allocations: 0.6852 MB / 1.359 GB, free: 29.41 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.268e-05/1.332, allocations: 9.141 kB / 1.359 GB, free: 29.41 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.957e-05/1.332, allocations: 8.75 kB / 1.359 GB, free: 29.4 MB / 0.8386 GB Notification: Performance of SimCode: time 2.3e-07/1.332, allocations: 3.875 kB / 1.359 GB, free: 29.4 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02006/1.352, allocations: 1.041 MB / 1.36 GB, free: 29.33 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001807/1.353, allocations: 189.2 kB / 1.36 GB, free: 29.14 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.626/2.979, allocations: 0 / 1.36 GB, free: 29.14 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 Buildings_9_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck.fmu > Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck_res.mat does not exist to compare? outputFormat=mat