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.375/2.375, allocations: 390.3 MB / 402.8 MB, free: 6.695 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.001855/0.001855, allocations: 188.9 kB / 496.1 MB, free: 12.87 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.462/1.462, allocations: 221.3 MB / 0.7915 GB, free: 5.465 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.0009609/0.0009609, allocations: 91.55 kB / 0.9318 GB, free: 5.777 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.635e-05/3.648e-05, allocations: 7.047 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2798/0.2799, allocations: 143 MB / 1.219 GB, free: 13.43 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8767/1.157, allocations: 151 MB / 1.366 GB, free: 3.098 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000256/1.157, allocations: 72.83 kB / 1.366 GB, free: 3.055 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01356/1.17, allocations: 4.567 MB / 1.371 GB, free: 15.21 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.613e-06/1.171, allocations: 4 kB / 1.371 GB, free: 15.21 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.234e-06/1.171, allocations: 3.938 kB / 1.371 GB, free: 15.2 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003435/1.171, allocations: 345.9 kB / 1.371 GB, free: 14.82 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.803e-05/1.171, allocations: 8.031 kB / 1.371 GB, free: 14.82 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.903e-05/1.171, allocations: 38.55 kB / 1.371 GB, free: 14.77 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.188e-05/1.171, allocations: 8.719 kB / 1.371 GB, free: 14.76 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001294/1.171, allocations: 166.9 kB / 1.371 GB, free: 14.56 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.288e-05/1.171, allocations: 7.812 kB / 1.371 GB, free: 14.55 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.93e-05/1.171, allocations: 8 kB / 1.371 GB, free: 14.55 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001265/1.171, allocations: 52.38 kB / 1.371 GB, free: 14.5 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/1.171, allocations: 0 / 1.371 GB, free: 14.5 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.069e-05/1.171, allocations: 0 / 1.371 GB, free: 14.5 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/1.171, allocations: 0 / 1.371 GB, free: 14.5 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.127e-05/1.171, allocations: 19.17 kB / 1.371 GB, free: 14.48 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001753/1.172, allocations: 168.9 kB / 1.372 GB, free: 14.27 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001048/1.172, allocations: 60.06 kB / 1.372 GB, free: 14.22 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.188e-05/1.172, allocations: 31.73 kB / 1.372 GB, free: 14.19 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.353e-05/1.172, allocations: 4 kB / 1.372 GB, free: 14.19 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.283e-05/1.172, allocations: 30.56 kB / 1.372 GB, free: 14.15 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 9.82e-07/1.172, allocations: 0 / 1.372 GB, free: 14.15 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11): time 0.0009447/1.173, allocations: 0.5532 MB / 1.372 GB, free: 13.55 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.5e-05/1.173, allocations: 62.92 kB / 1.372 GB, free: 13.48 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.94e-05/1.173, allocations: 89 kB / 1.372 GB, free: 13.38 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.609e-05/1.173, allocations: 25.7 kB / 1.372 GB, free: 13.35 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.588e-05/1.173, allocations: 83.64 kB / 1.373 GB, free: 13.27 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.858e-05/1.173, allocations: 38.95 kB / 1.373 GB, free: 13.23 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.919e-06/1.173, allocations: 2.688 kB / 1.373 GB, free: 13.23 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001105/1.173, allocations: 322.1 kB / 1.373 GB, free: 12.91 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.817e-05/1.173, allocations: 19.75 kB / 1.373 GB, free: 12.9 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.823e-05/1.173, allocations: 23.38 kB / 1.373 GB, free: 12.88 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.58e-05/1.173, allocations: 24.36 kB / 1.373 GB, free: 12.87 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/1.173, allocations: 0 / 1.373 GB, free: 12.87 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000143/1.173, allocations: 100.2 kB / 1.373 GB, free: 12.78 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/1.174, allocations: 4 kB / 1.373 GB, free: 12.77 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/1.174, allocations: 0 / 1.373 GB, free: 12.77 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/1.174, allocations: 0 / 1.373 GB, free: 12.77 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001112/1.174, allocations: 27.55 kB / 1.373 GB, free: 12.75 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/1.174, allocations: 3.938 kB / 1.373 GB, free: 12.75 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.604e-05/1.174, allocations: 3.953 kB / 1.373 GB, free: 12.74 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.137e-06/1.174, allocations: 8 kB / 1.373 GB, free: 12.73 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 6.535e-05/1.174, allocations: 108.4 kB / 1.373 GB, free: 12.62 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.428e-05/1.174, allocations: 7.906 kB / 1.373 GB, free: 12.62 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002046/1.174, allocations: 102.4 kB / 1.373 GB, free: 12.53 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/1.174, allocations: 0 / 1.373 GB, free: 12.53 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/1.174, allocations: 0 / 1.373 GB, free: 12.53 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/1.174, allocations: 0 / 1.373 GB, free: 12.53 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004132/1.174, allocations: 362.1 kB / 1.374 GB, free: 12.14 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/1.174, allocations: 0 / 1.374 GB, free: 12.14 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001044/1.175, allocations: 20 kB / 1.374 GB, free: 12.12 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.941e-06/1.175, allocations: 4.078 kB / 1.374 GB, free: 12.12 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.036e-05/1.175, allocations: 7.922 kB / 1.374 GB, free: 12.11 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/1.175, allocations: 0 / 1.374 GB, free: 12.11 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/1.175, allocations: 3.953 kB / 1.374 GB, free: 12.11 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00024/1.175, allocations: 217.1 kB / 1.374 GB, free: 11.91 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.731e-05/1.175, allocations: 85.2 kB / 1.374 GB, free: 11.8 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.632e-05/1.175, allocations: 7.5 kB / 1.374 GB, free: 11.8 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.897e-05/1.175, allocations: 4 kB / 1.374 GB, free: 11.8 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.084e-05/1.175, allocations: 7.984 kB / 1.374 GB, free: 11.79 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.706e-06/1.175, allocations: 6.891 kB / 1.374 GB, free: 11.79 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.152e-05/1.175, allocations: 79.28 kB / 1.374 GB, free: 11.71 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.51e-07/1.175, allocations: 0 / 1.374 GB, free: 11.71 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002576/1.175, allocations: 43.06 kB / 1.374 GB, free: 11.67 MB / 0.8386 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 () * 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.0005814/1.176, allocations: 0.7952 MB / 1.375 GB, free: 10.88 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001245/1.176, allocations: 50.94 kB / 1.375 GB, free: 10.84 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/1.176, allocations: 0 / 1.375 GB, free: 10.84 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 4.807e-05/1.176, allocations: 38.61 kB / 1.375 GB, free: 10.81 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001305/1.176, allocations: 7.312 kB / 1.375 GB, free: 10.8 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000587/1.177, allocations: 281 kB / 1.375 GB, free: 10.5 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002717/1.177, allocations: 0.6887 MB / 1.376 GB, free: 9.789 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 5.016e-05/1.177, allocations: 15.92 kB / 1.376 GB, free: 9.773 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.783e-05/1.177, allocations: 22.75 kB / 1.376 GB, free: 9.762 MB / 0.8386 GB Notification: Performance of SimCode: time 2.7e-07/1.177, allocations: 0 / 1.376 GB, free: 9.762 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01203/1.189, allocations: 1.768 MB / 1.378 GB, free: 8.199 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001944/1.19, allocations: 195.2 kB / 1.378 GB, free: 7.977 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.554/2.744, allocations: 4.062 kB / 1.378 GB, free: 7.973 MB / 0.8386 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