Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_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_dp_DerivativeCheck,fileNamePrefix="Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,fileNamePrefix="Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_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.248/2.248, allocations: 390.3 MB / 402.8 MB, free: 6.656 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.001192/0.001192, allocations: 180.9 kB / 496.1 MB, free: 12.86 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.441/1.441, allocations: 221.3 MB / 0.7915 GB, free: 5.418 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.0009315/0.0009316, allocations: 83.95 kB / 0.9317 GB, free: 5.73 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.939e-05/4.942e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2616/0.2617, allocations: 143 MB / 1.219 GB, free: 13.43 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8939/1.156, allocations: 150.8 MB / 1.366 GB, free: 3.199 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002331/1.156, allocations: 83.25 kB / 1.366 GB, free: 3.148 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01201/1.168, allocations: 4.064 MB / 1.37 GB, free: 15.72 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.745e-06/1.168, allocations: 0 / 1.37 GB, free: 15.72 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.084e-06/1.168, allocations: 0 / 1.37 GB, free: 15.72 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.000389/1.168, allocations: 337.8 kB / 1.37 GB, free: 15.35 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/1.168, allocations: 8.031 kB / 1.37 GB, free: 15.34 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.893e-05/1.169, allocations: 34.56 kB / 1.371 GB, free: 15.3 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.781e-05/1.169, allocations: 7.938 kB / 1.371 GB, free: 15.29 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001294/1.169, allocations: 167.8 kB / 1.371 GB, free: 15.09 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.186e-05/1.169, allocations: 8 kB / 1.371 GB, free: 15.08 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.764e-05/1.169, allocations: 3.75 kB / 1.371 GB, free: 15.08 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001005/1.169, allocations: 33.7 kB / 1.371 GB, free: 15.04 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/1.169, allocations: 7.922 kB / 1.371 GB, free: 15.04 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/1.169, allocations: 3.25 kB / 1.371 GB, free: 15.04 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.349e-06/1.169, allocations: 0 / 1.371 GB, free: 15.04 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.163e-05/1.169, allocations: 11.95 kB / 1.371 GB, free: 15.02 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001739/1.169, allocations: 168.4 kB / 1.371 GB, free: 14.82 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001758/1.169, allocations: 46.12 kB / 1.371 GB, free: 14.77 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.613e-05/1.169, allocations: 19.17 kB / 1.371 GB, free: 14.75 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.2e-05/1.169, allocations: 0 / 1.371 GB, free: 14.75 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.205e-05/1.169, allocations: 34.5 kB / 1.371 GB, free: 14.71 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/1.169, allocations: 0 / 1.371 GB, free: 14.71 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6): time 0.0006327/1.17, allocations: 291.3 kB / 1.371 GB, free: 14.39 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.41e-05/1.17, allocations: 59.39 kB / 1.371 GB, free: 14.32 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.866e-05/1.17, allocations: 92.95 kB / 1.371 GB, free: 14.22 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.488e-05/1.17, allocations: 29.58 kB / 1.371 GB, free: 14.19 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.563e-05/1.17, allocations: 80.14 kB / 1.372 GB, free: 14.11 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.031e-05/1.17, allocations: 23.28 kB / 1.372 GB, free: 14.09 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.096e-06/1.17, allocations: 0 / 1.372 GB, free: 14.09 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001242/1.17, allocations: 314.8 kB / 1.372 GB, free: 13.77 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.499e-05/1.17, allocations: 11.31 kB / 1.372 GB, free: 13.77 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.043e-05/1.171, allocations: 15.94 kB / 1.372 GB, free: 13.75 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.934e-05/1.171, allocations: 11.98 kB / 1.372 GB, free: 13.75 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/1.171, allocations: 0 / 1.372 GB, free: 13.75 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001092/1.171, allocations: 72.36 kB / 1.372 GB, free: 13.68 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/1.171, allocations: 5.25 kB / 1.372 GB, free: 13.67 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/1.171, allocations: 0 / 1.372 GB, free: 13.67 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.128e-05/1.171, allocations: 0 / 1.372 GB, free: 13.67 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.411e-05/1.171, allocations: 11.98 kB / 1.372 GB, free: 13.66 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/1.171, allocations: 4.297 kB / 1.372 GB, free: 13.66 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.074e-05/1.171, allocations: 4 kB / 1.372 GB, free: 13.65 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.618e-06/1.171, allocations: 11.27 kB / 1.372 GB, free: 13.64 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.656e-05/1.171, allocations: 105 kB / 1.372 GB, free: 13.54 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.212e-05/1.171, allocations: 3.984 kB / 1.372 GB, free: 13.53 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001581/1.171, allocations: 80.28 kB / 1.372 GB, free: 13.45 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/1.171, allocations: 4 kB / 1.372 GB, free: 13.45 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/1.171, allocations: 0 / 1.372 GB, free: 13.45 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/1.171, allocations: 0 / 1.372 GB, free: 13.45 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003325/1.171, allocations: 317.1 kB / 1.372 GB, free: 13.1 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/1.171, allocations: 3.938 kB / 1.373 GB, free: 13.09 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.552e-05/1.172, allocations: 12 kB / 1.373 GB, free: 13.08 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/1.172, allocations: 0 / 1.373 GB, free: 13.08 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.297e-06/1.172, allocations: 3.984 kB / 1.373 GB, free: 13.08 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.848e-06/1.172, allocations: 4 kB / 1.373 GB, free: 13.07 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/1.172, allocations: 0 / 1.373 GB, free: 13.07 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001967/1.172, allocations: 186.4 kB / 1.373 GB, free: 12.88 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.79e-05/1.172, allocations: 85.12 kB / 1.373 GB, free: 12.78 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.552e-05/1.172, allocations: 0 / 1.373 GB, free: 12.78 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.951e-05/1.172, allocations: 10.94 kB / 1.373 GB, free: 12.77 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.994e-05/1.172, allocations: 3.953 kB / 1.373 GB, free: 12.77 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.585e-06/1.172, allocations: 4 kB / 1.373 GB, free: 12.77 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.916e-05/1.172, allocations: 79.28 kB / 1.373 GB, free: 12.69 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.11e-07/1.172, allocations: 0 / 1.373 GB, free: 12.69 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002641/1.172, allocations: 31.3 kB / 1.373 GB, free: 12.66 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (m_flow_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.0006159/1.173, allocations: 0.8301 MB / 1.374 GB, free: 11.82 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001014/1.173, allocations: 26.19 kB / 1.374 GB, free: 11.8 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/1.173, allocations: 4.062 kB / 1.374 GB, free: 11.79 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.092e-05/1.173, allocations: 19.25 kB / 1.374 GB, free: 11.78 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001385/1.173, allocations: 11.89 kB / 1.374 GB, free: 11.77 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004957/1.174, allocations: 178.7 kB / 1.374 GB, free: 11.56 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002532/1.174, allocations: 0.6887 MB / 1.375 GB, free: 10.85 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.247e-05/1.174, allocations: 4 kB / 1.375 GB, free: 10.84 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.155e-05/1.174, allocations: 11.44 kB / 1.375 GB, free: 10.84 MB / 0.8386 GB Notification: Performance of SimCode: time 2.8e-07/1.174, allocations: 0 / 1.375 GB, free: 10.84 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01519/1.189, allocations: 1.357 MB / 1.376 GB, free: 9.688 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003113/1.19, allocations: 207.6 kB / 1.376 GB, free: 9.453 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.548/2.737, allocations: 4 kB / 1.376 GB, free: 9.449 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck.fmu > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck_res.mat does not exist to compare? outputFormat=mat