Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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_m_flow_DerivativeCheck2,fileNamePrefix="Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,fileNamePrefix="Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_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.374/2.374, allocations: 390.5 MB / 398 MB, free: 10.94 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.001056/0.001056, allocations: 187.9 kB / 491.2 MB, free: 1.594 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.492/1.492, allocations: 221.5 MB / 0.7868 GB, free: 13.29 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.0008855/0.0008855, allocations: 91.83 kB / 0.9269 GB, free: 13.79 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.19e-05/3.191e-05, allocations: 4 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2985/0.2986, allocations: 143 MB / 1.212 GB, free: 39.41 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.01/1.309, allocations: 150.9 MB / 1.36 GB, free: 17.29 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001992/1.309, allocations: 86.62 kB / 1.36 GB, free: 17.29 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01217/1.321, allocations: 4.304 MB / 1.364 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.583e-06/1.321, allocations: 0 / 1.364 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 9.267e-06/1.321, allocations: 0 / 1.364 GB, free: 32.73 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004717/1.322, allocations: 373.5 kB / 1.364 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/1.322, allocations: 9.344 kB / 1.364 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.756e-05/1.322, allocations: 11.73 kB / 1.364 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.656e-05/1.322, allocations: 163 kB / 1.365 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.643e-05/1.322, allocations: 5.641 kB / 1.365 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.989e-05/1.322, allocations: 3.844 kB / 1.365 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.343e-05/1.322, allocations: 34.48 kB / 1.365 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001076/1.322, allocations: 58.7 kB / 1.365 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.43e-05/1.322, allocations: 3.906 kB / 1.365 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.344e-05/1.322, allocations: 0 / 1.365 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/1.322, allocations: 0 / 1.365 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005666/1.323, allocations: 301 kB / 1.365 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001033/1.323, allocations: 62.94 kB / 1.365 GB, free: 31.85 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.289e-05/1.323, allocations: 19.83 kB / 1.365 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.152e-05/1.323, allocations: 1.312 kB / 1.365 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.155e-05/1.323, allocations: 38.38 kB / 1.365 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 1.663e-06/1.323, allocations: 0 / 1.365 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11): time 0.0008206/1.324, allocations: 0.5298 MB / 1.366 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.683e-05/1.324, allocations: 56.44 kB / 1.366 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.16e-05/1.324, allocations: 94.16 kB / 1.366 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.609e-05/1.324, allocations: 29.7 kB / 1.366 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.195e-05/1.324, allocations: 84.77 kB / 1.366 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.082e-05/1.324, allocations: 35.08 kB / 1.366 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.891e-06/1.324, allocations: 0 / 1.366 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.744e-05/1.324, allocations: 319.5 kB / 1.366 GB, free: 30.73 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.976e-05/1.324, allocations: 20.12 kB / 1.366 GB, free: 30.73 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.014e-05/1.324, allocations: 20.47 kB / 1.366 GB, free: 30.73 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.04e-05/1.324, allocations: 24.55 kB / 1.366 GB, free: 30.73 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/1.324, allocations: 0 / 1.366 GB, free: 30.73 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001267/1.325, allocations: 100 kB / 1.366 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/1.325, allocations: 5.375 kB / 1.366 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.817e-06/1.325, allocations: 5.406 kB / 1.366 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/1.325, allocations: 0 / 1.366 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001552/1.325, allocations: 27.55 kB / 1.366 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/1.325, allocations: 3.906 kB / 1.366 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.14e-05/1.325, allocations: 5.344 kB / 1.366 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.083e-05/1.325, allocations: 9.234 kB / 1.366 GB, free: 30.68 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.623e-05/1.325, allocations: 105 kB / 1.367 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001294/1.325, allocations: 88.59 kB / 1.367 GB, free: 30.53 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.713e-05/1.325, allocations: 7.797 kB / 1.367 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001721/1.325, allocations: 100.9 kB / 1.367 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/1.325, allocations: 3.844 kB / 1.367 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/1.325, allocations: 0 / 1.367 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/1.325, allocations: 1.922 kB / 1.367 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003271/1.326, allocations: 329.9 kB / 1.367 GB, free: 30.21 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/1.326, allocations: 11.94 kB / 1.367 GB, free: 30.2 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001553/1.326, allocations: 29.12 kB / 1.367 GB, free: 30.2 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.918e-06/1.326, allocations: 0.7031 kB / 1.367 GB, free: 30.2 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.178e-05/1.326, allocations: 5.281 kB / 1.367 GB, free: 30.2 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/1.326, allocations: 0 / 1.367 GB, free: 30.2 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/1.326, allocations: 3.938 kB / 1.367 GB, free: 30.19 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000216/1.326, allocations: 209.7 kB / 1.367 GB, free: 30.06 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.575e-05/1.326, allocations: 90.48 kB / 1.367 GB, free: 29.95 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.036e-05/1.326, allocations: 3.719 kB / 1.367 GB, free: 29.95 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001189/1.326, allocations: 6.641 kB / 1.367 GB, free: 29.95 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.063e-05/1.326, allocations: 5.328 kB / 1.367 GB, free: 29.95 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.959e-06/1.326, allocations: 5.297 kB / 1.367 GB, free: 29.95 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.24e-05/1.326, allocations: 82.94 kB / 1.367 GB, free: 29.88 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.326, allocations: 0 / 1.367 GB, free: 29.88 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002841/1.327, allocations: 41.55 kB / 1.368 GB, free: 29.87 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (dp_comp,der_dp_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.0006566/1.327, allocations: 0.7889 MB / 1.368 GB, free: 29.18 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001291/1.328, allocations: 54.62 kB / 1.368 GB, free: 29.18 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/1.328, allocations: 7.781 kB / 1.368 GB, free: 29.18 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 4.352e-05/1.328, allocations: 35.31 kB / 1.368 GB, free: 29.18 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002058/1.328, allocations: 10.98 kB / 1.368 GB, free: 29.17 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006037/1.328, allocations: 287.8 kB / 1.369 GB, free: 28.95 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002843/1.329, allocations: 0.6981 MB / 1.369 GB, free: 28.25 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 6.252e-05/1.329, allocations: 19.14 kB / 1.369 GB, free: 28.24 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.188e-05/1.329, allocations: 25.75 kB / 1.369 GB, free: 28.23 MB / 0.8386 GB Notification: Performance of SimCode: time 2.31e-07/1.329, allocations: 0 / 1.369 GB, free: 28.23 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02177/1.351, allocations: 1.674 MB / 1.371 GB, free: 28.12 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002644/1.351, allocations: 192.4 kB / 1.371 GB, free: 27.93 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.596/2.947, allocations: 1.562 kB / 1.371 GB, free: 27.93 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 Buildings_latest_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2.fmu > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2_res.mat does not exist to compare? outputFormat=mat