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.00094/0.0009399, allocations: 91.14 kB / 15.06 MB, free: 1.098 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.001119/0.001119, allocations: 172.7 kB / 15.95 MB, free: 208 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.363/1.363, allocations: 223.3 MB / 240 MB, free: 5.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.477/2.477, allocations: 409.4 MB / 0.684 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0004708/0.0004709, allocations: 8 kB / 0.8378 GB, free: 6.484 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6943/0.6948, allocations: 146.8 MB / 0.9811 GB, free: 6.25 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.001402/0.6963, allocations: 0.9847 MB / 0.9821 GB, free: 5.254 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001015/0.6973, allocations: 0.5594 MB / 0.9827 GB, free: 4.695 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.305e-05/0.6974, allocations: 0 / 0.9827 GB, free: 4.695 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.377e-05/0.6974, allocations: 0 / 0.9827 GB, free: 4.695 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 4.837e-05/0.6974, allocations: 11.92 kB / 0.9827 GB, free: 4.684 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005566/0.698, allocations: 125.8 kB / 0.9828 GB, free: 4.562 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 5.422e-05/0.6981, allocations: 15.92 kB / 0.9828 GB, free: 4.547 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.234e-05/0.6981, allocations: 0 / 0.9828 GB, free: 4.547 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 3.703e-05/0.6982, allocations: 11.98 kB / 0.9828 GB, free: 4.535 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.285e-05/0.6982, allocations: 11.92 kB / 0.9828 GB, free: 4.523 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.016e-05/0.6982, allocations: 3.938 kB / 0.9828 GB, free: 4.52 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005013/0.6987, allocations: 339.3 kB / 0.9831 GB, free: 4.188 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.096e-05/0.6988, allocations: 0 / 0.9831 GB, free: 4.188 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.797e-05/0.6988, allocations: 33.7 kB / 0.9832 GB, free: 4.148 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001895/0.699, allocations: 94.08 kB / 0.9833 GB, free: 4.059 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.274e-06/0.699, allocations: 4 kB / 0.9833 GB, free: 4.055 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.323e-06/0.699, allocations: 0 / 0.9833 GB, free: 4.055 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.987e-06/0.699, allocations: 0 / 0.9833 GB, free: 4.055 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.0004339/0.6995, allocations: 351.2 kB / 0.9836 GB, free: 3.664 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/0.6995, allocations: 11.97 kB / 0.9836 GB, free: 3.652 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.701e-05/0.6996, allocations: 38.56 kB / 0.9837 GB, free: 3.605 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.664e-05/0.6996, allocations: 0 / 0.9837 GB, free: 3.605 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001352/0.6997, allocations: 171 kB / 0.9838 GB, free: 3.398 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.653e-05/0.6998, allocations: 7.984 kB / 0.9838 GB, free: 3.391 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.954e-05/0.6998, allocations: 0 / 0.9838 GB, free: 3.391 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001203/0.6999, allocations: 41.66 kB / 0.9839 GB, free: 3.344 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.6999, allocations: 0 / 0.9839 GB, free: 3.344 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.097e-05/0.6999, allocations: 3.984 kB / 0.9839 GB, free: 3.34 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.7, allocations: 0 / 0.9839 GB, free: 3.34 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.511e-05/0.7, allocations: 12 kB / 0.9839 GB, free: 3.328 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001931/0.7002, allocations: 153.7 kB / 0.984 GB, free: 3.129 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000211/0.7004, allocations: 50.55 kB / 0.9841 GB, free: 3.07 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.069e-05/0.7005, allocations: 20.94 kB / 0.9841 GB, free: 3.047 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.941e-05/0.7005, allocations: 0 / 0.9841 GB, free: 3.047 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.513e-05/0.7005, allocations: 38.5 kB / 0.9841 GB, free: 3 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.7006, allocations: 4 kB / 0.9841 GB, free: 2.996 MB / 0.7325 GB Notification: Performance of matching and sorting (n=6): time 0.0007497/0.7013, allocations: 310.2 kB / 0.9844 GB, free: 2.641 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.353e-05/0.7014, allocations: 51.41 kB / 0.9845 GB, free: 2.578 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.042e-05/0.7015, allocations: 106.2 kB / 0.9846 GB, free: 2.465 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.462e-05/0.7015, allocations: 25.7 kB / 0.9846 GB, free: 2.434 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.874e-05/0.7015, allocations: 80.14 kB / 0.9847 GB, free: 2.352 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.567e-05/0.7016, allocations: 27.59 kB / 0.9847 GB, free: 2.324 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.517e-06/0.7016, allocations: 0 / 0.9847 GB, free: 2.324 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001265/0.7017, allocations: 318.8 kB / 0.985 GB, free: 2.004 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.519e-05/0.7017, allocations: 8 kB / 0.985 GB, free: 1.996 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.051e-05/0.7018, allocations: 12 kB / 0.985 GB, free: 1.984 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.039e-05/0.7018, allocations: 12 kB / 0.985 GB, free: 1.973 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.41e-07/0.7018, allocations: 0 / 0.985 GB, free: 1.973 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001058/0.7019, allocations: 69.67 kB / 0.9851 GB, free: 1.898 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.7019, allocations: 4 kB / 0.9851 GB, free: 1.895 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.546e-05/0.702, allocations: 3.953 kB / 0.9851 GB, free: 1.891 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-05/0.702, allocations: 4 kB / 0.9851 GB, free: 1.887 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.34e-05/0.702, allocations: 11.98 kB / 0.9851 GB, free: 1.875 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.7021, allocations: 3.938 kB / 0.9851 GB, free: 1.871 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.764e-05/0.7021, allocations: 0 / 0.9851 GB, free: 1.871 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.965e-06/0.7021, allocations: 8 kB / 0.9851 GB, free: 1.863 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 8.181e-05/0.7022, allocations: 109.8 kB / 0.9853 GB, free: 1.746 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.281e-05/0.7022, allocations: 4 kB / 0.9853 GB, free: 1.742 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001504/0.7024, allocations: 73.86 kB / 0.9853 GB, free: 1.664 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.7024, allocations: 7.891 kB / 0.9853 GB, free: 1.656 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.7024, allocations: 0 / 0.9853 GB, free: 1.656 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.7024, allocations: 0 / 0.9853 GB, free: 1.656 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003921/0.7028, allocations: 319.3 kB / 0.9856 GB, free: 1.285 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.53e-06/0.7028, allocations: 4 kB / 0.9856 GB, free: 1.281 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.503e-05/0.7029, allocations: 11.98 kB / 0.9857 GB, free: 1.27 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.725e-06/0.7029, allocations: 3.953 kB / 0.9857 GB, free: 1.266 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.368e-05/0.7029, allocations: 4 kB / 0.9857 GB, free: 1.262 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.7029, allocations: 3.938 kB / 0.9857 GB, free: 1.258 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.7029, allocations: 0 / 0.9857 GB, free: 1.258 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002463/0.7032, allocations: 172.4 kB / 0.9858 GB, free: 1.07 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.454e-05/0.7033, allocations: 89.06 kB / 0.9859 GB, free: 0.9648 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.958e-05/0.7033, allocations: 3.953 kB / 0.9859 GB, free: 0.9609 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.642e-05/0.7034, allocations: 8.25 kB / 0.9859 GB, free: 0.9531 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.26e-05/0.7034, allocations: 3.984 kB / 0.9859 GB, free: 0.9492 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.084e-05/0.7034, allocations: 8 kB / 0.9859 GB, free: 0.9414 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.222e-05/0.7035, allocations: 75.28 kB / 0.986 GB, free: 0.8672 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7035, allocations: 0 / 0.986 GB, free: 0.8672 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002747/0.7038, allocations: 24 kB / 0.986 GB, free: 0.8438 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.0006025/0.7044, allocations: 0.7405 MB / 0.9868 GB, free: 72 kB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001151/0.7045, allocations: 35.92 kB / 0.9868 GB, free: 36 kB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.7045, allocations: 0 / 0.9868 GB, free: 36 kB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 3.175e-05/0.7045, allocations: 20.06 kB / 0.9868 GB, free: 16 kB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002256/0.7048, allocations: 5.781 kB / 0.9868 GB, free: 12 kB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007928/0.7056, allocations: 483.6 kB / 0.9873 GB, free: 15.49 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002646/0.7059, allocations: 0.6809 MB / 0.9879 GB, free: 14.79 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 3.246e-05/0.7059, allocations: 4 kB / 0.9879 GB, free: 14.78 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.419e-05/0.7059, allocations: 15.44 kB / 0.988 GB, free: 14.77 MB / 0.7481 GB Notification: Performance of SimCode: time 1.523e-06/0.7059, allocations: 4.062 kB / 0.988 GB, free: 14.76 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01208/0.718, allocations: 1.393 MB / 0.9893 GB, free: 13.58 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002056/0.7183, allocations: 234.3 kB / 0.9895 GB, free: 13.34 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.726/2.445, allocations: 0 / 0.9895 GB, free: 13.34 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