Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.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_dp_DerivativeCheck,fileNamePrefix="Buildings_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 2.514/2.514, allocations: 387.1 MB / 399.7 MB, free: 9.496 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.001084/0.001084, allocations: 184.1 kB / 492.3 MB, free: 0.6094 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.661/1.661, allocations: 221.3 MB / 0.7871 GB, free: 12.93 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.0008992/0.0008992, allocations: 99.81 kB / 0.9267 GB, free: 14 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.995e-05/4.012e-05, allocations: 0 / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3319/0.332, allocations: 142.4 MB / 1.212 GB, free: 38.4 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.203/1.535, allocations: 150 MB / 1.359 GB, free: 18.98 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002838/1.536, allocations: 79.5 kB / 1.359 GB, free: 18.98 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01168/1.547, allocations: 4.054 MB / 1.363 GB, free: 34.45 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.395e-06/1.547, allocations: 0 / 1.363 GB, free: 34.45 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.015e-05/1.547, allocations: 0 / 1.363 GB, free: 34.45 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.0003375/1.548, allocations: 339.8 kB / 1.363 GB, free: 34.09 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 6.291e-05/1.548, allocations: 13 kB / 1.363 GB, free: 34.09 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.019e-05/1.548, allocations: 30.56 kB / 1.363 GB, free: 34.05 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.113e-05/1.548, allocations: 16.66 kB / 1.363 GB, free: 34.04 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001748/1.548, allocations: 168.1 kB / 1.364 GB, free: 33.84 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.822e-05/1.548, allocations: 0 / 1.364 GB, free: 33.84 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.731e-05/1.548, allocations: 7.062 kB / 1.364 GB, free: 33.84 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001602/1.548, allocations: 44.12 kB / 1.364 GB, free: 33.8 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/1.548, allocations: 0 / 1.364 GB, free: 33.8 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.553e-05/1.548, allocations: 3.875 kB / 1.364 GB, free: 33.8 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.273e-06/1.548, allocations: 0 / 1.364 GB, free: 33.8 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.944e-05/1.549, allocations: 5.516 kB / 1.364 GB, free: 33.8 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002479/1.549, allocations: 172.3 kB / 1.364 GB, free: 33.6 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002275/1.549, allocations: 40.73 kB / 1.364 GB, free: 33.57 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.098e-05/1.549, allocations: 16.52 kB / 1.364 GB, free: 33.57 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.915e-05/1.549, allocations: 3.938 kB / 1.364 GB, free: 33.56 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.925e-05/1.549, allocations: 35.45 kB / 1.364 GB, free: 33.52 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 3.046e-06/1.549, allocations: 0 / 1.364 GB, free: 33.52 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6): time 0.0008572/1.55, allocations: 302.3 kB / 1.364 GB, free: 33.27 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.3e-05/1.55, allocations: 51.41 kB / 1.364 GB, free: 33.2 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.971e-05/1.55, allocations: 90.25 kB / 1.364 GB, free: 33.11 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.165e-05/1.55, allocations: 29.67 kB / 1.364 GB, free: 33.08 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.911e-05/1.55, allocations: 83.7 kB / 1.364 GB, free: 33 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.565e-05/1.55, allocations: 16.88 kB / 1.364 GB, free: 32.98 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.242e-06/1.55, allocations: 3.5 kB / 1.364 GB, free: 32.98 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001634/1.551, allocations: 324.8 kB / 1.365 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.276e-05/1.551, allocations: 11.19 kB / 1.365 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.136e-05/1.551, allocations: 11.62 kB / 1.365 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.592e-05/1.551, allocations: 9.906 kB / 1.365 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/1.551, allocations: 0 / 1.365 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001322/1.551, allocations: 67.2 kB / 1.365 GB, free: 32.63 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.654e-05/1.551, allocations: 3.844 kB / 1.365 GB, free: 32.63 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/1.551, allocations: 0 / 1.365 GB, free: 32.63 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.121e-05/1.551, allocations: 0 / 1.365 GB, free: 32.63 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.925e-05/1.551, allocations: 12.98 kB / 1.365 GB, free: 32.63 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.04e-05/1.551, allocations: 240 / 1.365 GB, free: 32.63 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.44e-05/1.551, allocations: 5.5 kB / 1.365 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.097e-06/1.551, allocations: 3.984 kB / 1.365 GB, free: 32.62 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 0.0001118/1.551, allocations: 112.3 kB / 1.365 GB, free: 32.51 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.865e-05/1.551, allocations: 7.922 kB / 1.365 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001974/1.551, allocations: 78.52 kB / 1.365 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/1.551, allocations: 0 / 1.365 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/1.551, allocations: 0 / 1.365 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/1.551, allocations: 0 / 1.365 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003921/1.552, allocations: 325.6 kB / 1.365 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/1.552, allocations: 4.062 kB / 1.365 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.575e-05/1.552, allocations: 13.2 kB / 1.365 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/1.552, allocations: 0 / 1.365 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.699e-06/1.552, allocations: 0 / 1.365 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/1.552, allocations: 0 / 1.365 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/1.552, allocations: 3.969 kB / 1.365 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002269/1.552, allocations: 193.9 kB / 1.366 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.646e-05/1.552, allocations: 83.36 kB / 1.366 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.969e-05/1.552, allocations: 7.844 kB / 1.366 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.422e-05/1.552, allocations: 4.375 kB / 1.366 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.092e-05/1.552, allocations: 5.125 kB / 1.366 GB, free: 31.87 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.37e-06/1.552, allocations: 3.844 kB / 1.366 GB, free: 31.87 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.079e-05/1.552, allocations: 80.39 kB / 1.366 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2e-07/1.552, allocations: 4.062 kB / 1.366 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.00028/1.553, allocations: 27.95 kB / 1.366 GB, free: 31.79 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.0006727/1.553, allocations: 0.8138 MB / 1.367 GB, free: 31.03 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001225/1.554, allocations: 31.8 kB / 1.367 GB, free: 31.03 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/1.554, allocations: 3.875 kB / 1.367 GB, free: 31.03 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.894e-05/1.554, allocations: 18.69 kB / 1.367 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001771/1.554, allocations: 5.312 kB / 1.367 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006111/1.554, allocations: 189.8 kB / 1.367 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004969/1.555, allocations: 0.6923 MB / 1.367 GB, free: 30.14 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 4.043e-05/1.555, allocations: 4.375 kB / 1.367 GB, free: 30.14 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.218e-05/1.555, allocations: 12.83 kB / 1.367 GB, free: 30.14 MB / 0.8386 GB Notification: Performance of SimCode: time 5.51e-07/1.555, allocations: 3.969 kB / 1.367 GB, free: 30.14 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01499/1.57, allocations: 1.35 MB / 1.369 GB, free: 30 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001927/1.57, allocations: 194.9 kB / 1.369 GB, free: 29.77 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.571/3.141, allocations: 3.969 kB / 1.369 GB, free: 29.77 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 Buildings_9_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck.fmu > Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck_res.mat does not exist to compare? outputFormat=mat