Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.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_DerivativeCheck2,fileNamePrefix="Buildings_9_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,fileNamePrefix="Buildings_9_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2",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.265/2.265, allocations: 387.1 MB / 399.7 MB, free: 9.48 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.001095/0.001095, allocations: 176.8 kB / 492.3 MB, free: 0.6133 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.604/1.604, allocations: 221.3 MB / 0.7871 GB, free: 12.89 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.000997/0.000997, allocations: 87.95 kB / 0.9267 GB, free: 13.96 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.15e-05/4.153e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3472/0.3473, allocations: 142.3 MB / 1.212 GB, free: 38.42 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.185/1.532, allocations: 150.8 MB / 1.36 GB, free: 18.84 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003103/1.533, allocations: 78.27 kB / 1.36 GB, free: 18.84 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01434/1.547, allocations: 4.324 MB / 1.364 GB, free: 34.28 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.124e-06/1.547, allocations: 0 / 1.364 GB, free: 34.28 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.737e-06/1.547, allocations: 0 / 1.364 GB, free: 34.28 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004244/1.547, allocations: 380.5 kB / 1.364 GB, free: 33.9 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.525e-05/1.548, allocations: 11.16 kB / 1.364 GB, free: 33.9 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.083e-05/1.548, allocations: 45.12 kB / 1.364 GB, free: 33.86 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.01e-05/1.548, allocations: 3.781 kB / 1.364 GB, free: 33.86 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.655e-05/1.548, allocations: 170.9 kB / 1.365 GB, free: 33.65 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.63e-05/1.548, allocations: 3.625 kB / 1.365 GB, free: 33.65 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.567e-05/1.548, allocations: 14.59 kB / 1.365 GB, free: 33.65 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001581/1.548, allocations: 63.31 kB / 1.365 GB, free: 33.62 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/1.548, allocations: 0 / 1.365 GB, free: 33.62 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.34e-05/1.548, allocations: 3.688 kB / 1.365 GB, free: 33.62 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/1.548, allocations: 3.969 kB / 1.365 GB, free: 33.62 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.903e-05/1.548, allocations: 33.34 kB / 1.365 GB, free: 33.61 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005376/1.549, allocations: 332.7 kB / 1.365 GB, free: 33.34 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001119/1.549, allocations: 60.59 kB / 1.365 GB, free: 33.31 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.318e-05/1.549, allocations: 26.92 kB / 1.365 GB, free: 33.3 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.175e-05/1.549, allocations: 0 / 1.365 GB, free: 33.3 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.207e-05/1.549, allocations: 34.53 kB / 1.365 GB, free: 33.26 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 8.22e-07/1.549, allocations: 0 / 1.365 GB, free: 33.26 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11): time 0.0009458/1.55, allocations: 0.5657 MB / 1.366 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.961e-05/1.55, allocations: 59.19 kB / 1.366 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.214e-05/1.55, allocations: 92.41 kB / 1.366 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.507e-05/1.55, allocations: 25.7 kB / 1.366 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.481e-05/1.55, allocations: 90.38 kB / 1.366 GB, free: 32.53 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.776e-05/1.55, allocations: 32.83 kB / 1.366 GB, free: 32.51 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.511e-06/1.55, allocations: 3.562 kB / 1.366 GB, free: 32.51 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 8.329e-05/1.55, allocations: 320.9 kB / 1.366 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.308e-05/1.55, allocations: 17.97 kB / 1.366 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.448e-05/1.55, allocations: 27.09 kB / 1.366 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.415e-05/1.55, allocations: 26.08 kB / 1.366 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/1.55, allocations: 0 / 1.366 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001353/1.55, allocations: 102.3 kB / 1.366 GB, free: 32.15 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/1.55, allocations: 12.92 kB / 1.367 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/1.551, allocations: 0 / 1.367 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.104e-05/1.551, allocations: 0 / 1.367 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000155/1.551, allocations: 28.7 kB / 1.367 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/1.551, allocations: 0.5469 kB / 1.367 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.368e-05/1.551, allocations: 10.75 kB / 1.367 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.084e-05/1.551, allocations: 3.906 kB / 1.367 GB, free: 32.14 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 (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 8.398e-05/1.551, allocations: 115.1 kB / 1.367 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.363e-05/1.551, allocations: 7.844 kB / 1.367 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002268/1.551, allocations: 112.9 kB / 1.367 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/1.551, allocations: 192 / 1.367 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/1.551, allocations: 0 / 1.367 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/1.551, allocations: 7.828 kB / 1.367 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003262/1.552, allocations: 371.8 kB / 1.367 GB, free: 31.67 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/1.552, allocations: 3.953 kB / 1.367 GB, free: 31.67 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001597/1.552, allocations: 28.39 kB / 1.367 GB, free: 31.67 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/1.552, allocations: 3.969 kB / 1.367 GB, free: 31.67 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.198e-06/1.552, allocations: 0 / 1.367 GB, free: 31.67 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.519e-06/1.552, allocations: 4 kB / 1.367 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/1.552, allocations: 0 / 1.367 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002427/1.552, allocations: 231.5 kB / 1.367 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.081e-05/1.552, allocations: 87.73 kB / 1.367 GB, free: 31.42 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.529e-05/1.552, allocations: 3.875 kB / 1.367 GB, free: 31.42 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001148/1.552, allocations: 10.06 kB / 1.367 GB, free: 31.42 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.756e-05/1.552, allocations: 3.812 kB / 1.367 GB, free: 31.42 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.127e-06/1.552, allocations: 6.547 kB / 1.367 GB, free: 31.42 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.313e-05/1.552, allocations: 82.03 kB / 1.368 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.6e-07/1.552, allocations: 4.062 kB / 1.368 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002572/1.553, allocations: 45.19 kB / 1.368 GB, free: 31.33 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (dp_comp,der_dp_comp) * Number of discrete variables: 0 () * Number of discrete 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.0005676/1.553, allocations: 0.7939 MB / 1.368 GB, free: 30.65 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001318/1.553, allocations: 63.7 kB / 1.368 GB, free: 30.65 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/1.553, allocations: 3.812 kB / 1.368 GB, free: 30.65 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 4.553e-05/1.553, allocations: 40.98 kB / 1.369 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001792/1.553, allocations: 9.281 kB / 1.369 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005813/1.554, allocations: 307.5 kB / 1.369 GB, free: 30.4 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003168/1.554, allocations: 0.6927 MB / 1.369 GB, free: 29.71 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 6.083e-05/1.554, allocations: 11.41 kB / 1.369 GB, free: 29.71 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.331e-05/1.555, allocations: 25.05 kB / 1.37 GB, free: 29.7 MB / 0.8386 GB Notification: Performance of SimCode: time 3.6e-07/1.555, allocations: 4 kB / 1.37 GB, free: 29.7 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01455/1.569, allocations: 2.006 MB / 1.371 GB, free: 29.51 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001886/1.569, allocations: 189.6 kB / 1.372 GB, free: 29.29 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.8/3.369, allocations: 0 / 1.372 GB, free: 29.29 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 Buildings_9_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2.fmu > Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2_res.mat does not exist to compare? outputFormat=mat