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.0009231/0.0009231, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.0009008/0.0009008, allocations: 161 kB / 23.82 MB, free: 0.75 MB / 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.9891/0.9891, allocations: 177.2 MB / 204.2 MB, free: 5.598 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.797/1.797, allocations: 359 MB / 0.6052 GB, free: 10.99 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 1.924e-06/1.924e-06, allocations: 3.938 kB / 0.7871 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.466e-05/2.658e-05, allocations: 6.25 kB / 0.7871 GB, free: 12.44 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.002613/0.002639, allocations: 1.329 MB / 0.7884 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001188/0.003827, allocations: 0.5829 MB / 0.789 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.448e-05/0.003862, allocations: 0 / 0.789 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.33e-05/0.003895, allocations: 4.906 kB / 0.789 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.74e-05/0.003942, allocations: 3.938 kB / 0.789 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007087/0.004651, allocations: 146.5 kB / 0.7891 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 7.357e-05/0.004725, allocations: 27.86 kB / 0.7892 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.255e-05/0.004767, allocations: 0 / 0.7892 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 6.818e-05/0.004835, allocations: 19.97 kB / 0.7892 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.449e-05/0.00489, allocations: 4 kB / 0.7892 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.629e-05/0.004906, allocations: 0 / 0.7892 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004257/0.005332, allocations: 267.4 kB / 0.7894 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.852e-05/0.00535, allocations: 5.75 kB / 0.7894 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.194e-05/0.005372, allocations: 7.938 kB / 0.7894 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002841/0.005656, allocations: 159.4 kB / 0.7896 GB, free: 9.906 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.005659, allocations: 0 / 0.7896 GB, free: 9.906 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.032e-06/0.00566, allocations: 0.5938 kB / 0.7896 GB, free: 9.906 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.699e-06/0.005665, allocations: 0 / 0.7896 GB, free: 9.906 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.0004575/0.006123, allocations: 388.5 kB / 0.79 GB, free: 9.492 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.841e-05/0.006171, allocations: 13.16 kB / 0.79 GB, free: 9.48 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.324e-05/0.006224, allocations: 5.234 kB / 0.79 GB, free: 9.477 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001046/0.006329, allocations: 112.6 kB / 0.7901 GB, free: 9.34 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.398e-05/0.006343, allocations: 2.125 kB / 0.7901 GB, free: 9.34 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.708e-05/0.00637, allocations: 8.359 kB / 0.7901 GB, free: 9.332 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001177/0.006488, allocations: 59.97 kB / 0.7902 GB, free: 9.262 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.006496, allocations: 192 / 0.7902 GB, free: 9.262 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.006507, allocations: 384 / 0.7902 GB, free: 9.262 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.24e-05/0.00652, allocations: 13.48 kB / 0.7902 GB, free: 9.25 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.509e-05/0.006555, allocations: 11.94 kB / 0.7902 GB, free: 9.238 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001742/0.006729, allocations: 116.7 kB / 0.7903 GB, free: 9.09 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002232/0.006952, allocations: 52.98 kB / 0.7903 GB, free: 9.027 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.774e-05/0.00699, allocations: 19.69 kB / 0.7904 GB, free: 9.004 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.958e-05/0.00701, allocations: 0 / 0.7904 GB, free: 9.004 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.091e-05/0.007041, allocations: 33.39 kB / 0.7904 GB, free: 8.961 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 2.515e-06/0.007043, allocations: 6.594 kB / 0.7904 GB, free: 8.957 MB / 0.7448 GB Notification: Performance of matching and sorting (n=6): time 0.0006153/0.007658, allocations: 237.7 kB / 0.7906 GB, free: 8.688 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.899e-05/0.007697, allocations: 55.34 kB / 0.7907 GB, free: 8.621 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.433e-05/0.007782, allocations: 157.9 kB / 0.7908 GB, free: 8.449 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.357e-05/0.007795, allocations: 25.7 kB / 0.7909 GB, free: 8.418 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.248e-05/0.007838, allocations: 126.9 kB / 0.791 GB, free: 8.289 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.612e-05/0.007874, allocations: 35.72 kB / 0.791 GB, free: 8.254 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.966e-05/0.007913, allocations: 23.91 kB / 0.791 GB, free: 8.223 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001406/0.008054, allocations: 496.8 kB / 0.7915 GB, free: 7.727 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.659e-05/0.008081, allocations: 15.92 kB / 0.7915 GB, free: 7.711 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.065e-05/0.008101, allocations: 4.531 kB / 0.7915 GB, free: 7.707 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.409e-05/0.008155, allocations: 27.69 kB / 0.7916 GB, free: 7.676 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.008156, allocations: 1.656 kB / 0.7916 GB, free: 7.676 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001037/0.00826, allocations: 65.62 kB / 0.7916 GB, free: 7.605 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.008275, allocations: 4 kB / 0.7916 GB, free: 7.602 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.00828, allocations: 0 / 0.7916 GB, free: 7.602 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.008293, allocations: 0.5 kB / 0.7916 GB, free: 7.602 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.975e-05/0.008353, allocations: 20.52 kB / 0.7916 GB, free: 7.582 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.008358, allocations: 0 / 0.7916 GB, free: 7.582 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.188e-05/0.00838, allocations: 0.7812 kB / 0.7916 GB, free: 7.582 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.541e-06/0.008386, allocations: 0 / 0.7916 GB, free: 7.582 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.925e-05/0.008465, allocations: 161.7 kB / 0.7918 GB, free: 7.414 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.306e-05/0.008478, allocations: 4 kB / 0.7918 GB, free: 7.41 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001385/0.008616, allocations: 73.73 kB / 0.7919 GB, free: 7.336 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.008618, allocations: 1.375 kB / 0.7919 GB, free: 7.336 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.008623, allocations: 3.938 kB / 0.7919 GB, free: 7.332 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.008626, allocations: 0 / 0.7919 GB, free: 7.332 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003113/0.008938, allocations: 318 kB / 0.7922 GB, free: 6.977 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.008939, allocations: 0 / 0.7922 GB, free: 6.977 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.275e-05/0.009002, allocations: 12.95 kB / 0.7922 GB, free: 6.965 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.439e-06/0.009006, allocations: 4 kB / 0.7922 GB, free: 6.961 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.26e-05/0.009019, allocations: 9.188 kB / 0.7922 GB, free: 6.953 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.009021, allocations: 0 / 0.7922 GB, free: 6.953 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.009023, allocations: 0 / 0.7922 GB, free: 6.953 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001911/0.009214, allocations: 232.4 kB / 0.7924 GB, free: 6.703 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.059e-05/0.009235, allocations: 0 / 0.7924 GB, free: 6.703 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.718e-05/0.009252, allocations: 11.94 kB / 0.7924 GB, free: 6.691 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.495e-05/0.009317, allocations: 1.312 kB / 0.7924 GB, free: 6.691 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.046e-05/0.009337, allocations: 3.984 kB / 0.7924 GB, free: 6.688 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.42e-06/0.009343, allocations: 4 kB / 0.7924 GB, free: 6.684 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.286e-05/0.009386, allocations: 124.4 kB / 0.7926 GB, free: 6.562 MB / 0.7448 GB Notification: Performance of sort global known variables: time 8.1e-08/0.009386, allocations: 0 / 0.7926 GB, free: 6.562 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002889/0.009675, allocations: 19.94 kB / 0.7926 GB, free: 6.543 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.0001862/0.009861, allocations: 132.9 kB / 0.7927 GB, free: 6.406 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001154/0.009976, allocations: 39.83 kB / 0.7927 GB, free: 6.363 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.009978, allocations: 0 / 0.7927 GB, free: 6.363 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.81e-05/0.01001, allocations: 26.19 kB / 0.7928 GB, free: 6.336 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002675/0.01027, allocations: 9.969 kB / 0.7928 GB, free: 6.328 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006921/0.01097, allocations: 190.6 kB / 0.793 GB, free: 6.125 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.591e-05/0.01101, allocations: 62.58 kB / 0.793 GB, free: 6.047 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.338e-05/0.01104, allocations: 4.25 kB / 0.793 GB, free: 6.043 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.689e-05/0.01107, allocations: 12.5 kB / 0.793 GB, free: 6.031 MB / 0.7448 GB Notification: Performance of SimCode: time 9.42e-07/0.01107, allocations: 0 / 0.793 GB, free: 6.031 MB / 0.7448 GB Notification: Performance of Templates: time 0.003436/0.01451, allocations: 0.728 MB / 0.7938 GB, free: 5.348 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.9457003879360855]