Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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_m_flow_DerivativeCheck,fileNamePrefix="Buildings_latest_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_latest_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 10.0.0-master/package.mo): time 2.356/2.356, allocations: 390.3 MB / 402.8 MB, free: 6.703 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.001402/0.001401, allocations: 176.9 kB / 496.1 MB, free: 12.88 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.532/1.532, allocations: 221.3 MB / 0.7915 GB, free: 5.371 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.000993/0.0009931, allocations: 87.97 kB / 0.9318 GB, free: 5.684 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.448e-05/3.46e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2725/0.2726, allocations: 143 MB / 1.219 GB, free: 13.38 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8863/1.159, allocations: 150.7 MB / 1.366 GB, free: 3.312 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002321/1.159, allocations: 82.06 kB / 1.366 GB, free: 3.266 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.008947/1.168, allocations: 2.875 MB / 1.369 GB, free: 0.8203 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.242e-06/1.168, allocations: 0 / 1.369 GB, free: 0.8203 MB / 0.823 GB Notification: Performance of Transformations before backend: time 7.444e-06/1.168, allocations: 0 / 1.369 GB, free: 0.8203 MB / 0.823 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.0003656/1.169, allocations: 349.9 kB / 1.369 GB, free: 448 kB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.686e-05/1.169, allocations: 12.03 kB / 1.369 GB, free: 436 kB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.948e-05/1.169, allocations: 30.56 kB / 1.369 GB, free: 396 kB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.878e-05/1.169, allocations: 3.953 kB / 1.369 GB, free: 392 kB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000133/1.169, allocations: 167.9 kB / 1.369 GB, free: 184 kB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.016e-05/1.169, allocations: 3.188 kB / 1.369 GB, free: 184 kB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.227e-05/1.169, allocations: 0 / 1.369 GB, free: 184 kB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001118/1.169, allocations: 40.81 kB / 1.369 GB, free: 140 kB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.723e-06/1.169, allocations: 0 / 1.369 GB, free: 140 kB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.967e-06/1.169, allocations: 0 / 1.369 GB, free: 140 kB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/1.169, allocations: 0 / 1.369 GB, free: 140 kB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.763e-05/1.169, allocations: 19.52 kB / 1.37 GB, free: 124 kB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002298/1.169, allocations: 156.9 kB / 1.37 GB, free: 15.92 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001888/1.17, allocations: 49.55 kB / 1.37 GB, free: 15.87 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.921e-05/1.17, allocations: 24.09 kB / 1.37 GB, free: 15.85 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.145e-05/1.17, allocations: 3.984 kB / 1.37 GB, free: 15.84 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.473e-05/1.17, allocations: 34.64 kB / 1.37 GB, free: 15.8 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 1.312e-06/1.17, allocations: 0 / 1.37 GB, free: 15.8 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6): time 0.0006257/1.17, allocations: 306.7 kB / 1.37 GB, free: 15.47 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.948e-05/1.17, allocations: 51.41 kB / 1.37 GB, free: 15.41 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.047e-05/1.17, allocations: 96.52 kB / 1.37 GB, free: 15.31 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/1.171, allocations: 25.7 kB / 1.37 GB, free: 15.28 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.353e-05/1.171, allocations: 84.12 kB / 1.37 GB, free: 15.19 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.579e-05/1.171, allocations: 19.09 kB / 1.37 GB, free: 15.18 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.246e-06/1.171, allocations: 0 / 1.37 GB, free: 15.18 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001171/1.171, allocations: 314.7 kB / 1.371 GB, free: 14.86 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.718e-05/1.171, allocations: 19.31 kB / 1.371 GB, free: 14.85 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.069e-05/1.171, allocations: 11.69 kB / 1.371 GB, free: 14.84 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.07e-05/1.171, allocations: 11.98 kB / 1.371 GB, free: 14.83 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/1.171, allocations: 0 / 1.371 GB, free: 14.83 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001047/1.171, allocations: 69.36 kB / 1.371 GB, free: 14.77 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/1.171, allocations: 4 kB / 1.371 GB, free: 14.76 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/1.171, allocations: 0 / 1.371 GB, free: 14.76 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/1.171, allocations: 0 / 1.371 GB, free: 14.76 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.456e-05/1.171, allocations: 15.94 kB / 1.371 GB, free: 14.75 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/1.171, allocations: 0 / 1.371 GB, free: 14.75 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.19e-05/1.171, allocations: 4 kB / 1.371 GB, free: 14.74 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.045e-06/1.171, allocations: 3.953 kB / 1.371 GB, free: 14.74 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 7.711e-05/1.171, allocations: 117.7 kB / 1.371 GB, free: 14.62 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.082e-05/1.171, allocations: 0 / 1.371 GB, free: 14.62 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001517/1.171, allocations: 76.31 kB / 1.371 GB, free: 14.55 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/1.171, allocations: 0 / 1.371 GB, free: 14.55 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/1.171, allocations: 0 / 1.371 GB, free: 14.55 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/1.171, allocations: 0 / 1.371 GB, free: 14.55 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003349/1.172, allocations: 318 kB / 1.371 GB, free: 14.19 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/1.172, allocations: 4 kB / 1.371 GB, free: 14.19 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.176e-05/1.172, allocations: 15.25 kB / 1.371 GB, free: 14.18 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/1.172, allocations: 0 / 1.371 GB, free: 14.18 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.002e-05/1.172, allocations: 4 kB / 1.371 GB, free: 14.17 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.023e-06/1.172, allocations: 0 / 1.371 GB, free: 14.17 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/1.172, allocations: 240 / 1.371 GB, free: 14.17 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001982/1.172, allocations: 192.9 kB / 1.371 GB, free: 13.97 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.688e-05/1.172, allocations: 77.11 kB / 1.372 GB, free: 13.88 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.505e-05/1.172, allocations: 4.031 kB / 1.372 GB, free: 13.88 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.367e-05/1.172, allocations: 3.875 kB / 1.372 GB, free: 13.88 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.791e-05/1.172, allocations: 15.88 kB / 1.372 GB, free: 13.86 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.54e-06/1.172, allocations: 0 / 1.372 GB, free: 13.86 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.207e-05/1.172, allocations: 79.66 kB / 1.372 GB, free: 13.78 MB / 0.8386 GB Notification: Performance of sort global known variables: time 3.71e-07/1.172, allocations: 0 / 1.372 GB, free: 13.78 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002595/1.173, allocations: 27.44 kB / 1.372 GB, free: 13.76 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.0006146/1.173, allocations: 0.8209 MB / 1.372 GB, free: 12.92 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001071/1.173, allocations: 35.19 kB / 1.372 GB, free: 12.89 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/1.173, allocations: 4.062 kB / 1.372 GB, free: 12.89 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.914e-05/1.173, allocations: 19.12 kB / 1.372 GB, free: 12.88 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001423/1.174, allocations: 6.141 kB / 1.373 GB, free: 12.87 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005066/1.174, allocations: 189.4 kB / 1.373 GB, free: 12.66 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002898/1.174, allocations: 0.6862 MB / 1.373 GB, free: 11.95 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.8e-05/1.174, allocations: 11.94 kB / 1.373 GB, free: 11.93 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.724e-05/1.174, allocations: 18.86 kB / 1.373 GB, free: 11.92 MB / 0.8386 GB Notification: Performance of SimCode: time 5.91e-07/1.174, allocations: 0 / 1.373 GB, free: 11.92 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01302/1.187, allocations: 1.365 MB / 1.375 GB, free: 10.77 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002124/1.188, allocations: 206.5 kB / 1.375 GB, free: 10.54 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.469/2.657, allocations: 0 / 1.375 GB, free: 10.54 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck.fmu > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck_res.mat does not exist to compare? outputFormat=mat