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.273/2.273, allocations: 390.5 MB / 398 MB, free: 10.88 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.001317/0.001317, allocations: 184.8 kB / 491.2 MB, free: 1.52 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.606/1.606, allocations: 221.5 MB / 0.7868 GB, free: 13.21 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.001045/0.001045, allocations: 89.58 kB / 0.9269 GB, free: 13.71 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.902e-05/1.903e-05, allocations: 4 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3253/0.3253, allocations: 143 MB / 1.212 GB, free: 39.38 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.933/1.258, allocations: 150.1 MB / 1.359 GB, free: 17.55 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002631/1.259, allocations: 76.92 kB / 1.359 GB, free: 17.55 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0114/1.27, allocations: 4.035 MB / 1.363 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.884e-06/1.27, allocations: 0 / 1.363 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.436e-06/1.27, allocations: 0 / 1.363 GB, free: 33.02 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.00033/1.271, allocations: 346.5 kB / 1.363 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.808e-05/1.271, allocations: 17.08 kB / 1.363 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.994e-05/1.271, allocations: 5.547 kB / 1.363 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.475e-05/1.271, allocations: 159.1 kB / 1.364 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.478e-05/1.271, allocations: 3.438 kB / 1.364 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.557e-05/1.271, allocations: 5.125 kB / 1.364 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.869e-05/1.271, allocations: 10.88 kB / 1.364 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.239e-05/1.271, allocations: 33.28 kB / 1.364 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/1.271, allocations: 0 / 1.364 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.658e-06/1.271, allocations: 0 / 1.364 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.94e-06/1.271, allocations: 7.625 kB / 1.364 GB, free: 32.42 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000148/1.271, allocations: 152.4 kB / 1.364 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001652/1.271, allocations: 39.77 kB / 1.364 GB, free: 32.22 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.915e-05/1.271, allocations: 16.48 kB / 1.364 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.235e-05/1.271, allocations: 1.688 kB / 1.364 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.999e-05/1.271, allocations: 34.56 kB / 1.364 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 1.743e-06/1.271, allocations: 0 / 1.364 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6): time 0.0004956/1.272, allocations: 275.1 kB / 1.364 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.999e-05/1.272, allocations: 53.38 kB / 1.364 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.388e-05/1.272, allocations: 92.59 kB / 1.364 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.044e-05/1.272, allocations: 25.7 kB / 1.364 GB, free: 31.74 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.323e-05/1.272, allocations: 80.14 kB / 1.364 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.983e-05/1.272, allocations: 26.05 kB / 1.364 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.446e-06/1.272, allocations: 4.656 kB / 1.364 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001019/1.272, allocations: 316.9 kB / 1.365 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.991e-05/1.272, allocations: 10.41 kB / 1.365 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.567e-05/1.272, allocations: 7.281 kB / 1.365 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.532e-05/1.272, allocations: 12.92 kB / 1.365 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/1.272, allocations: 0 / 1.365 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.307e-05/1.272, allocations: 66.08 kB / 1.365 GB, free: 31.28 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/1.272, allocations: 7.688 kB / 1.365 GB, free: 31.28 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.409e-06/1.272, allocations: 0 / 1.365 GB, free: 31.28 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/1.272, allocations: 4 kB / 1.365 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.988e-05/1.273, allocations: 12.88 kB / 1.365 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/1.273, allocations: 1.688 kB / 1.365 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.756e-05/1.273, allocations: 0 / 1.365 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.622e-06/1.273, allocations: 3.875 kB / 1.365 GB, free: 31.27 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.69e-05/1.273, allocations: 104.9 kB / 1.365 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.152e-05/1.273, allocations: 59.91 kB / 1.365 GB, free: 31.13 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.917e-06/1.273, allocations: 3.906 kB / 1.365 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000123/1.273, allocations: 66.89 kB / 1.365 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/1.273, allocations: 4 kB / 1.365 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/1.273, allocations: 3.938 kB / 1.365 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/1.273, allocations: 2.25 kB / 1.365 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000265/1.273, allocations: 283.8 kB / 1.365 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/1.273, allocations: 3.781 kB / 1.365 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.988e-05/1.273, allocations: 9.219 kB / 1.365 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.726e-06/1.273, allocations: 0 / 1.365 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.106e-06/1.273, allocations: 4.062 kB / 1.365 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/1.273, allocations: 4 kB / 1.365 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/1.273, allocations: 4.031 kB / 1.365 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000172/1.273, allocations: 185.8 kB / 1.365 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.501e-05/1.274, allocations: 86.64 kB / 1.366 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.402e-05/1.274, allocations: 0 / 1.366 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.523e-05/1.274, allocations: 0 / 1.366 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.749e-05/1.274, allocations: 13.5 kB / 1.366 GB, free: 30.53 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.706e-06/1.274, allocations: 9 kB / 1.366 GB, free: 30.53 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.522e-05/1.274, allocations: 79.27 kB / 1.366 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.61e-07/1.274, allocations: 0 / 1.366 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002551/1.274, allocations: 28.97 kB / 1.366 GB, free: 30.45 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.0005965/1.275, allocations: 0.8065 MB / 1.366 GB, free: 29.69 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 9.323e-05/1.275, allocations: 26.12 kB / 1.367 GB, free: 29.69 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/1.275, allocations: 0 / 1.367 GB, free: 29.69 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.408e-05/1.275, allocations: 24.42 kB / 1.367 GB, free: 29.68 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001515/1.275, allocations: 4.344 kB / 1.367 GB, free: 29.68 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004582/1.275, allocations: 194.3 kB / 1.367 GB, free: 29.5 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002738/1.276, allocations: 0.6814 MB / 1.367 GB, free: 28.8 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.283e-05/1.276, allocations: 9.562 kB / 1.367 GB, free: 28.8 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.461e-05/1.276, allocations: 17.59 kB / 1.367 GB, free: 28.79 MB / 0.8386 GB Notification: Performance of SimCode: time 2.61e-07/1.276, allocations: 0 / 1.367 GB, free: 28.79 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02082/1.297, allocations: 1.033 MB / 1.368 GB, free: 28.72 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001878/1.297, allocations: 190.7 kB / 1.369 GB, free: 28.53 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.478/2.775, allocations: 0 / 1.369 GB, free: 28.53 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