Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.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_DerivativeCheck2,fileNamePrefix="Buildings_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 2.322/2.322, allocations: 387.1 MB / 399.7 MB, free: 9.43 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.001129/0.001129, allocations: 180.9 kB / 492.3 MB, free: 0.5898 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.57/1.57, allocations: 221.3 MB / 0.7871 GB, free: 12.94 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.000979/0.000979, allocations: 98.66 kB / 0.9267 GB, free: 14 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.819e-05/4.839e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3247/0.3247, allocations: 142.3 MB / 1.212 GB, free: 38.42 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.232/1.557, allocations: 150.1 MB / 1.359 GB, free: 19.07 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002819/1.557, allocations: 79.12 kB / 1.359 GB, free: 19.07 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01306/1.57, allocations: 4.569 MB / 1.364 GB, free: 34.5 MB / 0.8386 GB Notification: Performance of FrontEnd: time 3.446e-06/1.57, allocations: 0 / 1.364 GB, free: 34.5 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 9.869e-06/1.57, allocations: 0 / 1.364 GB, free: 34.5 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.0003861/1.571, allocations: 347.5 kB / 1.364 GB, free: 34.14 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 6.543e-05/1.571, allocations: 11.59 kB / 1.364 GB, free: 34.14 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.429e-05/1.571, allocations: 31.92 kB / 1.364 GB, free: 34.1 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.778e-05/1.571, allocations: 8.594 kB / 1.364 GB, free: 34.1 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001346/1.571, allocations: 180.3 kB / 1.364 GB, free: 33.89 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.368e-05/1.571, allocations: 0 / 1.364 GB, free: 33.89 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.388e-05/1.571, allocations: 3.812 kB / 1.364 GB, free: 33.89 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001443/1.571, allocations: 51.12 kB / 1.364 GB, free: 33.85 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.547e-05/1.571, allocations: 1.547 kB / 1.364 GB, free: 33.85 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/1.571, allocations: 0 / 1.364 GB, free: 33.85 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.225e-06/1.571, allocations: 3.812 kB / 1.364 GB, free: 33.85 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.192e-05/1.571, allocations: 19.25 kB / 1.364 GB, free: 33.85 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001843/1.571, allocations: 172.2 kB / 1.364 GB, free: 33.66 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001064/1.572, allocations: 58.8 kB / 1.364 GB, free: 33.63 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.241e-05/1.572, allocations: 29.17 kB / 1.365 GB, free: 33.62 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.375e-05/1.572, allocations: 1.406 kB / 1.365 GB, free: 33.62 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.435e-05/1.572, allocations: 30.56 kB / 1.365 GB, free: 33.58 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 9.12e-07/1.572, allocations: 0 / 1.365 GB, free: 33.58 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11): time 0.0009344/1.573, allocations: 0.5522 MB / 1.365 GB, free: 33.13 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.742e-05/1.573, allocations: 60.36 kB / 1.365 GB, free: 33.07 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.843e-05/1.573, allocations: 85 kB / 1.365 GB, free: 32.98 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.358e-05/1.573, allocations: 29.58 kB / 1.365 GB, free: 32.95 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 2.221e-05/1.573, allocations: 83.7 kB / 1.365 GB, free: 32.87 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4e-05/1.573, allocations: 42.52 kB / 1.365 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.21e-06/1.573, allocations: 10.81 kB / 1.365 GB, free: 32.83 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 6.283e-05/1.573, allocations: 318.9 kB / 1.366 GB, free: 32.51 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.443e-05/1.573, allocations: 22.72 kB / 1.366 GB, free: 32.51 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.997e-05/1.573, allocations: 15.91 kB / 1.366 GB, free: 32.51 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.702e-05/1.573, allocations: 32.75 kB / 1.366 GB, free: 32.51 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/1.573, allocations: 0 / 1.366 GB, free: 32.51 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000119/1.573, allocations: 94.42 kB / 1.366 GB, free: 32.47 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/1.573, allocations: 3.812 kB / 1.366 GB, free: 32.47 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.533e-06/1.573, allocations: 0 / 1.366 GB, free: 32.47 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.922e-05/1.573, allocations: 7.969 kB / 1.366 GB, free: 32.47 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001351/1.573, allocations: 18.16 kB / 1.366 GB, free: 32.47 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.113e-05/1.573, allocations: 3.719 kB / 1.366 GB, free: 32.47 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.43e-05/1.573, allocations: 3.062 kB / 1.366 GB, free: 32.47 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.221e-05/1.573, allocations: 3.969 kB / 1.366 GB, free: 32.47 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 7.654e-05/1.574, allocations: 112.8 kB / 1.366 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.845e-05/1.574, allocations: 8.828 kB / 1.366 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002409/1.574, allocations: 99.8 kB / 1.366 GB, free: 32.31 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/1.574, allocations: 4 kB / 1.366 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/1.574, allocations: 0 / 1.366 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.183e-06/1.574, allocations: 7.828 kB / 1.366 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004026/1.574, allocations: 361.7 kB / 1.366 GB, free: 31.99 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/1.574, allocations: 1.172 kB / 1.366 GB, free: 31.99 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.853e-05/1.574, allocations: 19.75 kB / 1.366 GB, free: 31.99 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/1.574, allocations: 3.844 kB / 1.366 GB, free: 31.99 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.098e-05/1.574, allocations: 3.25 kB / 1.366 GB, free: 31.99 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/1.574, allocations: 0 / 1.366 GB, free: 31.99 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/1.574, allocations: 0 / 1.366 GB, free: 31.99 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002175/1.575, allocations: 217.9 kB / 1.367 GB, free: 31.85 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.503e-05/1.575, allocations: 80.25 kB / 1.367 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.647e-05/1.575, allocations: 6.812 kB / 1.367 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.308e-05/1.575, allocations: 0 / 1.367 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.224e-05/1.575, allocations: 14.28 kB / 1.367 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.414e-06/1.575, allocations: 7.812 kB / 1.367 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 2.623e-05/1.575, allocations: 79.34 kB / 1.367 GB, free: 31.67 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.21e-07/1.575, allocations: 0 / 1.367 GB, free: 31.67 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002961/1.575, allocations: 49.03 kB / 1.367 GB, free: 31.65 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.000514/1.576, allocations: 0.7824 MB / 1.368 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001263/1.576, allocations: 67.67 kB / 1.368 GB, free: 30.97 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/1.576, allocations: 4.156 kB / 1.368 GB, free: 30.97 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.866e-05/1.576, allocations: 30.53 kB / 1.368 GB, free: 30.97 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001516/1.576, allocations: 1.156 kB / 1.368 GB, free: 30.97 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006034/1.577, allocations: 280.4 kB / 1.368 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002871/1.577, allocations: 0.6927 MB / 1.369 GB, free: 30.05 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 4.885e-05/1.577, allocations: 3.906 kB / 1.369 GB, free: 30.05 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.602e-05/1.577, allocations: 30.02 kB / 1.369 GB, free: 30.04 MB / 0.8386 GB Notification: Performance of SimCode: time 2.3e-07/1.577, allocations: 0 / 1.369 GB, free: 30.04 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01291/1.59, allocations: 1.755 MB / 1.37 GB, free: 29.88 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001989/1.59, allocations: 196 kB / 1.371 GB, free: 29.66 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.727/3.317, allocations: 0 / 1.371 GB, free: 29.66 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 Buildings_9_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2.fmu > Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2_res.mat does not exist to compare? outputFormat=mat