Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.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.001432/0.001432, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.001676/0.001676, allocations: 173.3 kB / 23.02 MB, free: 1.551 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.9016/0.9016, allocations: 177.2 MB / 203.4 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.049/2.049, allocations: 429.5 MB / 0.6733 GB, free: 4.016 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_comp|m_flow_turbulent|der.m_flow.|der.m_flow_comp.",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_comp|m_flow_turbulent|der.m_flow.|der.m_flow_comp.",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 0.8782 GB, free: 6.262 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.12e-05/2.267e-05, allocations: 3.125 kB / 0.8782 GB, free: 6.258 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.001754/0.001777, allocations: 1.35 MB / 0.8795 GB, free: 4.914 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0007672/0.002544, allocations: 0.5875 MB / 0.8801 GB, free: 4.332 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.074e-05/0.002575, allocations: 1.312 kB / 0.8801 GB, free: 4.332 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.432e-05/0.002599, allocations: 0 / 0.8801 GB, free: 4.332 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 4.513e-05/0.002644, allocations: 11.91 kB / 0.8801 GB, free: 4.32 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005231/0.003167, allocations: 152.3 kB / 0.8803 GB, free: 4.172 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 6.127e-05/0.003229, allocations: 28.98 kB / 0.8803 GB, free: 4.145 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.828e-05/0.003267, allocations: 4 kB / 0.8803 GB, free: 4.141 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 3.535e-05/0.003302, allocations: 15.98 kB / 0.8803 GB, free: 4.125 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 5.191e-05/0.003354, allocations: 13 kB / 0.8803 GB, free: 4.113 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.501e-05/0.003369, allocations: 4 kB / 0.8803 GB, free: 4.109 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003027/0.003672, allocations: 272.5 kB / 0.8806 GB, free: 3.844 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.614e-05/0.003688, allocations: 4 kB / 0.8806 GB, free: 3.84 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.553e-05/0.003713, allocations: 19.92 kB / 0.8806 GB, free: 3.82 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002067/0.00392, allocations: 160.3 kB / 0.8808 GB, free: 3.664 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.954e-06/0.003922, allocations: 4 kB / 0.8808 GB, free: 3.66 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.112e-06/0.003923, allocations: 1.625 kB / 0.8808 GB, free: 3.66 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.318e-06/0.003928, allocations: 3.938 kB / 0.8808 GB, free: 3.656 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003554/0.004283, allocations: 396.2 kB / 0.8811 GB, free: 3.23 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/0.004324, allocations: 8.031 kB / 0.8812 GB, free: 3.223 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.883e-05/0.004373, allocations: 6.125 kB / 0.8812 GB, free: 3.219 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.98e-05/0.004453, allocations: 116.6 kB / 0.8813 GB, free: 3.078 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.718e-06/0.004462, allocations: 384 / 0.8813 GB, free: 3.078 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.347e-05/0.004486, allocations: 9.422 kB / 0.8813 GB, free: 3.07 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001126/0.004598, allocations: 97.64 kB / 0.8814 GB, free: 2.957 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.004609, allocations: 4.188 kB / 0.8814 GB, free: 2.953 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.909e-06/0.004619, allocations: 5.031 kB / 0.8814 GB, free: 2.949 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.004626, allocations: 384 / 0.8814 GB, free: 2.949 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.465e-05/0.00466, allocations: 16.7 kB / 0.8814 GB, free: 2.934 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001571/0.004817, allocations: 124.6 kB / 0.8815 GB, free: 2.777 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001035/0.004921, allocations: 64.56 kB / 0.8816 GB, free: 2.703 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.09e-05/0.004952, allocations: 23.69 kB / 0.8816 GB, free: 2.676 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.805e-05/0.00497, allocations: 0 / 0.8816 GB, free: 2.676 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.221e-05/0.004992, allocations: 40.39 kB / 0.8816 GB, free: 2.629 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 1.022e-06/0.004993, allocations: 4 kB / 0.8816 GB, free: 2.625 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11): time 0.0007995/0.005793, allocations: 444.7 kB / 0.8821 GB, free: 2.129 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.046e-05/0.005823, allocations: 59.34 kB / 0.8821 GB, free: 2.059 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.425e-05/0.005887, allocations: 155.5 kB / 0.8823 GB, free: 1.891 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.000284/0.006171, allocations: 33.7 kB / 0.8823 GB, free: 1.852 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.004e-05/0.006201, allocations: 126.9 kB / 0.8824 GB, free: 1.723 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.427e-05/0.006236, allocations: 39.64 kB / 0.8825 GB, free: 1.684 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.316e-05/0.006269, allocations: 32 kB / 0.8825 GB, free: 1.645 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001075/0.006376, allocations: 0.4923 MB / 0.883 GB, free: 1.141 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.42e-05/0.0064, allocations: 9.656 kB / 0.883 GB, free: 1.133 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.566e-05/0.006426, allocations: 19.98 kB / 0.883 GB, free: 1.113 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.353e-05/0.00649, allocations: 51.05 kB / 0.883 GB, free: 1.062 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/0.00649, allocations: 0 / 0.883 GB, free: 1.062 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000104/0.006594, allocations: 98.48 kB / 0.8831 GB, free: 0.9609 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.006608, allocations: 4 kB / 0.8831 GB, free: 0.957 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.006614, allocations: 3.938 kB / 0.8832 GB, free: 0.9531 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.006625, allocations: 4.562 kB / 0.8832 GB, free: 0.9492 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.116e-05/0.006707, allocations: 24.11 kB / 0.8832 GB, free: 0.9258 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5e-06/0.006712, allocations: 4 kB / 0.8832 GB, free: 0.9219 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.247e-05/0.006724, allocations: 0 / 0.8832 GB, free: 0.9219 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.242e-06/0.00673, allocations: 4 kB / 0.8832 GB, free: 0.918 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.877e-05/0.006789, allocations: 156.6 kB / 0.8833 GB, free: 0.7539 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.218e-05/0.006801, allocations: 12 kB / 0.8833 GB, free: 0.7422 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001321/0.006933, allocations: 109.7 kB / 0.8835 GB, free: 0.6328 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.135e-06/0.006937, allocations: 3.938 kB / 0.8835 GB, free: 0.6289 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.00694, allocations: 0 / 0.8835 GB, free: 0.6289 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.484e-06/0.006942, allocations: 0 / 0.8835 GB, free: 0.6289 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002767/0.007219, allocations: 345.3 kB / 0.8838 GB, free: 256 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.00722, allocations: 4 kB / 0.8838 GB, free: 252 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.331e-05/0.007293, allocations: 19.98 kB / 0.8838 GB, free: 232 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.007296, allocations: 3.938 kB / 0.8838 GB, free: 228 kB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.798e-06/0.007306, allocations: 8 kB / 0.8838 GB, free: 220 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.007308, allocations: 0 / 0.8838 GB, free: 220 kB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.007309, allocations: 0 / 0.8838 GB, free: 220 kB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001815/0.007491, allocations: 256.1 kB / 0.8841 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 7.714e-06/0.007498, allocations: 11.89 kB / 0.8841 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.209e-05/0.00751, allocations: 3.938 kB / 0.8841 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.4e-05/0.007554, allocations: 0 / 0.8841 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.057e-05/0.007575, allocations: 16.02 kB / 0.8841 GB, free: 15.91 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.416e-06/0.007583, allocations: 8 kB / 0.8841 GB, free: 15.91 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 2.954e-05/0.007613, allocations: 119.2 kB / 0.8842 GB, free: 15.79 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.007613, allocations: 0 / 0.8842 GB, free: 15.79 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002023/0.007815, allocations: 39.86 kB / 0.8843 GB, free: 15.75 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (m_flow_comp,der_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 (11): * Single equations (assignments): 11 * 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.0001618/0.007977, allocations: 127.1 kB / 0.8844 GB, free: 15.61 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001162/0.008093, allocations: 59.59 kB / 0.8844 GB, free: 15.55 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/0.008096, allocations: 4 kB / 0.8844 GB, free: 15.55 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 3.017e-05/0.008127, allocations: 35.61 kB / 0.8845 GB, free: 15.51 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001582/0.008285, allocations: 9.719 kB / 0.8845 GB, free: 15.5 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005527/0.008837, allocations: 249.9 kB / 0.8847 GB, free: 15.23 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.537e-05/0.008873, allocations: 59.3 kB / 0.8848 GB, free: 15.15 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.395e-05/0.008907, allocations: 20.02 kB / 0.8848 GB, free: 15.13 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.376e-05/0.00893, allocations: 12.5 kB / 0.8848 GB, free: 15.12 MB / 0.8542 GB Notification: Performance of SimCode: time 9.52e-07/0.008931, allocations: 0 / 0.8848 GB, free: 15.12 MB / 0.8542 GB Notification: Performance of Templates: time 0.002862/0.01179, allocations: 1.03 MB / 0.8858 GB, free: 14.14 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2.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: 5.2411050740629435]