Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00183/0.00183, allocations: 115.5 kB / 18.88 MB, free: 3.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002182/0.002182, allocations: 194.3 kB / 22.17 MB, free: 5.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.475/1.475, allocations: 225.6 MB / 250.9 MB, free: 13.29 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.773/2.773, allocations: 476.7 MB / 0.7645 GB, free: 10.12 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp|dp_comp|der.dp.|der.dp_comp.|err_dp|err_der_dp",fileNamePrefix="Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp|dp_comp|der.dp.|der.dp_comp.|err_dp|err_der_dp",fileNamePrefix="Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00221/0.00221, allocations: 71.89 kB / 1.109 GB, free: 6.551 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.82/0.8222, allocations: 168.7 MB / 1.274 GB, free: 4.566 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.003129/0.8253, allocations: 1.484 MB / 1.276 GB, free: 3.078 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001178/0.8265, allocations: 0.636 MB / 1.276 GB, free: 2.441 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.428e-05/0.8265, allocations: 0 / 1.276 GB, free: 2.441 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.164e-05/0.8266, allocations: 7.938 kB / 1.276 GB, free: 2.434 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.436e-05/0.8266, allocations: 11.92 kB / 1.276 GB, free: 2.422 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005778/0.8272, allocations: 159.4 kB / 1.276 GB, free: 2.266 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 9.882e-05/0.8273, allocations: 55.77 kB / 1.276 GB, free: 2.211 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.658e-05/0.8273, allocations: 4 kB / 1.276 GB, free: 2.207 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 6.381e-05/0.8274, allocations: 19.92 kB / 1.276 GB, free: 2.188 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.382e-05/0.8274, allocations: 23.92 kB / 1.276 GB, free: 2.164 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.55e-05/0.8275, allocations: 8 kB / 1.276 GB, free: 2.156 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005337/0.828, allocations: 351.3 kB / 1.277 GB, free: 1.812 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.995e-05/0.828, allocations: 11.92 kB / 1.277 GB, free: 1.801 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.995e-05/0.8281, allocations: 27.86 kB / 1.277 GB, free: 1.773 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003023/0.8284, allocations: 178.1 kB / 1.277 GB, free: 1.602 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.8284, allocations: 3.938 kB / 1.277 GB, free: 1.598 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.923e-06/0.8284, allocations: 0 / 1.277 GB, free: 1.598 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.8284, allocations: 0 / 1.277 GB, free: 1.598 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0007087/0.8291, allocations: 406.9 kB / 1.277 GB, free: 1.148 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.8291, allocations: 16.02 kB / 1.277 GB, free: 1.133 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.254e-05/0.8292, allocations: 4.938 kB / 1.277 GB, free: 1.129 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001583/0.8293, allocations: 172.2 kB / 1.278 GB, free: 0.9219 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.803e-05/0.8293, allocations: 8.375 kB / 1.278 GB, free: 0.9141 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.75e-05/0.8294, allocations: 4.375 kB / 1.278 GB, free: 0.9102 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002533/0.8296, allocations: 78.22 kB / 1.278 GB, free: 0.8281 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.431e-05/0.8296, allocations: 192 / 1.278 GB, free: 0.8281 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.011e-05/0.8297, allocations: 11.94 kB / 1.278 GB, free: 0.8164 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.8297, allocations: 4 kB / 1.278 GB, free: 0.8125 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002536/0.8299, allocations: 47.95 kB / 1.278 GB, free: 0.7656 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005934/0.8305, allocations: 316.7 kB / 1.278 GB, free: 416 kB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003029/0.8308, allocations: 82.53 kB / 1.278 GB, free: 324 kB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001238/0.8309, allocations: 28.83 kB / 1.278 GB, free: 292 kB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.062e-05/0.831, allocations: 8.141 kB / 1.278 GB, free: 284 kB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.702e-05/0.831, allocations: 30.56 kB / 1.278 GB, free: 244 kB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.223e-06/0.831, allocations: 0 / 1.278 GB, free: 244 kB / 0.9669 GB Notification: Performance of matching and sorting (n=11): time 0.001791/0.8328, allocations: 0.6497 MB / 1.279 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.822e-05/0.8328, allocations: 51.41 kB / 1.279 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.78e-05/0.8329, allocations: 105.8 kB / 1.279 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.416e-05/0.8329, allocations: 33.7 kB / 1.279 GB, free: 15.28 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.93e-05/0.833, allocations: 100 kB / 1.279 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.334e-05/0.833, allocations: 43.64 kB / 1.279 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.657e-05/0.8331, allocations: 21.72 kB / 1.279 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000135/0.8332, allocations: 326.8 kB / 1.279 GB, free: 14.78 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001338/0.8333, allocations: 27.98 kB / 1.279 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001359/0.8335, allocations: 31.97 kB / 1.279 GB, free: 14.72 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002593/0.8337, allocations: 80.08 kB / 1.28 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.8337, allocations: 0 / 1.28 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000324/0.8341, allocations: 121.7 kB / 1.28 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.8341, allocations: 4 kB / 1.28 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/0.8341, allocations: 4 kB / 1.28 GB, free: 14.51 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.817e-05/0.8341, allocations: 0 / 1.28 GB, free: 14.51 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000158/0.8343, allocations: 27.98 kB / 1.28 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.8343, allocations: 0 / 1.28 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.169e-05/0.8343, allocations: 19.92 kB / 1.28 GB, free: 14.46 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.165e-05/0.8344, allocations: 4 kB / 1.28 GB, free: 14.46 MB / 0.9825 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 9.526e-05/0.8345, allocations: 117.8 kB / 1.28 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.001e-05/0.8345, allocations: 0 / 1.28 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004035/0.8349, allocations: 137.9 kB / 1.28 GB, free: 14.19 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.8349, allocations: 0 / 1.28 GB, free: 14.19 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.8349, allocations: 0 / 1.28 GB, free: 14.19 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.8349, allocations: 7.938 kB / 1.28 GB, free: 14.18 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006036/0.8355, allocations: 382.4 kB / 1.28 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.8355, allocations: 0 / 1.28 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001571/0.8357, allocations: 27.98 kB / 1.28 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.8357, allocations: 0 / 1.28 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.425e-05/0.8357, allocations: 7.938 kB / 1.28 GB, free: 13.72 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.8357, allocations: 0 / 1.28 GB, free: 13.72 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.8357, allocations: 0 / 1.28 GB, free: 13.72 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005352/0.8362, allocations: 255.3 kB / 1.281 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.489e-05/0.8363, allocations: 77.11 kB / 1.281 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.189e-05/0.8363, allocations: 11.95 kB / 1.281 GB, free: 13.35 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001197/0.8364, allocations: 4 kB / 1.281 GB, free: 13.34 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.092e-05/0.8364, allocations: 11.98 kB / 1.281 GB, free: 13.33 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.017e-05/0.8364, allocations: 4.062 kB / 1.281 GB, free: 13.33 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.833e-05/0.8365, allocations: 79.28 kB / 1.281 GB, free: 13.25 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.8365, allocations: 0 / 1.281 GB, free: 13.25 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003022/0.8368, allocations: 43.86 kB / 1.281 GB, free: 13.21 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (dp_comp,der_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 (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.0002401/0.837, allocations: 142.4 kB / 1.281 GB, free: 13.06 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003639/0.8374, allocations: 83.81 kB / 1.281 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.8374, allocations: 0 / 1.281 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001432/0.8375, allocations: 43.92 kB / 1.281 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000332/0.8379, allocations: 18.67 kB / 1.281 GB, free: 12.92 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007073/0.8386, allocations: 325.4 kB / 1.281 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003132/0.8389, allocations: 0.6963 MB / 1.282 GB, free: 11.85 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.449e-05/0.8389, allocations: 8.609 kB / 1.282 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.498e-05/0.839, allocations: 15.44 kB / 1.282 GB, free: 11.83 MB / 0.9825 GB Notification: Performance of SimCode: time 3.01e-07/0.839, allocations: 0 / 1.282 GB, free: 11.83 MB / 0.9825 GB Notification: Performance of Templates: time 0.004235/0.8432, allocations: 1.178 MB / 1.283 GB, free: 10.69 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.750637627206743]