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/ModelicaServices 4.0.0+maint.om/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/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008996/0.0008996, allocations: 99.16 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001058/0.001058, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.364/1.364, allocations: 223.2 MB / 239.9 MB, free: 5.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.459/2.459, allocations: 409.2 MB / 0.6838 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.000442/0.0004422, allocations: 12 kB / 0.8375 GB, free: 6.523 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8028/0.8033, allocations: 146.8 MB / 0.9809 GB, free: 6.43 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.001618/0.8049, allocations: 0.9885 MB / 0.9818 GB, free: 5.43 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0007118/0.8057, allocations: 345.7 kB / 0.9822 GB, free: 5.094 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.95e-05/0.8057, allocations: 0 / 0.9822 GB, free: 5.094 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.804e-05/0.8058, allocations: 0 / 0.9822 GB, free: 5.094 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 4.827e-05/0.8058, allocations: 7.875 kB / 0.9822 GB, free: 5.086 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004992/0.8063, allocations: 71.77 kB / 0.9822 GB, free: 5.016 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 6.716e-05/0.8064, allocations: 15.98 kB / 0.9822 GB, free: 5 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 6.251e-05/0.8065, allocations: 4 kB / 0.9823 GB, free: 4.996 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 5.029e-05/0.8065, allocations: 11.97 kB / 0.9823 GB, free: 4.984 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.958e-05/0.8066, allocations: 7.938 kB / 0.9823 GB, free: 4.977 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.757e-05/0.8066, allocations: 4 kB / 0.9823 GB, free: 4.973 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003638/0.807, allocations: 179.7 kB / 0.9824 GB, free: 4.797 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.06e-05/0.807, allocations: 0 / 0.9824 GB, free: 4.797 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.722e-05/0.8071, allocations: 29.7 kB / 0.9825 GB, free: 4.762 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001577/0.8072, allocations: 54.33 kB / 0.9825 GB, free: 4.711 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.8072, allocations: 0 / 0.9825 GB, free: 4.711 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.324e-06/0.8072, allocations: 0 / 0.9825 GB, free: 4.711 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.992e-06/0.8073, allocations: 4 kB / 0.9825 GB, free: 4.707 MB / 0.7325 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.0005244/0.8078, allocations: 339.2 kB / 0.9829 GB, free: 4.324 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.163e-05/0.8079, allocations: 8.031 kB / 0.9829 GB, free: 4.316 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.964e-05/0.8079, allocations: 38.5 kB / 0.9829 GB, free: 4.27 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.934e-05/0.808, allocations: 8 kB / 0.9829 GB, free: 4.262 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001654/0.8081, allocations: 163.1 kB / 0.9831 GB, free: 4.062 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.426e-05/0.8082, allocations: 0 / 0.9831 GB, free: 4.062 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.829e-05/0.8082, allocations: 4 kB / 0.9831 GB, free: 4.059 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001437/0.8083, allocations: 49.58 kB / 0.9831 GB, free: 4.004 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/0.8084, allocations: 0 / 0.9831 GB, free: 4.004 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.069e-05/0.8084, allocations: 0 / 0.9831 GB, free: 4.004 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.195e-06/0.8084, allocations: 4 kB / 0.9831 GB, free: 4 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.598e-05/0.8084, allocations: 8 kB / 0.9831 GB, free: 3.992 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002294/0.8087, allocations: 157.6 kB / 0.9833 GB, free: 3.789 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002263/0.8089, allocations: 50.55 kB / 0.9833 GB, free: 3.73 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.58e-05/0.8089, allocations: 0 / 0.9833 GB, free: 3.73 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.18e-05/0.809, allocations: 34.56 kB / 0.9834 GB, free: 3.688 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.809, allocations: 0 / 0.9834 GB, free: 3.688 MB / 0.7325 GB Notification: Performance of matching and sorting (n=6): time 0.0008119/0.8098, allocations: 322.3 kB / 0.9837 GB, free: 3.32 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.808e-05/0.8099, allocations: 55.41 kB / 0.9837 GB, free: 3.254 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.468e-05/0.81, allocations: 93.86 kB / 0.9838 GB, free: 3.152 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.155e-05/0.81, allocations: 25.7 kB / 0.9838 GB, free: 3.121 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.491e-05/0.81, allocations: 88.14 kB / 0.9839 GB, free: 3.031 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.908e-05/0.8101, allocations: 23.64 kB / 0.9839 GB, free: 3.008 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.69e-06/0.8101, allocations: 4 kB / 0.9839 GB, free: 3.004 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001564/0.8103, allocations: 310.8 kB / 0.9842 GB, free: 2.691 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.124e-05/0.8103, allocations: 15.98 kB / 0.9843 GB, free: 2.676 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.913e-05/0.8103, allocations: 4 kB / 0.9843 GB, free: 2.672 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.761e-05/0.8104, allocations: 16 kB / 0.9843 GB, free: 2.656 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.8104, allocations: 0 / 0.9843 GB, free: 2.656 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001147/0.8105, allocations: 65.62 kB / 0.9843 GB, free: 2.586 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.1e-05/0.8105, allocations: 4 kB / 0.9843 GB, free: 2.582 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.8106, allocations: 4 kB / 0.9843 GB, free: 2.578 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.001e-05/0.8106, allocations: 3.953 kB / 0.9843 GB, free: 2.574 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.169e-05/0.8106, allocations: 15.98 kB / 0.9844 GB, free: 2.559 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.415e-06/0.8107, allocations: 0 / 0.9844 GB, free: 2.559 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.309e-05/0.8107, allocations: 7.938 kB / 0.9844 GB, free: 2.551 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.39e-06/0.8107, allocations: 0 / 0.9844 GB, free: 2.551 MB / 0.7325 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 () * Number of clocked 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 9.975e-05/0.8108, allocations: 109.8 kB / 0.9845 GB, free: 2.434 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.278e-05/0.8108, allocations: 0 / 0.9845 GB, free: 2.434 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001799/0.811, allocations: 81.59 kB / 0.9846 GB, free: 2.348 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.044e-05/0.811, allocations: 7.938 kB / 0.9846 GB, free: 2.34 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.811, allocations: 0 / 0.9846 GB, free: 2.34 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.8111, allocations: 3.938 kB / 0.9846 GB, free: 2.336 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005516/0.8116, allocations: 319.4 kB / 0.9849 GB, free: 1.965 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.8116, allocations: 0 / 0.9849 GB, free: 1.965 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001074/0.8118, allocations: 12 kB / 0.9849 GB, free: 1.953 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.013e-06/0.8118, allocations: 3.953 kB / 0.9849 GB, free: 1.949 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-06/0.8118, allocations: 0 / 0.9849 GB, free: 1.949 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.912e-06/0.8118, allocations: 12.02 kB / 0.9849 GB, free: 1.938 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.8118, allocations: 0 / 0.9849 GB, free: 1.938 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002045/0.812, allocations: 186.1 kB / 0.9851 GB, free: 1.73 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 7.311e-05/0.8121, allocations: 93.08 kB / 0.9852 GB, free: 1.621 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.325e-05/0.8121, allocations: 0 / 0.9852 GB, free: 1.621 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.161e-05/0.8122, allocations: 0 / 0.9852 GB, free: 1.621 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.32e-05/0.8123, allocations: 8.062 kB / 0.9852 GB, free: 1.613 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.28e-06/0.8123, allocations: 0 / 0.9852 GB, free: 1.613 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.489e-05/0.8123, allocations: 87.27 kB / 0.9853 GB, free: 1.527 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8123, allocations: 0 / 0.9853 GB, free: 1.527 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002471/0.8126, allocations: 20 kB / 0.9853 GB, free: 1.508 MB / 0.7325 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 () * Number of clocked 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.000787/0.8134, allocations: 0.8187 MB / 0.9861 GB, free: 0.6523 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.000109/0.8135, allocations: 31.98 kB / 0.9861 GB, free: 0.6211 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.8135, allocations: 0 / 0.9861 GB, free: 0.6211 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 3.149e-05/0.8135, allocations: 15.94 kB / 0.9861 GB, free: 0.6055 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001538/0.8137, allocations: 8 kB / 0.9861 GB, free: 0.5977 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009027/0.8146, allocations: 492.1 kB / 0.9866 GB, free: 72 kB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004323/0.8151, allocations: 0.6848 MB / 0.9873 GB, free: 15.36 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 3.5e-05/0.8151, allocations: 8.375 kB / 0.9873 GB, free: 15.35 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.551e-05/0.8151, allocations: 11.44 kB / 0.9873 GB, free: 15.34 MB / 0.7481 GB Notification: Performance of SimCode: time 2.6e-07/0.8151, allocations: 0 / 0.9873 GB, free: 15.34 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01273/0.8279, allocations: 1.366 MB / 0.9886 GB, free: 14.19 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002436/0.8282, allocations: 227.5 kB / 0.9888 GB, free: 13.95 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.646/2.475, allocations: 0 / 0.9888 GB, free: 13.95 MB / 0.7481 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) Environment - environmentSimulation: 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