Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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_m_flow_DerivativeCheck2,fileNamePrefix="Buildings_latest_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_latest_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 10.0.0-master/package.mo): time 2.374/2.374, 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.001167/0.001167, allocations: 184 kB / 0.4901 GB, free: 2.27 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.673/1.673, allocations: 223.1 MB / 0.7992 GB, free: 14.75 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.0009271/0.0009275, allocations: 101.5 kB / 0.9396 GB, free: 1.914 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003808/0.0003809, allocations: 7.156 kB / 1.09 GB, free: 216.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3662/0.3666, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2007/0.5673, allocations: 151.7 MB / 1.377 GB, free: 1.836 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003008/0.5676, allocations: 79.95 kB / 1.377 GB, free: 1.758 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01327/0.5809, allocations: 4.325 MB / 1.382 GB, free: 13.43 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.344e-06/0.581, allocations: 0 / 1.382 GB, free: 13.43 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 7.825e-06/0.581, allocations: 0 / 1.382 GB, free: 13.43 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005017/0.5815, allocations: 379.1 kB / 1.382 GB, free: 13.01 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.651e-05/0.5816, allocations: 8.562 kB / 1.382 GB, free: 13 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.825e-05/0.5816, allocations: 46.53 kB / 1.382 GB, free: 12.95 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.32e-05/0.5817, allocations: 7.953 kB / 1.382 GB, free: 12.94 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001272/0.5818, allocations: 166.9 kB / 1.382 GB, free: 12.73 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.01e-05/0.5818, allocations: 8 kB / 1.382 GB, free: 12.73 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.505e-05/0.5819, allocations: 11.94 kB / 1.382 GB, free: 12.71 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002409/0.5821, allocations: 85.53 kB / 1.382 GB, free: 12.63 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.5821, allocations: 0 / 1.382 GB, free: 12.63 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.511e-05/0.5822, allocations: 3.984 kB / 1.382 GB, free: 12.62 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.5822, allocations: 4 kB / 1.382 GB, free: 12.62 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002774/0.5825, allocations: 59.97 kB / 1.382 GB, free: 12.56 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005908/0.5831, allocations: 324.7 kB / 1.383 GB, free: 12.2 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002811/0.5834, allocations: 86.52 kB / 1.383 GB, free: 12.1 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.919e-05/0.5834, allocations: 3.984 kB / 1.383 GB, free: 12.1 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.344e-05/0.5834, allocations: 42.52 kB / 1.383 GB, free: 12.05 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=7): time 1.403e-06/0.5834, allocations: 4 kB / 1.383 GB, free: 12.04 MB / 0.8855 GB Notification: Performance of matching and sorting (n=11): time 0.001957/0.5854, allocations: 0.6657 MB / 1.384 GB, free: 11.29 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.142e-05/0.5855, allocations: 55.34 kB / 1.384 GB, free: 11.22 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.019e-05/0.5855, allocations: 93.09 kB / 1.384 GB, free: 11.12 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.299e-05/0.5856, allocations: 37.64 kB / 1.384 GB, free: 11.08 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 5.497e-05/0.5856, allocations: 88.03 kB / 1.384 GB, free: 10.99 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 4.143e-05/0.5857, allocations: 35.47 kB / 1.384 GB, free: 10.95 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.402e-06/0.5857, allocations: 0 / 1.384 GB, free: 10.95 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001197/0.5858, allocations: 322.8 kB / 1.384 GB, free: 10.63 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000161/0.586, allocations: 35.97 kB / 1.384 GB, free: 10.59 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001439/0.5862, allocations: 35.98 kB / 1.384 GB, free: 10.56 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001646/0.5863, allocations: 35.98 kB / 1.384 GB, free: 10.52 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.5863, allocations: 0 / 1.384 GB, free: 10.52 MB / 0.8855 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003902/0.5867, allocations: 125.7 kB / 1.384 GB, free: 10.39 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.052e-05/0.5868, allocations: 8 kB / 1.384 GB, free: 10.39 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.5868, allocations: 4 kB / 1.384 GB, free: 10.38 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.5868, allocations: 0 / 1.384 GB, free: 10.38 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001903/0.587, allocations: 35.92 kB / 1.384 GB, free: 10.35 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.684e-06/0.587, allocations: 0 / 1.384 GB, free: 10.35 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.972e-05/0.5871, allocations: 7.984 kB / 1.384 GB, free: 10.34 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.44e-05/0.5871, allocations: 8 kB / 1.384 GB, free: 10.33 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 0.0001174/0.5872, allocations: 125.7 kB / 1.385 GB, free: 10.2 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.577e-05/0.5873, allocations: 8.047 kB / 1.385 GB, free: 10.19 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004593/0.5878, allocations: 137.5 kB / 1.385 GB, free: 10.05 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.5878, allocations: 3.984 kB / 1.385 GB, free: 10.05 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.5878, allocations: 4 kB / 1.385 GB, free: 10.04 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.157e-06/0.5878, allocations: 0 / 1.385 GB, free: 10.04 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006685/0.5885, allocations: 394.4 kB / 1.385 GB, free: 9.602 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.5885, allocations: 0 / 1.385 GB, free: 9.602 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001876/0.5887, allocations: 31.92 kB / 1.385 GB, free: 9.57 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.5887, allocations: 0 / 1.385 GB, free: 9.57 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.287e-05/0.5887, allocations: 7.938 kB / 1.385 GB, free: 9.562 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.5887, allocations: 0 / 1.385 GB, free: 9.562 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.5887, allocations: 0 / 1.385 GB, free: 9.562 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005576/0.5893, allocations: 263.3 kB / 1.385 GB, free: 9.289 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 4.414e-05/0.5894, allocations: 84.97 kB / 1.385 GB, free: 9.188 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.658e-05/0.5894, allocations: 12.02 kB / 1.385 GB, free: 9.176 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001411/0.5895, allocations: 4 kB / 1.385 GB, free: 9.172 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.257e-05/0.5896, allocations: 7.984 kB / 1.385 GB, free: 9.164 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.138e-05/0.5896, allocations: 7.938 kB / 1.385 GB, free: 9.156 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 4.457e-05/0.5896, allocations: 87.34 kB / 1.386 GB, free: 9.07 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.8e-07/0.5897, allocations: 0 / 1.386 GB, free: 9.07 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003631/0.59, allocations: 47.92 kB / 1.386 GB, free: 9.023 MB / 0.8855 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 () * 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.001075/0.5911, allocations: 0.8306 MB / 1.386 GB, free: 8.164 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0003597/0.5915, allocations: 91.88 kB / 1.386 GB, free: 8.074 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.5915, allocations: 0 / 1.386 GB, free: 8.074 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.000133/0.5916, allocations: 51.98 kB / 1.387 GB, free: 8.023 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002588/0.5919, allocations: 13.61 kB / 1.387 GB, free: 8.012 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001443/0.5934, allocations: 0.7551 MB / 1.387 GB, free: 7.203 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003249/0.5937, allocations: 0.6926 MB / 1.388 GB, free: 6.484 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 6.897e-05/0.5938, allocations: 20.59 kB / 1.388 GB, free: 6.465 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.807e-05/0.5938, allocations: 19.44 kB / 1.388 GB, free: 6.445 MB / 0.8855 GB Notification: Performance of SimCode: time 1.002e-06/0.5938, allocations: 0 / 1.388 GB, free: 6.445 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01489/0.6087, allocations: 1.999 MB / 1.39 GB, free: 4.66 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002492/0.609, allocations: 237.9 kB / 1.39 GB, free: 4.414 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.686/2.295, allocations: 3.094 kB / 1.39 GB, free: 4.414 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2.fmu > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2_res.mat does not exist to compare? outputFormat=mat