Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009265/0.0009265, allocations: 82.64 kB / 20.68 MB, free: 3.816 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001019/0.001019, allocations: 181 kB / 24.09 MB, free: 420 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9342/0.9342, allocations: 177.1 MB / 204.5 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.719/1.719, allocations: 359 MB / 0.6055 GB, free: 10.89 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp|dp_comp",fileNamePrefix="Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp|dp_comp",fileNamePrefix="Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.003e-06/2.003e-06, allocations: 0 / 0.7876 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.72e-05/2.92e-05, allocations: 2.312 kB / 0.7876 GB, free: 12.19 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.002965/0.002994, allocations: 1.338 MB / 0.7889 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001011/0.004005, allocations: 0.5729 MB / 0.7894 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.957e-05/0.004044, allocations: 0 / 0.7894 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.543e-05/0.00407, allocations: 3.984 kB / 0.7894 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.569e-05/0.004115, allocations: 3.938 kB / 0.7894 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006532/0.004769, allocations: 152.5 kB / 0.7896 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 7.476e-05/0.004843, allocations: 20.48 kB / 0.7896 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.291e-05/0.004886, allocations: 4 kB / 0.7896 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 6.967e-05/0.004956, allocations: 13.39 kB / 0.7896 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.571e-05/0.005012, allocations: 4 kB / 0.7896 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.59e-05/0.005028, allocations: 3.938 kB / 0.7896 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004434/0.005471, allocations: 276.3 kB / 0.7899 GB, free: 9.82 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.806e-05/0.005489, allocations: 3.938 kB / 0.7899 GB, free: 9.816 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.952e-05/0.005509, allocations: 4 kB / 0.7899 GB, free: 9.812 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002663/0.005775, allocations: 160.3 kB / 0.79 GB, free: 9.656 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.294e-06/0.005777, allocations: 4 kB / 0.79 GB, free: 9.652 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.313e-06/0.005778, allocations: 1 kB / 0.79 GB, free: 9.652 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.098e-06/0.005783, allocations: 0 / 0.79 GB, free: 9.652 MB / 0.7448 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.0003998/0.006182, allocations: 384.5 kB / 0.7904 GB, free: 9.238 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.006227, allocations: 8.031 kB / 0.7904 GB, free: 9.23 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.361e-05/0.00626, allocations: 9.953 kB / 0.7904 GB, free: 9.223 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.786e-05/0.006348, allocations: 108.6 kB / 0.7905 GB, free: 9.09 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.401e-05/0.006362, allocations: 9.969 kB / 0.7905 GB, free: 9.082 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.8e-05/0.00638, allocations: 384 / 0.7905 GB, free: 9.082 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.492e-05/0.006475, allocations: 67.95 kB / 0.7906 GB, free: 9.004 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.006484, allocations: 192 / 0.7906 GB, free: 9.004 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.723e-06/0.00649, allocations: 1.594 kB / 0.7906 GB, free: 9.004 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.301e-06/0.006497, allocations: 384 / 0.7906 GB, free: 9.004 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.802e-05/0.006525, allocations: 11.92 kB / 0.7906 GB, free: 8.992 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001357/0.00666, allocations: 97.27 kB / 0.7907 GB, free: 8.871 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001728/0.006833, allocations: 56.61 kB / 0.7908 GB, free: 8.805 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.904e-05/0.006862, allocations: 19.77 kB / 0.7908 GB, free: 8.781 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.427e-05/0.006886, allocations: 4 kB / 0.7908 GB, free: 8.777 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.479e-05/0.006911, allocations: 34.58 kB / 0.7908 GB, free: 8.734 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 1.443e-06/0.006913, allocations: 0 / 0.7908 GB, free: 8.734 MB / 0.7448 GB Notification: Performance of matching and sorting (n=6): time 0.0004938/0.007407, allocations: 233.1 kB / 0.791 GB, free: 8.473 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.244e-05/0.007439, allocations: 51.41 kB / 0.7911 GB, free: 8.41 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.637e-05/0.007525, allocations: 161.9 kB / 0.7913 GB, free: 8.234 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.413e-05/0.007539, allocations: 25.7 kB / 0.7913 GB, free: 8.203 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.364e-05/0.007583, allocations: 126.9 kB / 0.7914 GB, free: 8.074 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.749e-05/0.007621, allocations: 27.78 kB / 0.7914 GB, free: 8.047 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.727e-05/0.007658, allocations: 23.31 kB / 0.7914 GB, free: 8.016 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001478/0.007806, allocations: 0.4923 MB / 0.7919 GB, free: 7.512 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.748e-05/0.007823, allocations: 8.469 kB / 0.7919 GB, free: 7.504 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.68e-05/0.00784, allocations: 7.984 kB / 0.7919 GB, free: 7.496 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.734e-05/0.007887, allocations: 28.45 kB / 0.792 GB, free: 7.465 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.007889, allocations: 0 / 0.792 GB, free: 7.465 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.436e-05/0.007983, allocations: 62.16 kB / 0.792 GB, free: 7.398 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.007997, allocations: 5.25 kB / 0.792 GB, free: 7.395 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.008003, allocations: 4 kB / 0.792 GB, free: 7.391 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.008016, allocations: 0 / 0.792 GB, free: 7.391 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.145e-05/0.008068, allocations: 16.47 kB / 0.7921 GB, free: 7.375 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.557e-06/0.008071, allocations: 0 / 0.7921 GB, free: 7.375 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.877e-05/0.00809, allocations: 9.312 kB / 0.7921 GB, free: 7.367 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.789e-06/0.008095, allocations: 0 / 0.7921 GB, free: 7.367 MB / 0.7448 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.982e-05/0.008175, allocations: 156.6 kB / 0.7922 GB, free: 7.203 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.345e-05/0.008188, allocations: 9.156 kB / 0.7922 GB, free: 7.195 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001245/0.008313, allocations: 61.81 kB / 0.7923 GB, free: 7.133 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.083e-06/0.008315, allocations: 0 / 0.7923 GB, free: 7.133 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.753e-06/0.008317, allocations: 1.031 kB / 0.7923 GB, free: 7.133 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.008321, allocations: 3.938 kB / 0.7923 GB, free: 7.129 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002659/0.008587, allocations: 299.5 kB / 0.7926 GB, free: 6.801 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.00859, allocations: 0 / 0.7926 GB, free: 6.801 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.439e-05/0.008644, allocations: 8 kB / 0.7926 GB, free: 6.793 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.008647, allocations: 0 / 0.7926 GB, free: 6.793 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.418e-06/0.008656, allocations: 8 kB / 0.7926 GB, free: 6.785 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.008658, allocations: 6.094 kB / 0.7926 GB, free: 6.781 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.008662, allocations: 4.125 kB / 0.7926 GB, free: 6.777 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001838/0.008846, allocations: 223.6 kB / 0.7928 GB, free: 6.535 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.608e-05/0.008872, allocations: 8 kB / 0.7928 GB, free: 6.527 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.17e-05/0.008884, allocations: 0 / 0.7928 GB, free: 6.527 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.516e-05/0.008949, allocations: 4.547 kB / 0.7928 GB, free: 6.523 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.617e-05/0.008965, allocations: 7.938 kB / 0.7928 GB, free: 6.516 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.759e-06/0.00897, allocations: 3.438 kB / 0.7928 GB, free: 6.516 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.458e-05/0.009014, allocations: 123.2 kB / 0.7929 GB, free: 6.395 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.009014, allocations: 0 / 0.7929 GB, free: 6.395 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003086/0.009323, allocations: 27.92 kB / 0.793 GB, free: 6.367 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (dp_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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001917/0.009515, allocations: 131 kB / 0.7931 GB, free: 6.23 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 9.652e-05/0.009611, allocations: 31.67 kB / 0.7931 GB, free: 6.195 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.009614, allocations: 0 / 0.7931 GB, free: 6.195 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.817e-05/0.009642, allocations: 24.12 kB / 0.7932 GB, free: 6.168 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003196/0.009962, allocations: 4.484 kB / 0.7932 GB, free: 6.164 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006963/0.01066, allocations: 192.6 kB / 0.7933 GB, free: 5.965 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.65e-05/0.01071, allocations: 55.36 kB / 0.7934 GB, free: 5.891 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.115e-05/0.01075, allocations: 5.875 kB / 0.7934 GB, free: 5.887 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.584e-05/0.01082, allocations: 78.19 kB / 0.7935 GB, free: 5.809 MB / 0.7448 GB Notification: Performance of SimCode: time 7.42e-07/0.01082, allocations: 1.062 kB / 0.7935 GB, free: 5.809 MB / 0.7448 GB Notification: Performance of Templates: time 0.003276/0.0141, allocations: 0.7475 MB / 0.7942 GB, free: 5.102 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & ./Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.833291796036065]